Skip to content

Commit

Permalink
Bug fixes for Jet (ufs-community#981)
Browse files Browse the repository at this point in the history
A few scripts had the incorrect path for the 'fixed' files. The 'fixed' file
directories were recently moved for the /lfs4 to /lfs5 transition.

Also replaced the hardwired definitions of COPYGB, COPYGB2 and CNVGRIB
in the ice_blend regression test script by loading the grib-util module.

Fixes ufs-community#977.
  • Loading branch information
GeorgeGayno-NOAA authored Sep 11, 2024
1 parent 06eec5b commit a3237fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion fix/link_fixdirs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pwd=$(pwd -P)
if [ $machine = "hera" ]; then
FIX_DIR="/scratch1/NCEPDEV/global/glopara/fix"
elif [ $machine = "jet" ]; then
FIX_DIR="/lfs5/HFIP/hfv3gfs/glopara/git_lfs4/fv3gfs/fix"
FIX_DIR="/lfs5/HFIP/hfv3gfs/glopara/FIX/fix"
elif [ $machine = "orion" -o $machine = "hercules" ]; then
FIX_DIR="/work/noaa/global/glopara/fix"
elif [ $machine = "wcoss2" ]; then
Expand Down
2 changes: 1 addition & 1 deletion reg_tests/cpld_gridgen/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ elif [[ $target = hercules ]]; then
SBATCH_COMMAND="./cpld_gridgen.sh"
elif [[ $target = jet ]]; then
STMP=${STMP:-/lfs5/HFIP/h-nems/$USER}
export MOM6_FIXDIR=/lfs5/HFIP/hfv3gfs/glopara/git_lfs4/fv3gfs/fix/mom6/20220805
export MOM6_FIXDIR=/lfs5/HFIP/hfv3gfs/glopara/FIX/fix/mom6/20220805
BASELINE_ROOT=/lfs5/HFIP/hfv3gfs/emc.nemspara/role.ufsutils/ufs_utils/reg_tests/cpld_gridgen/baseline_data
ACCOUNT=${ACCOUNT:-h-nems}
QUEUE=${QUEUE:-batch}
Expand Down
4 changes: 1 addition & 3 deletions reg_tests/ice_blend/driver.jet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ source ../../sorc/machine-setup.sh > /dev/null 2>&1
module use ../../modulefiles
module load build.$target.intel
module load wgrib2/2.0.8
module load grib-util/1.3.0
set +x
module list
set -x
Expand All @@ -51,9 +52,6 @@ if [ "$UPDATE_BASELINE" = "TRUE" ]; then
fi

export WGRIB=/apps/wgrib/1.8.1.0b/bin/wgrib
export COPYGB=/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-74mdurc/bin/copygb
export COPYGB2=/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-74mdurc/bin/copygb2
export CNVGRIB=/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env-rocky8/install/intel/2021.5.0/grib-util-1.3.0-74mdurc/bin/cnvgrib

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

Expand Down
2 changes: 1 addition & 1 deletion util/gdas_init/set_fixed_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if [ "$machine" = 'hera' ] ; then
elif [ "$machine" = 'wcoss2' ] ; then
FIX_ORO_INPUT=/lfs/h2/emc/global/noscrub/emc.global/FIX/fix/orog/20230615
elif [ "$machine" = 'jet' ] ; then
FIX_ORO_INPUT=/lfs5/HFIP/hfv3gfs/glopara/git_lfs4/fv3gfs/fix/orog/20230615
FIX_ORO_INPUT=/lfs5/HFIP/hfv3gfs/glopara/FIX/fix/orog/20230615
elif [ "$machine" = 's4' ] ; then
FIX_ORO_INPUT=/data/prod/glopara/fix/orog/20230615
else
Expand Down

0 comments on commit a3237fb

Please sign in to comment.