Skip to content

Commit

Permalink
Add COM variables exports in JGLOBAL_STAGE_IC
Browse files Browse the repository at this point in the history
  • Loading branch information
KateFriedman-NOAA committed May 22, 2024
1 parent 606c34a commit 0176d2e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jobs/JGLOBAL_STAGE_IC
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,22 @@ gcyc="${GDATE:8:2}"
if [[ ${EXP_WARM_START:-".false."} = ".true." ]]; then
RUN=${rCDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_ATMOS_RESTART_PREV:COM_ATMOS_RESTART_TMPL
RUN=${rCDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_MED_RESTART_PREV:COM_MED_RESTART_TMPL
export COM_ATMOS_RESTART_PREV COM_MED_RESTART_PREV
else
YMD=${PDY} HH=${cyc} declare_from_tmpl COM_ATMOS_INPUT
export COM_ATMOS_INPUT
fi
if [[ "${DO_OCN:-}" = "YES" ]]; then
RUN=${rCDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_OCEAN_RESTART_PREV:COM_OCEAN_RESTART_TMPL
export COM_OCEAN_RESTART_PREV
fi
if [[ "${DO_ICE:-}" = "YES" ]]; then
RUN=${rCDUMP} YMD=${gPDY} HH=${gcyc} declare_from_tmpl COM_ICE_RESTART_PREV:COM_ICE_RESTART_TMPL
export COM_ICE_RESTART_PREV
fi
if [[ "${DO_WAVE:-}" = "YES" ]]; then
YMD=${PDY} HH=${cyc} declare_from_tmpl COM_WAVE_RESTART
export COM_WAVE_RESTART
fi

# Execute the Script
Expand Down

0 comments on commit 0176d2e

Please sign in to comment.