Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Cannot find restart file named ...cam.i...

Hi There,

I am running a 2000 control run and want to save the restart file for future use. I found that I don't have the restart file called ....cam.i...(Or initial file inic? I am not quite sure)
For example, the following screenshot shows the restart file I got from the run. In order to use these restart file to restart a branch case, I need the file called BC5CN_1st_nl_try2.cam.i.2000-02-01-0000.nc. I have searched this file in my run directory and archive but I cannot find it.

According to my advisor, when she ran the model in Cheyenne, she got the ...cam.i...in the rest file in archive. I wonder if it is because of some porting issues or because of some setting issues. I appreciate it if anyone has some ideas / suggestions / comments. Thanks very much!
1580934549739.png

Cheers,
Qinxue
 

fischer

CSEG and Liaisons
Staff member
Hi Qinxue,

In user_nl_cam you can set

init_hist='ENDOFRUN'

This will give you a cam.i file at the end of the run. You can read more about init_hist at

I don't believe you need the cam.i file for to restart a branch run, just the .r files.

Chris
 
Hi Qinxue,

In user_nl_cam you can set

init_hist='ENDOFRUN'

This will give you a cam.i file at the end of the run. You can read more about init_hist at

I don't believe you need the cam.i file for to restart a branch run, just the .r files.

Chris


Hi Chris,

Thank you very much for your quick and warm reply!
Since I am using CESM 1.2 rather than CESM 2.0, I think the setting maybe a little bit different.
I don't know what exactly do you mean by setting init_hist="ENDOFRUN" in user_nl_cam.
In CESM 1.2, user_nl_cam is used to set the output variables. For example, I would like to output T850 at daily time scale, I will write fincl2='T850:A' in user_nl_cam.

I searched for the document and I do find a parameter called "INITHIST" in B.13 Complete list of CAM namelist variables. However, when I added this variable into the user_nl_cam using fincl1='INITHIST:A', which indicate that I would like to output this as monthly data, it said that there is not a variable called INITHIST. I guess I misunderstood your description.

In addition, when I searched for the namelist for env_run.xml in CCSM4, I do find a parameter called "HISTINIT" (See http://www.cesm.ucar.edu/models/ccsm4.0/ccsm_doc/a4234.html). But there is no "HISTINIT" in env_run.xml in CESM1. I also tried to set the HIST_OPTION and HIST_N same as the STOP_OPTION and STOP_N, respectively. That still doesn't give me the cam.i. for each month.


In addition, when I stop the model for each month and resubmit it once I month, I will get the cam.i. file in the first month of the year rather than each month.
However, when I want to branch the model, it do require me to have this file for each month. For example, I want to restart it from 2000-02, it required me to have the relative cam.i. file (See the following screenshot).

1581522468002.png


Therefore, my thought is that due to the different version of CESM, your solution might not apply to my condition. Or because of my misunderstanding, I didn't quite understand your solution. Could you please explain it more or do you have any thoughts about the CESM 1.2 rather than CESM 2?

Thank you very much again for your reply and looking forward to hearing from you!

Cheers,
Qinxue
 

fischer

CSEG and Liaisons
Staff member
Hi Qinxue,

Your user_nl_cam file should look like this to get montly cam.i files. The ENDOFRUN setting isn't supported in
CESM 1.2.

! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value
INITHIST='MONTHLY'
 
Hi Qinxue,

Your user_nl_cam file should look like this to get montly cam.i files. The ENDOFRUN setting isn't supported in
CESM 1.2.

! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value
INITHIST='MONTHLY'
Hi Chris,

It works!!! Thank you very much for your patient and warm reply again!!!

Cheers,
Qinxue
 

ucas_qs

qiushi Zhang
Member
Hi Qinxue,

Your user_nl_cam file should look like this to get montly cam.i files. The ENDOFRUN setting isn't supported in
CESM 1.2.

! Users should add all user specific namelist changes below in the form of
! namelist_var = new_namelist_value
INITHIST='MONTHLY'
Hi Chris,

It works!!! Thank you very much for your patient and warm reply again!!!

Cheers,
Qinxue
Your reply is very helpful to me. Thank you.
So far I have found a new problem, I have run two experiments, EXP1 and EXP2. EXP1 runs for 50 years and then 10 years, for a total of 60 years. I set the restart file from EXP1 0051-01-01 as the initial field of EXP2. Except for this setup, EXP2 was set up exactly like the EXP1 and ran successfully for 10 years. I thought EXP1.0051-01.nc and EXP2.0001-01.nc (RUN_STARTDATE=0001-01-01) would have the same result, but in fact their SST (sea surface temperature) are different. In addition, an El Nino event appeared in EXP1 0051-0051 (maximum SSTA in January and approximately 0 SSTA in September), but the development of this event in EXP2 was not the same (maximum SSTA in January and approximately 0 SSTA in July). I want to know, why is there such a difference in the results of these two trials?
 
Top