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

CAM namelist question. Outputting fields with 'instantaneous' with setting nhtfrq=0.

sungduk@uci_edu

New Member
Hi,According to the manual, nhtfrq=0 is for a monthly average. I wonder what happens when the averaging flag for some fields is set at "I", while nhtfrq=0, e.g., empty_htapes = .false.fincl2 = 'TAP:I','QAP:I','Z3:I','DTCOND:A','DTCORE:A','DCQ:A'nhtfrq = 0,0mfilt = 1,1 Are those fileds with ":I" outputted as instatanous at the last time step of each month? Or, I flag is overriden to A flag? Thank you!- Sungduk Yu
 

eaton

CSEG and Liaisons
Correct.  Fields specified with ':I' on a monthly average file would correspond to the last timestep in the month, which is also the value of the time coordinate when the file is written.  You can mix averaged and instantaneous fields on the same output file.  The averaged fields will contain metadata like :cell_methods = "time: mean"  to indicate that they are averaged. 
 

hannay

Cecile Hannay
AMWG Liaison
Staff member
Hi Sungduk Yu,About setting nhtfrq, I see that in your example you set:
nhtfrq=0,0 I believe you can only set
nhtfrq=0
for the first file series (h0 files but not for h1, h2...)


My expectation is that:
nhtfrq=0,0 
will not work
 

eaton

CSEG and Liaisons
I thought the same thing as Cecile.  But I tried it and it did work.  I don't remember when we fixed that... 
 

sungduk@uci_edu

New Member
Thank you, both eaton and hannay! Glad it's working. It is very convenient for my application (to close a monthly budget). - Sungduk
 
Top