Skip to content

Commit

Permalink
crtm fix files are mandatory in some post jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelTrahanNOAA committed Jun 20, 2024
1 parent 690916c commit 65cbbeb
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,6 @@ export FV3_RUN=control_run.IN
export INPUT_NML=control.nml.IN
export CCPP_SUITE=FV3_GFS_v16

export POST_ITAG=post_itag_gfs
export POSTXCONFIG=postxconfig-NT-gfs.txt
export POSTXCONFIG_FH00=postxconfig-NT-gfs_FH00.txt

export DOGP_CLDOPTICS_LUT=.false.
export DOGP_LWSCAT=.false.
export IAER=111
Expand Down Expand Up @@ -497,6 +493,10 @@ export UFS_CONFIGURE=ufs.configure.atm_esmf.IN
export MODEL_CONFIGURE=model_configure.IN
export atm_model=fv3

export POST_ITAG=post_itag_gfs
export POSTXCONFIG=postxconfig-NT-gfs.txt
export POSTXCONFIG_FH00=postxconfig-NT-gfs_FH00.txt

export FV3=true
export S2S=false
export HAFS=false
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ if [[ $POSTAPP = 'global' ]]; then
cp ${PATHRT}/parm/@[POSTXCONFIG] postxconfig-NT.txt
cp ${PATHRT}/parm/@[POSTXCONFIG_FH00] postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
link_upp_crtm
fi

#rrtmgp
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/hafs_fv3_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ if [[ $POSTAPP = 'hafs' ]]; then
cp ${PATHRT}/parm/postxconfig-NT-hafs.txt postxconfig-NT.txt
cp ${PATHRT}/parm/postxconfig-NT-hafs.txt postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
link_upp_crtm
fi

if [ ${CNTL_DIR} = "hafs_regional_storm_following_1nest_atm_ocn_wav_mom6" ]; then
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/lake_control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ if [[ $POSTAPP = 'global' ]]; then
cp ${PATHRT}/parm/postxconfig-NT-gfs.txt postxconfig-NT.txt
cp ${PATHRT}/parm/postxconfig-NT-gfs_FH00.txt postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
link_upp_crtm
fi

#rrtmgp
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/regional_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ if [[ $POSTAPP = 'lam' ]]; then
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
link_upp_crtm
fi
1 change: 1 addition & 0 deletions tests/fv3_conf/regional_run_stoch.IN
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [[ $POSTAPP = 'lam' ]]; then
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT_FH00.txt
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
link_upp_crtm
fi

if [ $DO_RRTMGP = .true. ]; then
Expand Down
1 change: 1 addition & 0 deletions tests/fv3_conf/rrfs_warm_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ if [ $IMP_PHYSICS = 8 ]; then
fi

cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
link_upp_crtm

if [ $DO_RRTMGP = .true. ]; then
cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* .
Expand Down
9 changes: 9 additions & 0 deletions tests/rt_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ ECFLOW_RUNNING=false

jobid=0

function link_upp_crtm() {
# From FV3/upp/sorc/ncep_post.fd/CALRAD_WCLOUD_newcrtm.f CALRAD_WCLOUD sensorlist
sensorlist="imgr_g15 imgr_g13 imgr_g12 imgr_g11 amsre_aqua tmi_trmm ssmi_f13 ssmi_f14 ssmi_f15 ssmis_f16 ssmis_f17 ssmis_f18 ssmis_f19 ssmis_f20 seviri_m10 imgr_mt2 imgr_mt1r imgr_insat3d abi_gr abi_g16 abi_g17 abi_g18 ahi_himawari8"

for sensor in sensorlist ; do
ln -sf ${CRTM_FIX}/*${sensor}* .
done
}

function compute_petbounds_and_tasks() {

# each test MUST define ${COMPONENT}_tasks variable for all components it is using
Expand Down

0 comments on commit 65cbbeb

Please sign in to comment.