mpas_analysis — Ocean and Sea-Ice Analysis
The mpas_analysis task runs MPAS-Analysis to produce ocean and sea-ice
diagnostics. It supports both model-vs-observations (mvo) and
model-vs-model (mvm) comparison modes. The comparison type is inferred
automatically: if reference_data_path is set, the run is treated as MVM;
otherwise it is treated as MVO.
Note
environment_commands should be the same for all related
[mpas_analysis] runs. Mixing environments across year ranges can cause
MPAS-Analysis to fail.
Parameters
These 25 parameters are specific to the mpas_analysis task.
MPAS-Analysis configuration parameters
General parameters
There are 8 general parameters:
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
Whether to cache MPAS-Analysis intermediate results. |
|
No |
|
Comparison type for the referenced prior run: |
|
No |
|
Comparison type for the test run’s referenced prior run. |
|
No* |
|
Case name of the reference run. *Required when
|
|
No |
|
List of MPAS-Analysis analyses to generate. |
|
No |
|
Whether to post-process MOC data. |
|
No |
|
Whether to purge previous MPAS-Analysis output before running. |
|
No |
|
Whether the input uses the short-term archive directory structure. |
Year parameters
There are 7 year parameters:
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
Reference year for anomaly calculations. |
|
No |
|
Year ranges for time-series sub-runs. |
|
No |
|
Year ranges for climatology sub-runs. |
|
No |
|
Year ranges for ENSO sub-runs. |
|
No |
|
Year ranges for reference time-series sub-runs. Defaults to
|
|
No |
|
Year ranges for reference climatology sub-runs. |
|
No |
|
Year ranges for reference ENSO sub-runs. |
Data path parameters
There are 6 data path parameters:
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
For MVM runs: path to a prior zppy output directory (the one
containing |
|
No |
|
For MVM runs: path to the test run’s prior zppy output directory (if different from the current run). |
|
No |
|
Name of the MPAS-Ocean namelist file. |
|
No |
|
Name of the MPAS sea-ice namelist file. |
|
No |
|
Name of the MPAS sea-ice streams file. |
|
No |
|
Name of the MPAS ocean streams file. |
Computational parameters
There are 4 computational parameters:
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
Number of MPI tasks for mapping. |
|
No |
|
Number of threads for |
|
No |
|
Parallel mode for |
|
No |
|
Number of parallel analysis tasks in MPAS-Analysis. |
Parameters at the top-level
This parameter has an mpas_analysis-specific default, which means even if
it is set at the top level ([default]) section, this default value will be
used instead. Therefore, to specify a custom value, this parameter must be
defined inside [mpas_analysis]:
Parameter |
Required |
Default |
Description |
|---|---|---|---|
|
No |
|
Maximum wall time. Overrides the |
For other top-level parameters, see top-level parameters.
Year range behavior for MVM runs
For model-vs-model comparisons, zppy supports separate year ranges for
the test and reference runs:
ts_years,climo_years,enso_years: define the test run year ranges.ref_ts_years,ref_climo_years,ref_enso_years: optionally override the reference run year ranges (defaults to test year ranges if not set).If
reference_data_pathpoints to a prior[[subsection]]in the same cfg, the reference year ranges default to that subsection’s values.If a single reference year range is provided and multiple test ranges are requested, the single reference range is used for each test range.
Dependencies
Upstream (what mpas_analysis depends on):
None. Note that later year sets will depend on previously completed ones.
Downstream (what depends on mpas_analysis):
global_time_series — Global Time Series Plots — the 3 classic ocn plots, plots for specific ocn variables.