ts (Developer Reference)
Implementation
Python module:
zppy/ts.pyJinja2 template:
zppy/templates/ts.bash
The ts function iterates over all [ts] tasks and generates a SLURM
bash script from the ts.bash Jinja2 template for each
year-range/subsection combination.
Key steps in ts.py:
Load the
ts.bashtemplate.Call
get_tasks(config, "ts")for all subtasks.For each task:
Resolve mapping file, grid, and component type.
Render the template and write the bash script.
Submit the script.
Vertical remapping
When vrt_remap_vars is non-empty, the template also calls ncremap
after ncclimo to remap specified variables from model levels to pressure
levels. Output is written to a sibling ts_vrt_remap/ directory.
Dependencies
Upstream (what ts depends on):
None. The
tstask reads raw simulation output directly.
Downstream (what depends on ts):
e3sm_diags (Developer Reference) — many sets require time-series files
e3sm_to_cmip (Developer Reference) — depends on ts for input time-series
global_time_series (Developer Reference) — depends on ts global-mean subtasks
pcmdi_diags (Developer Reference) — depends on ts via e3sm_to_cmip