|
| 1 | +.. _task_conservation: |
| 2 | + |
| 3 | +conservation |
| 4 | +============ |
| 5 | + |
| 6 | +An analysis task for plotting histograms of 2-d variables of climatologies |
| 7 | +in ocean regions. |
| 8 | + |
| 9 | +Component and Tags:: |
| 10 | + |
| 11 | + component: ocean |
| 12 | + tags: timeseries, conservation |
| 13 | + |
| 14 | +Configuration Options |
| 15 | +--------------------- |
| 16 | + |
| 17 | +The following configuration options are available for this task: |
| 18 | + |
| 19 | +.. code-block:: cfg |
| 20 | +
|
| 21 | + [conservation] |
| 22 | + ## options related to producing time series plots, often to compare against |
| 23 | + ## observations and previous runs |
| 24 | + |
| 25 | + # the year from which to compute anomalies if not the start year of the |
| 26 | + # simulation. This might be useful if a long spin-up cycle is performed and |
| 27 | + # only the anomaly over a later span of years is of interest. |
| 28 | + # anomalyRefYear = 249 |
| 29 | + |
| 30 | + # start and end years for timeseries analysis. Use endYear = end to indicate |
| 31 | + # that the full range of the data should be used. If errorOnMissing = False, |
| 32 | + # the start and end year will be clipped to the valid range. Otherwise, out |
| 33 | + # of bounds values will lead to an error. In a "control" config file used in |
| 34 | + # a "main vs. control" analysis run, the range of years must be valid and |
| 35 | + # cannot include "end" because the original data may not be available. |
| 36 | + startYear = 1 |
| 37 | + endYear = end |
| 38 | + |
| 39 | + # Plot types to generate. The following plotTypes are supported: |
| 40 | + # total_energy_flux : Total energy flux |
| 41 | + # absolute_energy_error : Energy error |
| 42 | + # ice_salt_flux : Salt flux related to land ice and sea ice |
| 43 | + # absolute_salt_error : Salt conservation error |
| 44 | + # total_mass_flux : Total mass flux |
| 45 | + # total_mass_change : Total mass anomaly |
| 46 | + # land_ice_mass_change : Mass anomaly due to land ice fluxes |
| 47 | + # land_ice_ssh_change : SSH anomaly due to land ice fluxes |
| 48 | + # land_ice_mass_flux_components : Mass fluxes from land ice |
| 49 | + plotTypes = 'land_ice_mass_flux_components' |
| 50 | + |
| 51 | + # line colors for the main, control and obs curves |
| 52 | + # see https://matplotlib.org/stable/gallery/color/named_colors.html |
| 53 | + # and https://matplotlib.org/stable/tutorials/colors/colors.html |
| 54 | + mainColor = black |
| 55 | + controlColor = tab:red |
| 56 | +
|
| 57 | +
|
| 58 | +Example Result |
| 59 | +-------------- |
| 60 | + |
| 61 | +.. image:: examples/total_mass_flux.png |
| 62 | + :width: 500 px |
| 63 | + :align: center |
0 commit comments