From 9418b199db714d9398680cf96c3f4ec572651574 Mon Sep 17 00:00:00 2001 From: IngoBethke Date: Thu, 19 Sep 2024 20:19:50 +0200 Subject: [PATCH] Fixed NorESM2 problem with restarting ensemble --- setup/noresm2/run_ensemble.sh | 3 +++ setup/noresm2/settings/noresm2-lm_odaday_19960101.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/noresm2/run_ensemble.sh b/setup/noresm2/run_ensemble.sh index d967ea7a..68e5e21e 100755 --- a/setup/noresm2/run_ensemble.sh +++ b/setup/noresm2/run_ensemble.sh @@ -49,12 +49,15 @@ do if [ $CONTINUE_RUN == "TRUE" ] then sed -i "s/start_type .*/start_type = 'continue'/" drv_in + sed -i "s/RUNTYP .*/RUNTYP = 'continue'/" ocn_in else if [[ $RUN_TYPE && $RUN_TYPE == "hybrid" ]] then sed -i "s/start_type .*/start_type = 'startup'/" drv_in + sed -i "s/RUNTYP .*/RUNTYP = 'startup'/" ocn_in else sed -i "s/start_type .*/start_type = 'branch'/" drv_in + sed -i "s/RUNTYP .*/RUNTYP = 'branch'/" ocn_in fi fi done diff --git a/setup/noresm2/settings/noresm2-lm_odaday_19960101.sh b/setup/noresm2/settings/noresm2-lm_odaday_19960101.sh index 4e287121..98b4ed74 100755 --- a/setup/noresm2/settings/noresm2-lm_odaday_19960101.sh +++ b/setup/noresm2/settings/noresm2-lm_odaday_19960101.sh @@ -15,7 +15,7 @@ : ${REF_CASE_PREFIX:=noresm_ctl_19700101_19700101} : ${REF_CASE_SUFFIX_MEMBER1:=_mem01} : ${REF_PATH_LOCAL:=$INPUTDATA/ccsm4_init/$REF_CASE_PREFIX} -: ${REF_DATE:=1996-01-01} # multiple reference dates only for RUN_TYPE=hybrid +: ${REF_DATE:=1996-01-01} # job settings : ${STOP_OPTION:=nyears} # units for run length specification STOP_N