how to auto save 6 hourly data in monthly output

Wenshuo

Wenshuo
New Member
Dear all,
I am using CESM1.2.2 with CAM4, and I would like to output one history file per month, where each file contains all 6-hourly samples within that month (so that the number of samples automatically adjusts depending on whether the month has 28, 29, 30, or 31 days).
However, it seems that relying on mfilt alone cannot achieve this kind of month-by-month automatic adjustment.
For example, when I set
nhtfrq = 0,-6
mfilt = 1,120
in user_nl_cam, the output looks like this:
截图 2025-08-21 15-49-27.png
Does anyone have any suggestions?
 
Solution
I don't think that this specific option exists. The next best options are:
- group 6-hourly samples in daily files
- group 6-hourly samples in annual files

slevis

Moderator
Staff member
I don't think that this specific option exists. The next best options are:
- group 6-hourly samples in daily files
- group 6-hourly samples in annual files
 
Vote Upvote 0 Downvote
Solution
Back
Top