Skip to content

Commit

Permalink
Update link_fixdirs.sh to point to v16.3.0 fixed files.
Browse files Browse the repository at this point in the history
Remove references to wcoss1.

Fixes #694.
  • Loading branch information
GeorgeGayno-NOAA committed Sep 12, 2022
1 parent 8313030 commit 34ff043
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions sorc/link_fixdirs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ machine=${2}
if [ $# -lt 2 ]; then
set +x
echo '***ERROR*** must specify two arguements: (1) RUN_ENVIR, (2) machine'
echo ' Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | cray | dell | hera | jet | orion )'
echo ' Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | hera | jet | orion )'
exit 1
fi

if [ $RUN_ENVIR != emc -a $RUN_ENVIR != nco ]; then
set +x
echo '***ERROR*** unsupported run environment'
echo 'Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | cray | dell | hera | jet | orion )'
echo 'Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | hera | jet | orion )'
exit 1
fi
if [ $machine != cray -a $machine != hera -a $machine != dell -a $machine != jet -a $machine != orion -a $machine != wcoss2 ]; then
if [ $machine != hera -a $machine != jet -a $machine != orion -a $machine != wcoss2 ]; then
set +x
echo '***ERROR*** unsupported machine'
echo 'Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | cray | dell | hera | jet | orion )'
echo 'Syntax: link_fv3gfs.sh ( nco | emc ) ( wcoss2 | hera | jet | orion )'
exit 1
fi

Expand All @@ -35,18 +35,14 @@ pwd=$(pwd -P)
#------------------------------
#--model fix fields
#------------------------------
if [ $machine == "cray" ]; then
FIX_DIR="/gpfs/hps3/emc/global/noscrub/emc.glopara/git/fv3gfs/fix_nco_gfsv16"
elif [ $machine = "dell" ]; then
FIX_DIR="/gpfs/dell2/emc/modeling/noscrub/emc.glopara/git/fv3gfs/fix_nco_gfsv16"
elif [ $machine = "hera" ]; then
FIX_DIR="/scratch1/NCEPDEV/global/glopara/fix_nco_gfsv16"
if [ $machine = "hera" ]; then
FIX_DIR="/scratch1/NCEPDEV/global/glopara/fix_nco_gfsv16.3.0"
elif [ $machine = "jet" ]; then
FIX_DIR="/lfs4/HFIP/hfv3gfs/glopara/git/fv3gfs/fix_nco_gfsv16"
elif [ $machine = "wcoss2" ]; then
FIX_DIR="/lfs/h2/emc/global/save/emc.global/FIX/fix_nco_gfsv16"
FIX_DIR="/lfs/h2/emc/global/save/emc.global/FIX/fix_nco_gfsv16.3.0"
elif [ $machine = "orion" ]; then
FIX_DIR="/work/noaa/global/glopara/fix_nco_gfsv16"
FIX_DIR="/work/noaa/global/glopara/fix_nco_gfsv16.3.0"
fi
[[ $RUN_ENVIR = nco ]] && FIX_DIR=../../../fix

Expand Down

0 comments on commit 34ff043

Please sign in to comment.