History files labels and stop run (CESM2.2.2 in Derecho) - Run whole year nudging

nuvolet

Toni Viudez
Member
Greetings,

I am running CESM2.2.2 in Derecho and my current goal is nudge meteorology for a whole year (2008).
I used to run it in Cheyenne without the issue I have now.

Code:
./xmlchange RUN_STARTDATE=2008-01-01,STOP_OPTION=ndays,STOP_N=366,DOUT_S=FALSE
./create_newcase --case test_nudge_2008 --compset FCnudged --res f09_f09_mg17  --run-unsupported

In the nudging.F90 module the beginning and end dates are passed as well though a little script I create to create all the run case:
Beginning date: 2008-01-01 & End date: 2008-12-31

When the run is "completed", I looked at the history files and I found that there are only 6 days and the dates labeled are:

test_nudge_2008..cam.h1.2010-01-01-00000.nc
test_nudge_2008..cam.h1.2010-01-02-00000.nc
test_nudge_2008..cam.h1.2010-01-03-00000.nc
test_nudge_2008..cam.h1.2010-01-04-00000.nc
test_nudge_2008..cam.h1.2010-01-05-00000.nc
test_nudge_2008..cam.h1.2010-01-06-00000.nc


Do I miss something to make the model to run the whole year and also save it with correct dates?
Any comment and/or suggested would be appreciated.
Thanks in advance
 

slevis

Moderator
Staff member
My only concern with the above code is the order that you issued the commands. I suggest creating the case, running ./case_setup, and then running ./xmlchange. If you're already doing that, then I will let others offer ideas.
 

nuvolet

Toni Viudez
Member
My only concern with the above code is the order that you issued the commands. I suggest creating the case, running ./case_setup, and then running ./xmlchange. If you're already doing that, then I will let others offer ideas.
I think that your suggestion to change the order of the commands made the difference.


Code:
  ./create_newcase --case $casename --compset FCnudged --res f09_f09_mg17  --run-unsupported
  cd $CESMHOME/cime/scripts/$casename
  ./case.setup
  ./xmlchange RUN_STARTDATE=$startdate,STOP_OPTION=$timestep,STOP_N=$numsteps,DOUT_S=FALSE

Thanks.
 
Back
Top