Skip to content
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
6 changes: 6 additions & 0 deletions docs/src/userguide/cube_maths.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ broadcasting behaviour::
>>> print(result.summary(True))
unknown / (K) (time: 240; latitude: 37; longitude: 49)


.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_general_plot_anomaly_log_colouring.py` (Anomaly)

Combining Multiple Phenomena to Form a New One
----------------------------------------------

Expand Down
5 changes: 5 additions & 0 deletions docs/src/userguide/cube_statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Cube Statistics
===============

.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_general_plot_zonal_means.py` (Collapsing)

.. _cube-statistics-collapsing:

Collapsing Entire Data Dimensions
Expand Down
5 changes: 5 additions & 0 deletions docs/src/userguide/merge_and_concat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,11 @@ which are described below.
Using CubeList.concatenate
==========================

.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_general_plot_projections_and_annotations.py` (Brief concatenating examples)

The :meth:`CubeList.concatenate <iris.cube.CubeList.concatenate>` method operates on a list
of cubes and returns a new :class:`~iris.cube.CubeList` containing the cubes
that have been concatenated.
Expand Down
8 changes: 8 additions & 0 deletions docs/src/userguide/navigating_a_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ cube with the :attr:`Cube.cell_methods <iris.cube.Cube.cell_methods>` attribute:

print(cube.cell_methods)

.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_meteorology_plot_wind_barbs.py`

Accessing Coordinates on the Cube
---------------------------------
Expand Down Expand Up @@ -176,6 +180,10 @@ We can add and remove coordinates via :func:`Cube.add_dim_coord<iris.cube.Cube.a

The coordinate ``my_custom_coordinate`` now exists on the cube and is listed under the non-dimensioned single valued scalar coordinates.

.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_general_plot_custom_file_loading.py` (Adding Metadata)

Adding and Removing Metadata to the Cube at Load Time
-----------------------------------------------------
Expand Down
10 changes: 7 additions & 3 deletions docs/src/userguide/plotting_a_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ high quality, production ready 1D and 2D plots.
The functionality of the Matplotlib :py:mod:`~matplotlib.pyplot` module has
been extended within Iris to facilitate easy visualisation of a cube's data.

.. seealso::

Relevant gallery example:
:ref:`sphx_glr_generated_gallery_general_plot_zonal_means.py` (Plotting with multiple axes)

***************************
Matplotlib's Pyplot Basics
Expand Down Expand Up @@ -82,9 +86,9 @@ so ensure that interactive mode is turned off with::

plt.interactive(False)


Saving a Plot
=============
===============
Saving a Plot
===============

The :py:func:`matplotlib.pyplot.savefig` function is similar to **plt.show()**
in that they are both *non-interactive* visualisation modes.
Expand Down
7 changes: 7 additions & 0 deletions docs/src/userguide/subsetting_a_cube.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ However it is often necessary to reduce the dimensionality of a cube down to som
Iris provides several ways of reducing both the amount of data and/or the number of dimensions in your cube depending on the circumstance.
In all cases **the subset of a valid cube is itself a valid cube**.


.. seealso::

Relevant gallery examples:
- :ref:`sphx_glr_generated_gallery_general_plot_polynomial_fit.py` (Slices)
- :ref:`sphx_glr_generated_gallery_general_plot_anomaly_log_colouring.py` (Extraction)

.. _cube_extraction:

Cube Extraction
Expand Down
2 changes: 2 additions & 0 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ This document explains the changes made to Iris for this release
#. `@Esadek-MO`_ added a key-terms :ref:`glossary` page into the user guide. (:pull:`4902`)
#. `@pp-mo`_ added a :ref:`code example <ORCA_example>`
for converting ORCA-gridded data to an unstructured cube. (:pull:`5013`)
#. `@Esadek-MO`_ added links to relevant Gallery examples within the User Guide
to improve understanding. (:pull:`5009`)


💼 Internal
Expand Down