Skip to content

Commit

Permalink
Add cpld_restart_gfsv17_iau sourcing cpld_control_gfsv17_iau
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSzapiro-NOAA authored Jan 14, 2025
1 parent c7412fa commit 2b26355
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions tests/tests/cpld_restart_gfsv17_iau
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#
# cpld_control GFSv17 restart test with IAU
#

source ${PATHRT}/tests/cpld_control_gfsv17_iau

export TEST_DESCR="Fully coupled FV3-CCPP-MOM6-CICE-CMEPS-WW3 system - C96MX100 with IAU - restart"

export FHROT=18 #restart after any IAU
export RESTART_N=3
export RESTART_INTERVAL="${RESTART_N} -1"
RESTHOUR=$(( ${FHROT} + ${SHOUR} ))
RESTSDAY=$SDAY
echo "RESTHOUR=$RESTHOUR,RESTSDAY=$RESTSDAY"
if [[ $RESTHOUR -ge 24 ]]; then
echo "compute resthour"
RESTHOUR=$(( ${FHROT} + ${SHOUR} - 24 ))
echo "compute restday"
RESTSDAY=$(( ${SDAY} + 1 ))
fi
echo "2RESTHOUR=$RESTHOUR,RESTSDAY=$RESTSDAY"
RESTSEC=$(( ${RESTHOUR} * 3600 ))
echo "RESTHOUR=$RESTHOUR,RESTSDAY=$RESTSDAY,RESTSEC=$RESTSEC"
export RESTART_FILE_PREFIX="${SYEAR}${SMONTH}${RESTSDAY}.$(printf "%02d" ${RESTHOUR})0000"
export RESTART_FILE_SUFFIX_SECS="${SYEAR}-${SMONTH}-${RESTSDAY}-$(printf "%05d" ${RESTSEC})"
echo "RESTART_FILE_PREFIX=$RESTART_FILE_PREFIX"
echo "RESTART_FILE_SUFFIX_SECS=$RESTART_FILE_SUFFIX_SECS"
export CICE_DIAGFREQ=`expr $((FHMAX-FHROT)) \* 3600 / $DT_CICE`

#Warm start settings already from "control" GEFS test

#No increments/IAU in restart
export READ_INCREMENT=.false.
export IAU_INC_FILES="''"
export IAU_DELTHRS=0
export IAUFHRS=-1
export IAU_OFFSET=0
export ODA_INCUPD="False"
export ODA_INCUPD_UV="False"

0 comments on commit 2b26355

Please sign in to comment.