Skip to content

Commit

Permalink
Add ICSDIR setting to stage configs
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed Jun 14, 2024
1 parent f9e3a9c commit 81d070c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions parm/config/gefs/config.stage_ic
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ case "${CASE}" in
;;
esac

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

export ICSDIR="${BASE_IC}/${CPL_ATMIC}"

fi

echo "END: config.stage_ic"
18 changes: 18 additions & 0 deletions parm/config/gfs/config.stage_ic
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,22 @@ if [[ "${DO_NEST:-NO}" == "YES" ]] ; then
export CPL_ATMIC="GLOBAL-NEST_${CASE}"
fi

# Set ICSDIR

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

IC_VER="20240610"

if [[ "${CASE_ENS}" != "@CASEENS@" ]] ; then
ENSIC="${CASE_ENS}"
fi

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

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

fi

echo "END: config.stage_ic"

0 comments on commit 81d070c

Please sign in to comment.