Skip to content

Commit 65cbbeb

Browse files
committedJun 20, 2024·
crtm fix files are mandatory in some post jobs
1 parent 690916c commit 65cbbeb

8 files changed

+19
-4
lines changed
 

‎tests/default_vars.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -440,10 +440,6 @@ export FV3_RUN=control_run.IN
440440
export INPUT_NML=control.nml.IN
441441
export CCPP_SUITE=FV3_GFS_v16
442442

443-
export POST_ITAG=post_itag_gfs
444-
export POSTXCONFIG=postxconfig-NT-gfs.txt
445-
export POSTXCONFIG_FH00=postxconfig-NT-gfs_FH00.txt
446-
447443
export DOGP_CLDOPTICS_LUT=.false.
448444
export DOGP_LWSCAT=.false.
449445
export IAER=111
@@ -497,6 +493,10 @@ export UFS_CONFIGURE=ufs.configure.atm_esmf.IN
497493
export MODEL_CONFIGURE=model_configure.IN
498494
export atm_model=fv3
499495

496+
export POST_ITAG=post_itag_gfs
497+
export POSTXCONFIG=postxconfig-NT-gfs.txt
498+
export POSTXCONFIG_FH00=postxconfig-NT-gfs_FH00.txt
499+
500500
export FV3=true
501501
export S2S=false
502502
export HAFS=false

‎tests/fv3_conf/control_run.IN

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ if [[ $POSTAPP = 'global' ]]; then
126126
cp ${PATHRT}/parm/@[POSTXCONFIG] postxconfig-NT.txt
127127
cp ${PATHRT}/parm/@[POSTXCONFIG_FH00] postxconfig-NT_FH00.txt
128128
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
129+
link_upp_crtm
129130
fi
130131

131132
#rrtmgp

‎tests/fv3_conf/hafs_fv3_run.IN

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if [[ $POSTAPP = 'hafs' ]]; then
5050
cp ${PATHRT}/parm/postxconfig-NT-hafs.txt postxconfig-NT.txt
5151
cp ${PATHRT}/parm/postxconfig-NT-hafs.txt postxconfig-NT_FH00.txt
5252
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
53+
link_upp_crtm
5354
fi
5455

5556
if [ ${CNTL_DIR} = "hafs_regional_storm_following_1nest_atm_ocn_wav_mom6" ]; then

‎tests/fv3_conf/lake_control_run.IN

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ if [[ $POSTAPP = 'global' ]]; then
113113
cp ${PATHRT}/parm/postxconfig-NT-gfs.txt postxconfig-NT.txt
114114
cp ${PATHRT}/parm/postxconfig-NT-gfs_FH00.txt postxconfig-NT_FH00.txt
115115
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
116+
link_upp_crtm
116117
fi
117118

118119
#rrtmgp

‎tests/fv3_conf/regional_run.IN

+1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ if [[ $POSTAPP = 'lam' ]]; then
3535
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
3636
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT_FH00.txt
3737
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
38+
link_upp_crtm
3839
fi

‎tests/fv3_conf/regional_run_stoch.IN

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ if [[ $POSTAPP = 'lam' ]]; then
1010
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
1111
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT_FH00.txt
1212
cp ${PATHRT}/parm/params_grib2_tbl_new params_grib2_tbl_new
13+
link_upp_crtm
1314
fi
1415

1516
if [ $DO_RRTMGP = .true. ]; then

‎tests/fv3_conf/rrfs_warm_run.IN

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ if [ $IMP_PHYSICS = 8 ]; then
5050
fi
5151

5252
cp ${PATHRT}/parm/postxconfig-NT-fv3lam.txt postxconfig-NT.txt
53+
link_upp_crtm
5354

5455
if [ $DO_RRTMGP = .true. ]; then
5556
cp @[INPUTDATA_ROOT]/FV3_input_data_RRTMGP/* .

‎tests/rt_utils.sh

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ ECFLOW_RUNNING=false
1414

1515
jobid=0
1616

17+
function link_upp_crtm() {
18+
# From FV3/upp/sorc/ncep_post.fd/CALRAD_WCLOUD_newcrtm.f CALRAD_WCLOUD sensorlist
19+
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"
20+
21+
for sensor in sensorlist ; do
22+
ln -sf ${CRTM_FIX}/*${sensor}* .
23+
done
24+
}
25+
1726
function compute_petbounds_and_tasks() {
1827

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

0 commit comments

Comments
 (0)
Please sign in to comment.