The history files (those that contain model output) can be defined in the
user_nl_cam file under the
finclX namelist variable, where X may be 1, 2, 3 etc. up to 9. Each '
finclX' will tell the model to write a new file that includes the specified variables. Recommended procedure is to keep fincl1 as the default, because this tells the model to write out month average values of all species that are needed for the automated diagnostics. Therefore, best practice is to write your own history files beginning with
fincl2 onwards. *** Note only the first file can contain month averages***.
Adding the following species to
user_nl_cam will write out files with a h1 suffix.
The temporal resolution of the output files is also specified via the
Where columns correspond to finclX in order. The namelist variables define:
avgflag_pertape = either averages (A) or instantaneous (I) output.
mfilt = number of time entries in a history file.
nhtfrq = time resolution in a file with <0 specifying hours. For example -6 specifies output every 6 hours.
Therefore, the above example outputs month average at one month per file and 6-hour averages at 1 file per day.
fincl namelist variables can also be define to record output only over user-defined region. This is done by adding the following code to the
user_nl_cam file, directly after the desired variables have been defined.
Where this defines the model output for the species shown to be written out for just the region bounded by a box with the corners at 70E, 20N and 110E, 40N. All other flags such as
mfilt apply to this file as defined above.
Saving output for a given local time for comparison to satellite observations
In the example below, the first file contains monthly means of results averaged over 10:15 to 10:45 local time (to coincide with Terra) and the second file contains daily composites of averages over 13:15 to 13:45 (to coincide with Aqua). Note that there is no indication in the output files that these are Local Time averages, so you must keep track of that yourself.