Skip to content

Commit

Permalink
Fixed NorESM2 problem with restarting ensemble
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoBethke committed Sep 19, 2024
1 parent 0068935 commit 9418b19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions setup/noresm2/run_ensemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup/noresm2/settings/noresm2-lm_odaday_19960101.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9418b19

Please sign in to comment.