Changeset 4454


Ignore:
Timestamp:
Mar 11, 2020 11:47:22 AM (5 years ago)
Author:
forkel
Message:

Updated Readme_KPP4PALM.odt and comments in run_kpp4palm.sh, set dedault in kpp4palm.sh to phstatp

Location:
palm/trunk/UTIL/chemistry/gasphase_preproc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/chemistry/gasphase_preproc/kpp4palm/bin/kpp4palm.sh

    r4451 r4454  
    4040# -----------------
    4141# $Id$
     42# Changed default mechanism from smog to phstatp
     43#
     44#
     45# 4451 2020-03-10 07:25:32Z raasch
    4246# rename kpp4palm.ksh to kpp4palm.sh, convert to bash
    4347#
     
    104108# Default
    105109
    106 MECH=smog
     110MECH=phstatp
    107111OUTDIR=`pwd`/../../../SOURCE
    108112OUTFILE=chem_gasphase_mod
    109 DEFDIR=`pwd`/mechanisms/def_smog
     113DEFDIR=`pwd`/mechanisms/def_phastatp
    110114PREFIX=chem_gasphase_mod
    111115MODE="scalar"
  • palm/trunk/UTIL/chemistry/gasphase_preproc/run_kpp4palm.sh

    r4451 r4454  
    2929# -----------------
    3030# $Id$
     31# updated some comments
     32#
     33#
     34# 4451 2020-03-10 07:25:32Z raasch
    3135# rename run_kpp4palm.ksh to run_kpp4palm.sh, convert to bash
    3236# default mechanism changed to phstatp
     
    8387cd ..
    8488
    85 # run kpp4palm/bin/kpp4palm.sh with the following Setup
    86 #    -d   DEFDIR=$OPTARG;;          # directory of definition files
    87 #                                     (passed as `pwd`/mechanisms/def_$MECH)
    88 #    -m   MECH="smog";;             # chemical mechanism
    89 #                                     (smog, simple, simplep, cbm4, phstat, passive, passive1)
     89# run kpp4palm/bin/kpp4palm.sh with the following arguments
     90#
     91#    -m   MECH="phstatp";;          # chemical mechanism
     92#                                     (phstat, phstatp, smog, simple,cbm4, etc, see directory mechanisms)
    9093#    -i   DE_INDEX=2;;              # deindexing method (0,1,2,3; 0=no deindexing)
    9194#    -v   MODE="-v";;               # vector mode on (not working completely yet)
     
    9598#                                   # Use "YES" with care as the existing sample file is overwritten
    9699#
    97 ##   Further options (not passed as changing does not make sense to change these)
     100##   Further options (currently not passed as changing does not make sense to change these)
    98101##    -f   DE_INDEX_FAST="YES";;     # if set, fast deindexing
    99102##    -o   OUTDIR=$OPTARG;;          # Output directory of Generated Code
     
    104107 
    105108echo $PATH
    106 # use phstatp (photo-stationary) mechnism as default
     109# use phstatp (photo-stationary) mechanism as default
    107110MECH=phstatp
    108111DEIN=2
     
    131134echo Now do kpp4palm for $MECH
    132135
    133 # kpp4palm.sh -d `pwd`/mechanisms/def_$MECH -i $DEIN $KEEP $UPDT $MODE -l $VLEN
    134136kpp4palm.sh -m $MECH -i $DEIN $KEEP $UPDT $MODE -l $VLEN
Note: See TracChangeset for help on using the changeset viewer.