Skip to content

Commit 8321fcb

Browse files
authored
Fix ocean restarts when cold starting with DOIAU=YES (#3278)
Fixes logic in forecast_predet.sh so that ocean restarts are written correctly when DOIAU="YES" for a cold-started experiment. Note: there are currently no CI tests that cover this. Resolves #3277
1 parent c9011ab commit 8321fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ush/forecast_predet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ CMEPS_predet(){
728728
CMEPS_RESTART_FH=("${FHMAX}")
729729
fi
730730
else
731-
if [[ "${DOIAU:-NO}" == "YES" ]]; then
731+
if [[ "${DOIAU:-NO}" == "YES" ]] && [[ "${warm_start}" == ".true." ]] ; then
732732
local restart_interval_start=$(( cmeps_restart_interval + half_window ))
733733
local restart_interval_end=$(( FHMAX + half_window ))
734734
else

0 commit comments

Comments
 (0)