forked from ufs-community/ufs-weather-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cpld_restart_gfsv17_iau sourcing cpld_control_gfsv17_iau
- Loading branch information
1 parent
c7412fa
commit 2b26355
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |