Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs and examples for sea ice production tasks #920

Merged
merged 3 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/users_guide/analysis_tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ Analysis Tasks
tasks/climatologyMapSeaIceThickSH
tasks/timeSeriesSeaIceAreaVol

tasks/climatologyMapSeaIceProductionNH
tasks/climatologyMapSeaIceMeltingNH
tasks/climatologyMapSeaIceProductionSH
tasks/climatologyMapSeaIceMeltingSH

tasks/climatologyMapIcebergConcSH
78 changes: 78 additions & 0 deletions docs/users_guide/tasks/climatologyMapSeaIceMeltingNH.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
.. _task_climatologyMapSeaIceMeltingNH:

climatologyMapSeaIceMeltingNH
=============================

An analysis task for plotting maps of Arctic sea ice melting.

Component and Tags::

component: seaIce
tags: climatology, horizontalMap, seaIceMelting, publicObs

Configuration Options
---------------------

The following configuration options are available for this task::

[climatologyMapSeaIceMeltingNH]
# options related to plotting horizontally remapped climatologies of
# sea ice melting against control model results and observations
# in the northern hemisphere (NH)

# colormap for model/observations
colormapNameResult = amp
# whether the colormap is indexed or continuous
colormapTypeResult = continuous
# the type of norm used in the colormap
normTypeResult = linear
# A dictionary with keywords for the norm
normArgsResult = {'vmin': 0., 'vmax': 5.}
# place the ticks automatically by default
# colorbarTicksResult = numpy.linspace(-2., 2., 9)

# colormap for differences
colormapNameDifference = balance
# whether the colormap is indexed or continuous
colormapTypeDifference = continuous
# the type of norm used in the colormap
normTypeDifference = linear
# A dictionary with keywords for the norm
normArgsDifference = {'vmin': -3., 'vmax': 3.}
# place the ticks automatically by default
colorbarTicksDifference = [-3, -2, -1, 0, 1, 2, 3]

# Times for comparison times
seasons = ['ANN', 'DJF', 'JJA']

# comparison grid(s) ('latlon', 'antarctic') on which to plot analysis
comparisonGrids = ['latlon']

# reference lat/lon for sea ice plots in the northern hemisphere
minimumLatitude = 50
referenceLongitude = 0

# arrange subplots vertically?
vertical = False

The option ``minimumLatitude`` determines what the northernmost latitude (in
degrees) included in the plot will be. The option ``referenceLongitude``
defines which longitude will be at the bottom of the plot.


The option ``vertical = True`` can be used to plot 3 panels one above another
(resulting in a tall, thin image) rather than next to each other, the default
(resulting in a short, wide image).

For details on the remaining configration options, see:
* :ref:`config_colormaps`
* :ref:`config_seasons`
* :ref:`config_comparison_grids`


Example Result
--------------

.. image:: examples/ice_melting_nh.png
:width: 720 px
:align: center
88 changes: 88 additions & 0 deletions docs/users_guide/tasks/climatologyMapSeaIceMeltingSH.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
.. _task_climatologyMapSeaIceMeltingSH:

climatologyMapSeaIceMeltingSH
=============================

An analysis task for plotting maps of Antarctic sea ice melting against
observations.

Component and Tags::

component: seaIce
tags: climatology, horizontalMap, seaIceMelting, publicObs

Configuration Options
---------------------

The following configuration options are available for this task::

[climatologyMapSeaIceMeltingSH]
# options related to plotting horizontally remapped climatologies of
# sea ice melting against control model results and observations
# in the southern hemisphere (SH)

# colormap for model/observations
colormapNameResult = amp
# whether the colormap is indexed or continuous
colormapTypeResult = continuous
# the type of norm used in the colormap
normTypeResult = linear
# A dictionary with keywords for the norm
normArgsResult = {'vmin': 0., 'vmax': 5.}
# place the ticks automatically by default
# colorbarTicksResult = numpy.linspace(-2., 2., 9)

# colormap for differences
colormapNameDifference = balance
# whether the colormap is indexed or continuous
colormapTypeDifference = continuous
# the type of norm used in the colormap
normTypeDifference = linear
# A dictionary with keywords for the norm
normArgsDifference = {'vmin': -3., 'vmax': 3.}
# place the ticks automatically by default
colorbarTicksDifference = [-3, -2, -1, 0, 1, 2, 3]

# Times for comparison times
seasons = ['ANN', 'DJF', 'JJA']

# comparison grid(s) ('latlon', 'antarctic') on which to plot analysis
comparisonGrids = ['latlon']

# reference lat/lon for sea ice plots in the northern hemisphere
minimumLatitude = -50
referenceLongitude = 180

# arrange subplots vertically?
vertical = False

# observations files
meltingSH = AnIceFlux/aniceflux_v01_clim_mean_1982-2008.nc

The option ``minimumLatitude`` determines what the northernmost latitude (in
degrees) included in the plot will be. The option ``referenceLongitude``
defines which longitude will be at the bottom of the plot.

By default, plots are produced comparing modeled sea ice melting against
``AnIceFlux`` (annual climatology only).

The option ``vertical = True`` can be used to plot 3 panels one above another
(resulting in a tall, thin image) rather than next to each other, the default
(resulting in a short, wide image).

For details on the remaining configration options, see:
* :ref:`config_colormaps`
* :ref:`config_seasons`
* :ref:`config_comparison_grids`

Observations
------------

* :ref:`aniceflux`

Example Result
--------------

.. image:: examples/ice_melting_sh.png
:width: 720 px
:align: center
78 changes: 78 additions & 0 deletions docs/users_guide/tasks/climatologyMapSeaIceProductionNH.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
.. _task_climatologyMapSeaIceProductionNH:

climatologyMapSeaIceProductionNH
================================

An analysis task for plotting maps of Arctic sea ice production.

Component and Tags::

component: seaIce
tags: climatology, horizontalMap, seaIceProduction, publicObs

Configuration Options
---------------------

The following configuration options are available for this task::

[climatologyMapSeaIceProductionNH]
# options related to plotting horizontally remapped climatologies of
# sea ice production against control model results and observations
# in the northern hemisphere (NH)

# colormap for model/observations
colormapNameResult = dense
# whether the colormap is indexed or continuous
colormapTypeResult = continuous
# the type of norm used in the colormap
normTypeResult = linear
# A dictionary with keywords for the norm
normArgsResult = {'vmin': 0., 'vmax': 5.}
# place the ticks automatically by default
# colorbarTicksResult = numpy.linspace(-2., 2., 9)

# colormap for differences
colormapNameDifference = balance
# whether the colormap is indexed or continuous
colormapTypeDifference = continuous
# the type of norm used in the colormap
normTypeDifference = linear
# A dictionary with keywords for the norm
normArgsDifference = {'vmin': -3., 'vmax': 3.}
# place the ticks automatically by default
colorbarTicksDifference = [-3, -2, -1, 0, 1, 2, 3]

# Times for comparison times
seasons = ['ANN', 'DJF', 'JJA']

# comparison grid(s) ('latlon', 'antarctic') on which to plot analysis
comparisonGrids = ['latlon']

# reference lat/lon for sea ice plots in the northern hemisphere
minimumLatitude = 50
referenceLongitude = 0

# arrange subplots vertically?
vertical = False

The option ``minimumLatitude`` determines what the northernmost latitude (in
degrees) included in the plot will be. The option ``referenceLongitude``
defines which longitude will be at the bottom of the plot.


The option ``vertical = True`` can be used to plot 3 panels one above another
(resulting in a tall, thin image) rather than next to each other, the default
(resulting in a short, wide image).

For details on the remaining configration options, see:
* :ref:`config_colormaps`
* :ref:`config_seasons`
* :ref:`config_comparison_grids`


Example Result
--------------

.. image:: examples/ice_production_nh.png
:width: 720 px
:align: center
88 changes: 88 additions & 0 deletions docs/users_guide/tasks/climatologyMapSeaIceProductionSH.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
.. _task_climatologyMapSeaIceProductionSH:

climatologyMapSeaIceProductionSH
================================

An analysis task for plotting maps of Antarctic sea ice production against
observations.

Component and Tags::

component: seaIce
tags: climatology, horizontalMap, seaIceProduction, publicObs

Configuration Options
---------------------

The following configuration options are available for this task::

[climatologyMapSeaIceProductionSH]
# options related to plotting horizontally remapped climatologies of
# sea ice production against control model results and observations
# in the southern hemisphere (SH)

# colormap for model/observations
colormapNameResult = dense
# whether the colormap is indexed or continuous
colormapTypeResult = continuous
# the type of norm used in the colormap
normTypeResult = linear
# A dictionary with keywords for the norm
normArgsResult = {'vmin': 0., 'vmax': 5.}
# place the ticks automatically by default
# colorbarTicksResult = numpy.linspace(-2., 2., 9)

# colormap for differences
colormapNameDifference = balance
# whether the colormap is indexed or continuous
colormapTypeDifference = continuous
# the type of norm used in the colormap
normTypeDifference = linear
# A dictionary with keywords for the norm
normArgsDifference = {'vmin': -3., 'vmax': 3.}
# place the ticks automatically by default
colorbarTicksDifference = [-3, -2, -1, 0, 1, 2, 3]

# Times for comparison times
seasons = ['ANN', 'DJF', 'JJA']

# comparison grid(s) ('latlon', 'antarctic') on which to plot analysis
comparisonGrids = ['latlon']

# reference lat/lon for sea ice plots in the northern hemisphere
minimumLatitude = -50
referenceLongitude = 180

# arrange subplots vertically?
vertical = False

# observations files
productionSH = AnIceFlux/aniceflux_v01_clim_mean_1982-2008.nc

The option ``minimumLatitude`` determines what the northernmost latitude (in
degrees) included in the plot will be. The option ``referenceLongitude``
defines which longitude will be at the bottom of the plot.

By default, plots are produced comparing modeled sea ice production against
``AnIceFlux`` (annual climatology only).

The option ``vertical = True`` can be used to plot 3 panels one above another
(resulting in a tall, thin image) rather than next to each other, the default
(resulting in a short, wide image).

For details on the remaining configration options, see:
* :ref:`config_colormaps`
* :ref:`config_seasons`
* :ref:`config_comparison_grids`

Observations
------------

* :ref:`aniceflux`

Example Result
--------------

.. image:: examples/ice_production_sh.png
:width: 720 px
:align: center
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.