global_time_series
Overview
The global_time_series interface is exposed through the
zi-global-time-series command. It generates coupled global time-series
products from post-processed E3SM component outputs and can also prepare the
additional ocean time-series files needed by the classic eight-panel plots.
This page focuses on how to run the command and interpret its outputs. For the implementation path through the Python modules, see Developer Guide: global_time_series.
Step-by-step run flow
Parse command-line arguments.
Convert boolean-like strings such as
TrueandFalseto Python booleans.Convert
regionsto normalized region codes:glb/global->glb,n/north/northern->n, ands/south/southern->s.Convert comma-separated plot selections into lists. Passing
Nonemeans “no plots for this group”.Validate the request:
at least one plot must be requested;
if ocean plots are requested through the classic plot set and
use_ocn=True,moc_filemust be provided.
If
use_ocn=Trueand the classic plot selection includes ocean-dependent plots, create ocean time-series files inresults_dir/ocn/glb/ts/monthly.Run the coupled global plotting driver, which writes figures and HTML output into
results_dir.
Output modes
The command supports two presentation modes controlled by make_viewer.
make_viewer=Truegenerates viewer-oriented HTML output. Classic plots are still produced whenplots_originalis non-empty, and component plots are arranged into viewer pages by variable group and region.make_viewer=Falsegenerates a simpler file-list style output. Classic plots remain available, and component plots are emitted as cumulative PDFs instead of viewer pages.
Classic plot names
plots_original accepts the following named plot requests:
net_toa_flux_restom->RESTOMnet_atm_energy_imbalance->RESTOMandRESSURFglobal_surface_air_temperature->TREFHTtoa_radiation->FSNTOAandFLUTnet_atm_water_imbalance->PRECC,PRECL, andQFLXchange_ohc-> ocean heat content plotmax_moc-> maximum meridional overturning circulation plotchange_sea_level-> sea-level change plot
The three ocean-related plot names (change_ohc, max_moc,
change_sea_level) above require ocean support data.
Component plot requests
plots_atm, plots_ice, and plots_ocn accept comma-separated variable
names. These are treated as generic variable names and plotted directly.
plots_lnd is special:
If set to
None, no land plots are generated.If set to
all, every variable listed in zppy_interfaces/global_time_series/zppy_land_fields.csv is included. (NOTE: this shows the catalogue as of the latestmainbranch, which may differ from the version in the release you are using.)Otherwise, each requested land variable must match a row in
zppy_interfaces/global_time_series/zppy_land_fields.csv.
The CSV file also defines whether each land variable is treated as a land-area average or a land total, along with the scale factor, units, plotting group, and descriptive long name used by the generated pages.
Boolean parsing note
make_viewer and use_ocn are parsed with a strict string check: only
true (case-insensitive) is treated as true. Any other value is treated as
false.
Parameter reference
The following parameters are accepted by zi-global-time-series.
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
Selects viewer-oriented output when true; otherwise the command writes a simpler results listing and component PDFs. |
|
Yes |
N/A |
Case directory used to locate existing post-processing output, including cached MOC time-series files for ocean-enabled classic plots. |
|
Yes |
N/A |
Label used for the experiment in generated plot metadata. |
|
No |
Empty string |
Prefix used in generated figure file names. |
|
No |
|
Plot color assigned to the experiment in generated figures. |
|
No |
|
Width, in years, of each time-series chunk expected in the input directory layout. |
|
Yes |
N/A |
Base output directory for figures, HTML, and any generated ocean time-series files. |
|
No |
|
Comma-separated set of region codes or aliases. Valid aliases normalize
to |
|
Yes |
N/A |
First simulation year to include. |
|
Yes |
N/A |
Last simulation year to include. |
|
No |
|
Enables ocean support data generation for the classic ocean-related plots. |
|
Yes when |
N/A |
Base directory containing raw MPAS-O input used to construct ocean time-series files. |
|
No |
|
Subdirectory below |
|
Yes when ocean-enabled classic plots are requested |
|
Name of the cached MOC file copied from |
|
No |
|
Comma-separated list of named classic plot requests. Use |
|
No |
|
Comma-separated list of atmosphere variables to plot. |
|
No |
|
Comma-separated list of sea-ice variables to plot. |
|
No |
|
Comma-separated list of land variables from |
|
No |
|
Comma-separated list of ocean variables to plot as component plots. |
|
No |
|
Number of columns used when building PDF output. |
|
No |
|
Number of rows used when building PDF output. |
Important path conventions
The implementation expects the usual zppy post-processing layout inside
case_dir. For example, component time-series inputs are read from paths such
as post/atm/glb/ts/monthly/<ts_num_years>yr/ and
post/lnd/glb/ts/monthly/<ts_num_years>yr/. Ocean support files are written
under results_dir/ocn/glb/ts/monthly/<ts_num_years>yr/.
Land variable catalogue
The full land-variable list is packaged with the repository:
zppy_interfaces/global_time_series/zppy_land_fields.csv (NOTE: this shows the catalogue as of the latest
mainbranch, which may differ from the version in the release you are using.)
That file is the authoritative source for:
the accepted
plots_lndvariable names,whether each variable is treated as an average or total,
unit conversions,
variable grouping on viewer pages, and
the long descriptions shown to users.