Skip to content

Commit

Permalink
Add new standard variable PACKAGEROOT.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed Feb 21, 2024
1 parent 97b765e commit 733996b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
5 changes: 2 additions & 3 deletions ush/emcsfc_ice_blend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ cd $DATA
# copy output ice blend data to com?
SENDCOM=${SENDCOM:-"NO"}

envir=${envir:-"prod"}

HOMEgfs=${HOMEgfs:-/nw${envir}/gfs.${gfs_ver:?}}
PACKAGEROOT=${PACKAGEROOT:-/lfs/h1/ops/prod/packages}
HOMEgfs=${HOMEgfs:-$PACKAGEROOT/gfs.${gfs_ver:?}}
EXECgfs=${EXECgfs:-$HOMEgfs/exec}
FIXgfs=${FIXgfs:-$HOMEgfs/fix}

Expand Down
4 changes: 2 additions & 2 deletions ush/emcsfc_snow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ fi
# Path names
#------------------------------------------------------------------------

envir=${envir:-"prod"}
HOMEgfs=${HOMEgfs:-/nw${envir}/gfs.${gfs_ver:?}}
PACKAGEROOT=${PACKAGEROOT:-/lfs/h1/ops/prod/packages}
HOMEgfs=${HOMEgfs:-$PACKAGEROOT/gfs.${gfs_ver:?}}
EXECgfs=${EXECgfs:-$HOMEgfs/exec}
FIXgfs=${FIXgfs:-$HOMEgfs/fix}

Expand Down
8 changes: 4 additions & 4 deletions ush/global_cycle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
# j-dimension of the model grid. Computed from CASE by default.
# OCNRES Ocean grid resolution. '100' is one degree.
# HOMEgfs Directory for gfs. Default is
# nwprod/gfs.v15.0.0.
# envir Environment - i.e., 'prod' or 'para'. Default is 'prod'.
# PACKAGEROOT/gfs.v15.0.0.
# PACKAGEROOT Location of gfs package.
# FIXgfs Directory for fixed data. Default is $HOMEgfs/fix.
# EXECgfs Directory of the program executable. Defaults to
# $HOMEgfs/exec
Expand Down Expand Up @@ -227,8 +227,8 @@ OCNRES=${OCNRES:-100}

# Directories.
gfs_ver=${gfs_ver:-v15.0.0}
envir=${envir:-prod}
HOMEgfs=${HOMEgfs:-/nw${envir}/gfs_ver.${gfs_ver}}
PACKAGEROOT=${PACKAGEROOT:-/lfs/h1/ops/prod/packages}
HOMEgfs=${HOMEgfs:-${PACKAGEROOT}/gfs_ver.${gfs_ver}}
EXECgfs=${EXECgfs:-$HOMEgfs/exec}
FIXgfs=${FIXgfs:-$HOMEgfs/fix}
DATA=${DATA:-$(pwd)}
Expand Down
4 changes: 2 additions & 2 deletions ush/global_cycle_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export COMPONENT=${COMPONENT:-atmos}

pwd=$(pwd)
export DMPDIR=${DMPDIR:-$pwd}
export envir=${envir:-prod}
export PACKAGEROOT=${PACKAGEROOT:-/lfs/h1/ops/prod/packages}
export gfs_ver=${gfs_ver:-v15.0.0}
export HOMEgfs=${HOMEgfs:-/nw${envir}/gfs.${gfs_ver}}
export HOMEgfs=${HOMEgfs:-${PACKAGEROOT}/gfs.${gfs_ver}}
export FIXgfs=${FIXgfs:-$HOMEgfs/fix}

ntiles=${ntiles:-6}
Expand Down

0 comments on commit 733996b

Please sign in to comment.