API reference
This page provides an auto-generated summary of the MPAS-Analysis API. For more details and examples, refer to the relevant chapters in the main part of the documentation.
Top-level script: mpas_analysis
| 
 | Entry point for the main script  | 
| 
 | Build a list of analysis tasks. | 
| 
 | Build a list of analysis tasks to run based on the 'generate' config option (or command-line flag) and prerequisites and subtasks of each requested task. | 
| 
 | If a task has been requested through the generate config option or if it is a prerequisite of a requested task, add it to the dictionary of tasks to generate. | 
| 
 | Update the 'generate' config option using a string from the command line. | 
| 
 | Run all the tasks, either in serial or in parallel | 
| 
 | Build a list of analysis modules based on the 'generate' config option. | 
Downloading data
| Entry point for downloading the input data set from public repository for MPAS-Analysis to work. | 
Analysis tasks
Base Class
| 
 | The base class for analysis tasks. | 
| Perform steps to set up the analysis (e.g. reading namelists and streams files). | |
| Run the analysis. | |
| 
 | Only run this task after the given task has completed. | 
| 
 | Add a subtask to this tasks. | 
| 
 | Sets up logging and then runs the analysis task. | 
| Determines if this analysis should be generated, based on the  | |
| 
 | Check to make sure a given analysis is turned on, issuing a warning or raising an exception if not. | 
| 
 | Set the start and end dates in the  | 
Ocean tasks
| 
 | This task generates time series plots from output from the conservation analysis member. | 
| 
 | An analysis task for comparison of sea surface temperature (sst) against observations | 
| 
 | An analysis task for comparison of sea surface salinity (sss) against observations | 
| 
 | An analysis task for comparison of mixed layer depth (mld) against observations | 
| 
 | An analysis task for comparison of mixed layer depth (mld) against observations | 
| 
 | An analysis task for comparison of sea surface height (ssh) against observations | 
| 
 | An analysis task for comparison of eddy kinetic energy (eke) against observations | 
| 
 | An analysis task for plotting sea surface fluxes. | 
| 
 | An analysis task for comparison of the anomaly from a reference year (typically the start of the simulation) of ocean heat content (OHC) | 
| 
 | An analysis task for comparison of Antarctic melt rates against observations | 
| 
 | An analysis task for comparison of antarctic field against the Southern Ocean State Estimate | 
| 
 | An analysis task for plotting climatologies of velocity components and magnitude | 
| 
 | An analysis task for comparison of polar and global temperature and salinity against WOA23 climatology fields | 
| 
 | An analysis task for comparison of potential temperature against Argo observations | 
| 
 | An analysis task for comparison of global salinity against Argo observations | 
| 
 | An analysis task for the computation of wave climatologies | 
| 
 | A flexible analysis task for plotting climatologies of any MPAS-Ocean field on cells from timeSeriesStatsMonthly at various depths (if the field has vertical levels) and for various seasons. | 
| 
 | An analysis task for computing and plotting maps of the wind stress curl. | 
| 
 | Plot model output at transects defined by lat/lon points in a geojson or NetCDF file | 
| 
 | A task for computing and plotting time series and spectra of the El Nino 3.4 climate index | 
| 
 | Plot meridional heat transport from the analysis member output. | 
| 
 | Plots a histogram of a 2-d ocean variable. | 
| 
 | Compute and plot vertical profiles of regionally analyzed data. | 
| 
 | Create T-S Diagrams of the climatology within a given ocean region | 
| 
 | Plot model output at transects and various longitudes around Antarctica, compared against SOSE | 
| 
 | Computation and plotting of model meridional overturning circulation. | 
| 
 | Performs analysis of ocean heat content (OHC) from time-series output. | 
| 
 | Performs analysis of time series of potential temperature anomalies from a reference simulation year as a function of depth. | 
| 
 | Performs analysis of time series of salinity anomalies from the first simulation year as a function of depth. | 
| 
 | Performs analysis of the time-series output of sea-surface temperature (SST). | 
| 
 | Performs analysis of the time-series output of Antarctic sub-ice-shelf melt rates. | 
| 
 | Performs analysis of the time-series output of regionoal mean temperature, salinity, etc. | 
| 
 | Extract and plot time series of transport through transects on the MPAS mesh. | 
| 
 | Plot model output at transects and various longitudes around Antarctica, compared against the WOA23 climatology | 
| 
 | Plot model output at WOCE transects and compare it against WOCE observations | 
Ocean subtasks
| 
 | A subtask for computing anomalies of moving averages and writing them out. | 
| 
 | Plots a time series, summed or averaged over various depth ranges | 
| 
 | Plots a time series vs. | 
Ocean utilities
| 
 | Add standard region names ( | 
| 
 | Add standard region names from the short names | 
| 
 | Computes zMid given data arrays for bottomDepth, maxLevelCell and layerThickness | 
| 
 | Computes zInterface given data arrays for bottomDepth, maxLevelCell and layerThickness | 
| 
 | Compute the zonal and meridional components of a vector at edges from cell-centered components using isotropic area-weighted averaging. | 
Sea ice tasks
| 
 | An analysis task for comparison of sea ice concentration against observations | 
| 
 | An analysis task for comparison of sea ice thickness against observations | 
| 
 | An analysis task for sea ice snow depth | 
| 
 | An analysis task for snow-ice formation rate | 
| 
 | An analysis task for snow melt rate | 
| 
 | An analysis task for melt pond area | 
| 
 | An analysis task for ridge area per unit area of sea ice | 
| 
 | An analysis task for volume per unit ice area | 
| 
 | An analysis task for sea ice broadband albedo | 
| 
 | An analysis task for comparison of sea ice production against observations | 
| 
 | An analysis task for comparison of sea ice melting against observations | 
| An analysis task for sea ice area tendency due to thermodynamics | |
| An analysis task for sea ice area tendency due to transport | |
| An analysis task for sea ice volume tendency due to thermodynamics | |
| An analysis task for sea ice volume tendency due to transport | |
| 
 | Performs analysis of time series of sea-ice properties. | 
| 
 | An analysis task for comparison of iceberg concentration against observations |