Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions reg_tests/global_cycle/C192.gsitile_lndincsoilnoahmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ NCCMP=${NCCMP:-$(which nccmp)}

export MAX_TASKS_CY=6

export HOMEgfs=$NWPROD
export HOMEglobal=$NWPROD

export FIXgfs=$HOMEreg/fix
export FIXglobal=$HOMEreg/fix

export CYCLEXEC=$HOMEgfs/exec/global_cycle
export CYCLEXEC=$HOMEglobal/exec/global_cycle

export CDATE=2019073000
export FHOUR=00
Expand Down Expand Up @@ -46,7 +46,7 @@ export CYCLVARS=FSNOL=-2.,FSNOS=99999.,
export PGMOUT='out'
export PGMERR='err'

$HOMEgfs/ush/global_cycle_driver.sh
$HOMEglobal/ush/global_cycle_driver.sh

iret=$?

Expand Down Expand Up @@ -82,7 +82,7 @@ if [ $test_failed -ne 0 ]; then
echo "<<< C192 GSI-TILE based LANDINC SOIL-NOAHMP CYCLE TEST FAILED. >>>"
echo "**********************************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "c192.gsitile_lndincsoilnoahmp" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "c192.gsitile_lndincsoilnoahmp" $commit_num
fi
else
echo
Expand Down
10 changes: 5 additions & 5 deletions reg_tests/global_cycle/C192.jedi_lndincsoilnoahmp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ NCCMP=${NCCMP:-$(which nccmp)}

export MAX_TASKS_CY=6

export HOMEgfs=$NWPROD
export HOMEglobal=$NWPROD

export FIXgfs=$HOMEreg/fix
export FIXglobal=$HOMEreg/fix

export CYCLEXEC=$HOMEgfs/exec/global_cycle
export CYCLEXEC=$HOMEglobal/exec/global_cycle

export CDATE=2019073000
export FHOUR=00
Expand Down Expand Up @@ -49,7 +49,7 @@ export CYCLVARS=FSNOL=-2.,FSNOS=99999.,
export PGMOUT='out'
export PGMERR='err'

$HOMEgfs/ush/global_cycle_driver.sh
$HOMEglobal/ush/global_cycle_driver.sh

iret=$?

Expand Down Expand Up @@ -85,7 +85,7 @@ if [ $test_failed -ne 0 ]; then
echo "<<< C192 JEDI based LANDINC SOIL-NOAHMP CYCLE TEST FAILED. >>>"
echo "**********************************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "c192.jedi_lndincsoilnoahmp" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "c192.jedi_lndincsoilnoahmp" $commit_num
fi
else
echo
Expand Down
10 changes: 5 additions & 5 deletions reg_tests/global_cycle/C48.noahmp.coupled.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ NCCMP=${NCCMP:-$(which nccmp)}

export MAX_TASKS_CY=6

export HOMEgfs=$NWPROD
export HOMEglobal=$NWPROD

export CYCLEXEC=$HOMEgfs/exec/global_cycle
export CYCLEXEC=$HOMEglobal/exec/global_cycle

export CDATE=2021032406
export FHOUR=00
Expand All @@ -35,7 +35,7 @@ export JCAP=1534
export LONB=3072
export LATB=1536

export FNAISC=$HOMEgfs/fix/am/IMS-NIC.blended.ice.monthly.clim.grb
export FNAISC=$HOMEglobal/fix/am/IMS-NIC.blended.ice.monthly.clim.grb

export DONST="YES"
export use_ufo=.true.
Expand All @@ -48,7 +48,7 @@ export CYCLVARS=FSNOL=99999.,FSNOS=99999.,
export PGMOUT='out'
export PGMERR='err'

$HOMEgfs/ush/global_cycle_driver.sh
$HOMEglobal/ush/global_cycle_driver.sh

iret=$?

Expand Down Expand Up @@ -84,7 +84,7 @@ if [ $test_failed -ne 0 ]; then
echo "<<< C48 NOAHMP COUPLED GRID TEST FAILED. >>>"
echo "******************************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "c48.noahmp.coupled" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "c48.noahmp.coupled" $commit_num
fi
else
echo
Expand Down
48 changes: 24 additions & 24 deletions reg_tests/global_cycle/C768.fv3gfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ NCCMP=${NCCMP:-$(which nccmp)}

export MAX_TASKS_CY=6

export HOMEgfs=$NWPROD
export HOMEglobal=$NWPROD

export CYCLEXEC=$HOMEgfs/exec/global_cycle
export CYCLEXEC=$HOMEglobal/exec/global_cycle

export FIXgfs=$HOMEreg/fix
export FIXglobal=$HOMEreg/fix

export CDATE=2019073000
export FHOUR=00
Expand All @@ -34,25 +34,25 @@ export JCAP=1534
export LONB=3072
export LATB=1536

export FNALBC2=$HOMEgfs/fix/am/global_albedo4.1x1.grb
export FNALBC=$HOMEgfs/fix/am/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb
export FNALBC=$HOMEgfs/fix/am/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb
export FNTG3C=$HOMEgfs/fix/am/global_tg3clim.2.6x1.5.grb
export FNVETC=$HOMEgfs/fix/am/global_vegtype.igbp.t1534.3072.1536.rg.grb
export FNSOTC=$HOMEgfs/fix/am/global_soiltype.statsgo.t1534.3072.1536.rg.grb
export FNVEGC=$HOMEgfs/fix/am/global_vegfrac.0.144.decpercent.grb
export FNVMNC=$HOMEgfs/fix/am/global_shdmin.0.144x0.144.grb
export FNVMXC=$HOMEgfs/fix/am/global_shdmax.0.144x0.144.grb
export FNSLPC=$HOMEgfs/fix/am/global_slope.1x1.grb
export FNABSC=$HOMEgfs/fix/am/global_mxsnoalb.uariz.t1534.3072.1536.rg.grb
export FNAISC=$HOMEgfs/fix/am/CFSR.SEAICE.1982.2012.monthly.clim.grb
export FNMSKH=$HOMEgfs/fix/am/global_slmask.t1534.3072.1536.grb
export FNGLAC=$HOMEgfs/fix/am/global_glacier.2x2.grb
export FNMXIC=$HOMEgfs/fix/am/global_maxice.2x2.grb
export FNTSFC=$HOMEgfs/fix/am/RTGSST.1982.2012.monthly.clim.grb
export FNSALC=$HOMEgfs/fix/am/global_salclm.t1534.3072.1536.nc
export FNSNOC=$HOMEgfs/fix/am/global_snoclim.1.875.grb
export FNSMCC=$HOMEgfs/fix/am/global_soilmgldas.statsgo.t1534.3072.1536.grb
export FNALBC2=$HOMEglobal/fix/am/global_albedo4.1x1.grb
export FNALBC=$HOMEglobal/fix/am/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb
export FNALBC=$HOMEglobal/fix/am/global_snowfree_albedo.bosu.t1534.3072.1536.rg.grb
export FNTG3C=$HOMEglobal/fix/am/global_tg3clim.2.6x1.5.grb
export FNVETC=$HOMEglobal/fix/am/global_vegtype.igbp.t1534.3072.1536.rg.grb
export FNSOTC=$HOMEglobal/fix/am/global_soiltype.statsgo.t1534.3072.1536.rg.grb
export FNVEGC=$HOMEglobal/fix/am/global_vegfrac.0.144.decpercent.grb
export FNVMNC=$HOMEglobal/fix/am/global_shdmin.0.144x0.144.grb
export FNVMXC=$HOMEglobal/fix/am/global_shdmax.0.144x0.144.grb
export FNSLPC=$HOMEglobal/fix/am/global_slope.1x1.grb
export FNABSC=$HOMEglobal/fix/am/global_mxsnoalb.uariz.t1534.3072.1536.rg.grb
export FNAISC=$HOMEglobal/fix/am/CFSR.SEAICE.1982.2012.monthly.clim.grb
export FNMSKH=$HOMEglobal/fix/am/global_slmask.t1534.3072.1536.grb
export FNGLAC=$HOMEglobal/fix/am/global_glacier.2x2.grb
export FNMXIC=$HOMEglobal/fix/am/global_maxice.2x2.grb
export FNTSFC=$HOMEglobal/fix/am/RTGSST.1982.2012.monthly.clim.grb
export FNSALC=$HOMEglobal/fix/am/global_salclm.t1534.3072.1536.nc
export FNSNOC=$HOMEglobal/fix/am/global_snoclim.1.875.grb
export FNSMCC=$HOMEglobal/fix/am/global_soilmgldas.statsgo.t1534.3072.1536.grb

export DONST="YES"
export use_ufo=.true.
Expand All @@ -63,7 +63,7 @@ export CYCLVARS=FSNOL=-2.,FSNOS=99999.,
export PGMOUT='out'
export PGMERR='err'

$HOMEgfs/ush/global_cycle_driver.sh
$HOMEglobal/ush/global_cycle_driver.sh

iret=$?

Expand Down Expand Up @@ -99,7 +99,7 @@ if [ $test_failed -ne 0 ]; then
echo "<<< C768 GLOBAL CYCLE TEST FAILED. >>>"
echo "*********************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "c768.fv3gfs" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "c768.fv3gfs" $commit_num
fi
else
echo
Expand Down
10 changes: 5 additions & 5 deletions reg_tests/global_cycle/C768.lndincsnow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ NCCMP=${NCCMP:-$(which nccmp)}

export MAX_TASKS_CY=6

export HOMEgfs=$NWPROD
export HOMEglobal=$NWPROD

export FIXgfs=$HOMEreg/fix
export FIXglobal=$HOMEreg/fix

export CYCLEXEC=$HOMEgfs/exec/global_cycle
export CYCLEXEC=$HOMEglobal/exec/global_cycle

export CDATE=2019073000
export FHOUR=00
Expand Down Expand Up @@ -47,7 +47,7 @@ export CYCLVARS=FSNOL=99999.,FSNOS=99999.,
export PGMOUT='out'
export PGMERR='err'

$HOMEgfs/ush/global_cycle_driver.sh
$HOMEglobal/ush/global_cycle_driver.sh

iret=$?

Expand Down Expand Up @@ -83,7 +83,7 @@ if [ $test_failed -ne 0 ]; then
echo "<<< C768 LANDINC SNOW CYCLE TEST FAILED. >>>"
echo "****************************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "c768.lndincsnow" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "c768.lndincsnow" $commit_num
fi
else
echo
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/ice_blend/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/ice_blend
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

./ice_blend.sh

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/ice_blend/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export WGRIB=/apps/wgrib/1.8.1.0b/bin/wgrib

export HOMEreg=/lfs5/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/ice_blend

export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

./ice_blend.sh

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/ice_blend/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/reg_tests/ice_blend
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

./ice_blend.sh

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/ice_blend/driver.ursa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/scratch3/NCEPDEV/nems/role.ufsutils/ufs_utils/reg_tests/ice_blend
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

./ice_blend.sh

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/ice_blend/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/ice_blend
export HOMEgfs=$PBS_O_WORKDIR/../..
export HOMEglobal=$PBS_O_WORKDIR/../..

./ice_blend.sh

Expand Down
12 changes: 6 additions & 6 deletions reg_tests/ice_blend/ice_blend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ grid173="0 0 0 0 0 0 0 0 4320 2160 0 0 89958000 42000 48 -89958000 359958000 830
$COPYGB2 -x -i3 -g "$grid173" ims.icec.grib2 ims.icec.5min.grib2

FIVE_MIN_ICE_FILE=${HOMEreg}/input_data/seaice.5min.grib2.gdas.2018120618
FIVE_MIN_ICE_MASK_FILE=${HOMEgfs}/fix/am/emcsfc_gland5min.grib2
FIVE_MIN_ICE_MASK_FILE=${HOMEglobal}/fix/am/emcsfc_gland5min.grib2
BLENDED_ICE_FILE="seaice.5min.blend"

# These are input files.
Expand All @@ -33,13 +33,13 @@ export FORT15="$FIVE_MIN_ICE_FILE"
export FORT51=${BLENDED_ICE_FILE}

# Run the emcsfc_ice_blend executable.
${HOMEgfs}/exec/emcsfc_ice_blend >> OUTPUT 2> errfile
${HOMEglobal}/exec/emcsfc_ice_blend >> OUTPUT 2> errfile
iret=$?

if [ $iret -ne 0 ]; then
set +x
echo "<<< ICE_BLEND TEST FAILED. <<<"
echo "<<< ICE_BLEND TEST FAILED. <<<" > ${HOMEgfs}/reg_tests/ice_blend/summary.log
echo "<<< ICE_BLEND TEST FAILED. <<<" > ${HOMEglobal}/reg_tests/ice_blend/summary.log
exit $iret
else
# Follow the OPS procedure by converting the output to grib1 and replace the
Expand All @@ -63,16 +63,16 @@ if [ $test_failed -ne 0 ]; then
echo "*********************************"
echo "<<< ICE BLEND TEST FAILED. >>>"
echo "*********************************"
echo "<<< ICE BLEND TEST FAILED. >>>" > ${HOMEgfs}/reg_tests/ice_blend/summary.log
echo "<<< ICE BLEND TEST FAILED. >>>" > ${HOMEglobal}/reg_tests/ice_blend/summary.log
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
${HOMEgfs}/reg_tests/update_baseline.sh $HOMEreg "t1534" $commit_num
${HOMEglobal}/reg_tests/update_baseline.sh $HOMEreg "t1534" $commit_num
fi
else
echo
echo "*********************************"
echo "<<< ICE BLEND TEST PASSED. >>>"
echo "*********************************"
echo "<<< ICE BLEND TEST PASSED. >>>" > ${HOMEgfs}/reg_tests/ice_blend/summary.log
echo "<<< ICE BLEND TEST PASSED. >>>" > ${HOMEglobal}/reg_tests/ice_blend/summary.log
fi

exit 0
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.hercules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rm -fr $DATA_ROOT
export OMP_NUM_THREADS=1

export HOMEreg=/work/noaa/nems/role-nems/ufs_utils.hercules/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

# The first test uses the hemispheric air force/afwa data, which was used in OPS.

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/lfs5/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

rm -fr $DATA_ROOT

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.orion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export OMP_NUM_THREADS=1
rm -fr $DATA_ROOT

export HOMEreg=/work/noaa/nems/role-nems/ufs_utils/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

# The first test uses the hemispheric afwa/air force data, which was used in OPS.

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.ursa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/scratch3/NCEPDEV/nems/role.ufsutils/ufs_utils/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

# The first test uses hemispheric afwa/airforce data, as was done in OPS.

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/snow2mdl/driver.wcoss2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export HOMEreg=/lfs/h2/emc/nems/noscrub/emc.nems/UFS_UTILS/reg_tests/snow2mdl
export HOMEgfs=$PWD/../..
export HOMEglobal=$PWD/../..

LOG_FILE=consistency.log
SUM_FILE=summary.log
Expand Down
10 changes: 5 additions & 5 deletions reg_tests/snow2mdl/snow2mdl.global.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ echo "BEGIN SNOW2MDL GLOBAL TEST."

set -x

HOMEush="${HOMEgfs}/ush"
HOMEparm="${HOMEgfs}/parm"
HOMEexec="${HOMEgfs}/exec"
HOMEfix="${HOMEgfs}/fix/am"
HOMEush="${HOMEglobal}/ush"
HOMEparm="${HOMEglobal}/parm"
HOMEexec="${HOMEglobal}/exec"
HOMEfix="${HOMEglobal}/fix/am"

source "${HOMEush}/atparse.bash" # include function atparse for parsing @[XYZ] templated files

Expand Down Expand Up @@ -73,7 +73,7 @@ if [ $test_failed -ne 0 ]; then
echo "*********************************"
if [ "$UPDATE_BASELINE" = "TRUE" ]; then
cd $DATA
$HOMEgfs/reg_tests/update_baseline.sh $HOMEreg "t1534.global" $commit_num
$HOMEglobal/reg_tests/update_baseline.sh $HOMEreg "t1534.global" $commit_num
fi
else
echo
Expand Down
Loading
Loading