Skip to content

Commit

Permalink
Change non-exported variables to lowercase
Browse files Browse the repository at this point in the history
Do so in stage configs

Refs NOAA-EMC#2475
  • Loading branch information
KateFriedman-NOAA committed Aug 6, 2024
1 parent 0527267 commit 00d0a8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions parm/config/gefs/config.stage_ic
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ export STAGE_IC_YAML_TMPL="${PARMgfs}/stage/stage.yaml.j2"

if [[ -z "${ICSDIR}" ]] ; then

IC_VER="20240610"
ic_ver="20240610"

if (( NMEM_ENS > 0 )) ; then
ENSIC="${CASE_ENS}"
ensic="${CASE_ENS}"
fi

if [[ "${DO_OCN:-NO}" == "YES" ]] ; then
OCNIC="mx${OCNRES}"
ocnic="mx${OCNRES}"
fi

export ICSDIR="${BASE_IC}/${CASE}${ENSIC:-}${OCNIC:-}/${IC_VER}"
export ICSDIR="${BASE_IC}/${CASE}${ensic:-}${ocnic:-}/${ic_ver}"

fi

Expand Down
10 changes: 5 additions & 5 deletions parm/config/gfs/config.stage_ic
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ export STAGE_IC_YAML_TMPL="${PARMgfs}/stage/stage.yaml.j2"
# Set ICSDIR (if not defined)
if [[ -z "${ICSDIR}" ]] ; then

IC_VER="20240610"
ic_ver="20240610"

if [[ "${CASE_ENS}" != "@CASEENS@" ]] ; then
ENSIC="${CASE_ENS}"
if (( NMEM_ENS > 0 )) ; then
ensic="${CASE_ENS}"
fi

if [[ "${DO_OCN:-NO}" == "YES" ]] ; then
OCNIC="mx${OCNRES}"
ocnic="mx${OCNRES}"
fi

export ICSDIR="${BASE_IC}/${CASE}${ENSIC:-}${OCNIC:-}/${IC_VER}"
export ICSDIR="${BASE_IC}/${CASE}${ensic:-}${ocnic:-}/${ic_ver}"

fi

Expand Down

0 comments on commit 00d0a8c

Please sign in to comment.