All output file names have the form: root-filename.runid.time-indicator.output-format. Here root-filename is a name defined by the user through namelist input for each file type, runid is a character identifier for the run sequence, time-indicator depends on the output frequency chosen and output-format is either 'nc' for netCDF files or 'bin' for binary files.If the output file is written at a frequency of nday, nmonth or nyear, the time-indicator is typically the date in yyyymmdd (where yyyy, mm and dd can be optionally separated by a character defined in the time manager namelist). If the output file is written every nstep steps, the time-indicator is the step number.
A convention has been developed for naming POP output files in which the root filenames for restart, time-averaged history, snapshot history, and moviefiles are simply the one-letter names 'd', 't', 'h', 'm' respectively. These are the default values in the namelists for each of these options, but the user is not required to follow this convention. Come up with your own convention. We don't mind. Really. Have fun with it. The only requirement is that the root-filename must be distinct for each type of output file. Because '.' is used to delimit runid in file names and '/' is reserved as a separator in Unix path names, neither should be used within runid.
$CASE is the CESM1 "case name" assigned to a given CESM1 run.
In CESM1 POP2, root-filename values are chosen to be the same as LANL values whenever possible; unfortunately, the CESM1 convention is in direct conflict with two of the LANL settings. In CESM1, root-filename is 'h' (history) for time-averaged history files created by the tavg.F90 module, and 's' (snapshot) for history files created by the history.F90 module. For diagnostics output files, root-filename is a two-character string beginning with the first character 'd', with the second character intended to indicate the type of diagnostics output file.
The full CESM1 POP2 convention for root-filename is:
The CESM1 time-indicator takes various forms, depending on the contents of the output file.
The full CESM1 convention for time-indicator is as follows, and is automatically generated by the CESM1 POP2 code, depending on the frequency of the file:
The CESM1 POP2 convention for output-format is identical to that for LANL POP2.