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

output fields on tape 8 once a month

hannay

Cecile Hannay
AMWG Liaison
Staff member
Hi Dan,Pleae could you be a little bit more specific. Are trying to output fields for atmosphere, ocean, and... ? Are you talking about the restart files ?Instructions about changing the output frequency of the history files can be found in:http://www.cesm.ucar.edu/events/tutorials/081114/practical4-hannay.pdf 
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Hi Dan,Pleae could you be a little bit more specific. Are trying to output fields for atmosphere, ocean, and... ? Are you talking about the restart files ?Instructions about changing the output frequency of the history files can be found in:http://www.cesm.ucar.edu/events/tutorials/081114/practical4-hannay.pdf 
 
Hi,Thank you for your answer.I am trying to output fields for atmosphere (cam 5.3) in the history file. Thank you for the link. Indeed, I was able to change output fields frequency for tape 1 (from yearly to daily) as shown in the slides.However, I don't seem to find the right namelist for changing output for tape 8 from yearly to monthly.Thank you,
 
Hi,Thank you for your answer.I am trying to output fields for atmosphere (cam 5.3) in the history file. Thank you for the link. Indeed, I was able to change output fields frequency for tape 1 (from yearly to daily) as shown in the slides.However, I don't seem to find the right namelist for changing output for tape 8 from yearly to monthly.Thank you,
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
You can output a maximum of 6 history files. You won't be able to able "tape 8". About teh output frequency, only the first tape (the *h0* files) can be output monthly by setting nhtfrq =0
For the other tapes you need to specify number of hours (or timesteps).  For nhtfrq: see documentation at: http://www.cesm.ucar.edu/cgi-bin/eaton/namelist/nldef2html-pub

Array of write frequencies for each history file series.
If nhtfrq(1) = 0, the file will be a monthly average.
Only the first file series may be a monthly average. If
nhtfrq(i) > 0, frequency is specified as number of
timesteps. If nhtfrq(i) < 0, frequency is specified
as number of hours.

Default: 0,-24,-24,-24,-24,-24
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
You can output a maximum of 6 history files. You won't be able to able "tape 8". About teh output frequency, only the first tape (the *h0* files) can be output monthly by setting nhtfrq =0
For the other tapes you need to specify number of hours (or timesteps).  For nhtfrq: see documentation at: http://www.cesm.ucar.edu/cgi-bin/eaton/namelist/nldef2html-pub

Array of write frequencies for each history file series.
If nhtfrq(1) = 0, the file will be a monthly average.
Only the first file series may be a monthly average. If
nhtfrq(i) > 0, frequency is specified as number of
timesteps. If nhtfrq(i) < 0, frequency is specified
as number of hours.

Default: 0,-24,-24,-24,-24,-24
 
I see. I did notice that those frequencies have 6 fields. I guess I was confused by the following entries in the log file produced when cam is run:  FLDLST: History file            8  contains           37  fields                   |                                                                                       Write frequency:                 YEARLY   (INITIAL CONDITIONS)                    |                                                                                       Filename specifier:              %c.cam.i.%y-%m-%d-%s.nc                          |                                                                                       Output precision:                double                                           |                                                                                       Number of time samples per file:            1                                     |                                                                                       Then, it goes on to list all the fields.  Does this mean that to see those fields, I have to include them on the first tape (or on other ones)?Thank you,
 
I see. I did notice that those frequencies have 6 fields. I guess I was confused by the following entries in the log file produced when cam is run:  FLDLST: History file            8  contains           37  fields                   |                                                                                       Write frequency:                 YEARLY   (INITIAL CONDITIONS)                    |                                                                                       Filename specifier:              %c.cam.i.%y-%m-%d-%s.nc                          |                                                                                       Output precision:                double                                           |                                                                                       Number of time samples per file:            1                                     |                                                                                       Then, it goes on to list all the fields.  Does this mean that to see those fields, I have to include them on the first tape (or on other ones)?Thank you,
 

eaton

CSEG and Liaisons
Sorry for the confusion.  The fact that the initial file is implemented internally as a history file with some special properties is not supposed to be visible to the user.  The 'sathist' file is another case of this where internally it uses a lot of the history file code, but it has special properties and a separate set of namelist variables to control it.  Back to the initial file, the control of its output frequency is via the inithist namelist variable. 
 

eaton

CSEG and Liaisons
Sorry for the confusion.  The fact that the initial file is implemented internally as a history file with some special properties is not supposed to be visible to the user.  The 'sathist' file is another case of this where internally it uses a lot of the history file code, but it has special properties and a separate set of namelist variables to control it.  Back to the initial file, the control of its output frequency is via the inithist namelist variable. 
 
Top