Customize CAM output

sebastien

Sébastien Barthélémy
New Member
Hi,

I try to customize CAM outputs, I read the documentation on the topic on the github of NCAR but obviously I made a mistake. I would like to output daily average of the variables U10, LHFLX, and SHFLX so here is how I modified the file user_nl_cam:

fincl2 = 'U10','LHFLX','SHFLX'
nhtfrq = -24
mfilt=1

I did a test with a one month run but I got only the daily average for the last day of the simulation. So my question is: how should I set user_nl_cam to actually get the daily output for each day of the simulation and not only the last day?
 

fischer

CSEG and Liaisons
Staff member
Hi,

You need to set nhtfrq and mfilt differently than what you did. The values you set are for the fincl1(h0) files. Try something like this.

fincl2 = 'U10','LHFLX','SHFLX'
nhtfrq = 0,-24
mfilt = 1,30

This should give you 30 days of the requested variables in the h1 files.

Chris
 
Vote Upvote 0 Downvote

sebastien

Sébastien Barthélémy
New Member
Hi Chris,

Thanks for your answer that helps, I understand now where was the error. I wanted to have daily averaged data and one file per day, so I set:

fincl2 = 'U10:A','LHFLX:A','SHFLX:A'
nhtfrq = 0,-24
mfilt = 1,1

Do you confirm that by using the flag ":A" with these settings I get daily averaged data?
 
Vote Upvote 0 Downvote
Back
Top