@@ -52,9 +52,9 @@ give them meaning.
5252The **metadata ** used to define an Iris `CF Conventions `_ class is composed of
5353individual **metadata members **, almost all of which reference specific
5454`CF Conventions `_ terms. The individual metadata members used to define each of
55- the Iris `CF Conventions `_ classes are shown in :numref : `metadata members table `.
55+ the Iris `CF Conventions `_ classes are shown in :ref : `metadata members table `.
5656
57- As :numref : `metadata members table ` highlights, **specific ** metadata is used to
57+ As :ref : `metadata members table ` highlights, **specific ** metadata is used to
5858define and represent each Iris `CF Conventions `_ class. This means that metadata
5959alone, can be used to easily **identify **, **compare ** and **differentiate **
6060between individual class instances.
@@ -111,7 +111,7 @@ Common Metadata API
111111 cube = iris.load_cube(iris.sample_data_path("A1B_north_america.nc"))
112112
113113As of Iris ``3.0.0 ``, a unified treatment of metadata has been applied
114- across each Iris class (:numref : `metadata members table `) to allow users
114+ across each Iris class (:ref : `metadata members table `) to allow users
115115to easily manage and manipulate their metadata in a consistent way.
116116
117117This is achieved through the ``metadata `` property, which allows you to
@@ -158,7 +158,7 @@ Or use the ``metadata`` property again, but this time on the ``forecast_period``
158158 CoordMetadata(standard_name='forecast_period', long_name=None, var_name='forecast_period', units=Unit('hours'), attributes={}, coord_system=None, climatological=False)
159159
160160Note that, the ``metadata `` property is available on each of the Iris `CF Conventions `_
161- class containers referenced in :numref : `metadata members table `, and thus provides
161+ class containers referenced in :ref : `metadata members table `, and thus provides
162162a **common ** and **consistent ** approach to managing your metadata, which we'll
163163now explore a little more fully.
164164
@@ -168,7 +168,7 @@ Metadata Classes
168168
169169The ``metadata `` property will return an appropriate `namedtuple `_ metadata class
170170for each Iris `CF Conventions `_ class container. The metadata class returned by
171- each container class is shown in :numref : `metadata classes table ` below,
171+ each container class is shown in :ref : `metadata classes table ` below,
172172
173173.. _metadata classes table :
174174.. table :: - Iris namedtuple metadata classes
@@ -187,7 +187,7 @@ each container class is shown in :numref:`metadata classes table` below,
187187 ========================================== ========================================================
188188
189189Akin to the behaviour of a `namedtuple `_, the metadata classes in
190- :numref : `metadata classes table ` create **tuple-like ** instances i.e., they provide a
190+ :ref : `metadata classes table ` create **tuple-like ** instances i.e., they provide a
191191**snapshot ** of the associated metadata member **values **, which are **not
192192settable **, but they **may be mutable ** depending on the data-type of the member.
193193For example, given the following ``metadata `` of a :class: `~iris.coords.DimCoord `,
@@ -243,13 +243,13 @@ with a **snapshot** of the container class metadata values at that point in time
243243
244244Skip ahead to :ref: `metadata assignment <metadata assignment >` for a fuller
245245discussion on options how to **set ** and **get ** metadata on the instance of
246- an Iris `CF Conventions `_ container class (:numref : `metadata classes table `).
246+ an Iris `CF Conventions `_ container class (:ref : `metadata classes table `).
247247
248248
249249Metadata Class Behaviour
250250------------------------
251251
252- As mentioned previously, the metadata classes in :numref : `metadata classes table `
252+ As mentioned previously, the metadata classes in :ref : `metadata classes table `
253253inherit the behaviour of a `namedtuple `_, and so act and feel like a `namedtuple `_,
254254just as you might expect. For example, given the following ``metadata ``,
255255
@@ -326,7 +326,7 @@ Richer Metadata Behaviour
326326 cube = iris.load_cube(iris.sample_data_path("A1B_north_america.nc"))
327327 longitude = cube.coord("longitude")
328328
329- The metadata classes from :numref : `metadata classes table ` support additional
329+ The metadata classes from :ref : `metadata classes table ` support additional
330330behaviour above and beyond that of the standard Python `namedtuple `_, which
331331allows you to easily **compare **, **combine **, **convert ** and understand the
332332**difference ** between your ``metadata `` instances.
@@ -340,7 +340,7 @@ Metadata Equality
340340The metadata classes support both **equality ** (``__eq__ ``) and **inequality **
341341(``__ne__ ``), but no other `rich comparison `_ operators are implemented.
342342This is simply because there is no obvious ordering to any collective of metadata
343- members, as defined in :numref : `metadata members table `.
343+ members, as defined in :ref : `metadata members table `.
344344
345345For example, given the following :class: `~iris.coords.DimCoord `,
346346
@@ -455,7 +455,7 @@ be ``False``,
455455
456456The reason different metadata classes cannot be compared is simply because each
457457metadata class contains **different ** members, as shown in
458- :numref : `metadata members table `. However, there is an exception to the rule...
458+ :ref : `metadata members table `. However, there is an exception to the rule...
459459
460460
461461.. _exception rule :
@@ -834,7 +834,7 @@ using ``from_metadata``,
834834 >>> print (newmeta)
835835 DimCoordMetadata(standard_name=air_temperature, var_name=air_temperature, units=K, attributes={'Conventions': 'CF-1.5', 'STASH': STASH(model=1, section=3, item=236), 'Model scenario': 'A1B', 'source': 'Data from Met Office Unified Model 6.05'})
836836
837- By examining :numref : `metadata members table `, we can see that the
837+ By examining :ref : `metadata members table `, we can see that the
838838:class: `~iris.cube.Cube ` and :class: `~iris.coords.DimCoord ` container
839839classes share the following common metadata members,
840840
@@ -880,7 +880,7 @@ Metadata Assignment
880880 latitude = cube.coord("latitude")
881881
882882The ``metadata `` property available on each Iris `CF Conventions `_ container
883- class (:numref : `metadata classes table `) can not only be used **to get **
883+ class (:ref : `metadata classes table `) can not only be used **to get **
884884the metadata of an instance, but also **to set ** the metadata on an instance.
885885
886886For example, given the following :class: `~iris.common.metadata.DimCoordMetadata ` of the
0 commit comments