Skip to content

Commit

Permalink
Add option for fv3gfs_aqm to run_post (#585)
Browse files Browse the repository at this point in the history
* Add option for fv3gfs_aqm

* Change parameter name
  • Loading branch information
chan-hoo authored Sep 23, 2021
1 parent 756f328 commit 9d7cd6f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions scripts/exregional_run_post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ to the temporary work directory (tmp_dir):
tmp_dir = \"${tmp_dir}\"
===================================================================="
else
post_config_fp="${UPP_DIR}/parm/postxconfig-NT-fv3lam.txt"
if [ ${FCST_MODEL} = "fv3gfs_aqm" ]; then
post_config_fp="${UPP_DIR}/parm/postxconfig-NT-fv3lam_cmaq.txt"
else
post_config_fp="${UPP_DIR}/parm/postxconfig-NT-fv3lam.txt"
fi
print_info_msg "
====================================================================
Copying the default post flat file specified by post_config_fp to the
Expand Down Expand Up @@ -260,6 +264,11 @@ post_mn=${post_time:10:2}
#
# Create the input text file to the post-processor executable.
#
if [ ${FCST_MODEL} = "fv3gfs_aqm" ]; then
post_itag_add="aqfcmaq_on=.true.,"
else
post_itag_add=""
fi
cat > itag <<EOF
${dyn_file}
netcdf
Expand All @@ -269,7 +278,7 @@ FV3R
${phy_file}
&NAMPGB
KPO=47,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,30.,20.,10.,7.,5.,3.,2.,1.,
KPO=47,PO=1000.,975.,950.,925.,900.,875.,850.,825.,800.,775.,750.,725.,700.,675.,650.,625.,600.,575.,550.,525.,500.,475.,450.,425.,400.,375.,350.,325.,300.,275.,250.,225.,200.,175.,150.,125.,100.,70.,50.,30.,20.,10.,7.,5.,3.,2.,1.,${post_itag_add}
/
EOF
#
Expand Down

0 comments on commit 9d7cd6f

Please sign in to comment.