Skip to content

Commit 1cb44e7

Browse files
committed
Fixes following implementation of dataless save-and-load (SciTools#6739).
1 parent c2bfca5 commit 1cb44e7

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

docs/src/further_topics/dataless_cubes.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The data array is simply discarded.
4242
Cube copy
4343
---------
4444
The syntax that allows you to replace data on copying,
45-
e.g. ``cube2 = cube.copy(new_data)``, has now extended to accept the special value
45+
e.g. ``cube2 = cube.copy(new_data)``, has been extended to accept the special value
4646
:data:`iris.DATALESS`.
4747

4848
So, ``cube2 = cube.copy(iris.DATALESS)`` makes ``cube2`` a
@@ -53,9 +53,7 @@ This is equivalent to ``cube2 = cube.copy(); cube2.data = None``.
5353
Save and Load
5454
-------------
5555
The netcdf file interface can save and re-load dataless cubes correctly.
56-
TODO: link to ref e.g. "netcdf_dataless" in netcdf docs,
57-
when #6339 "Dataless netcdf save+load" is in place.
58-
56+
See: :ref:`save_load_dataless`.
5957

6058
.. _dataless_merge:
6159

docs/src/further_topics/netcdf_io.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ Deferred Saving
188188

189189
TBC
190190

191+
.. _save_load_dataless:
191192

192193
Dataless Cubes
193194
--------------

docs/src/whatsnew/latest.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ This document explains the changes made to Iris for this release
4040
:func:`~iris.fileformats.netcdf.saver.save_mesh` also supports ``zlib``
4141
compression. (:issue:`6565`, :pull:`6728`)
4242

43-
#. `@pp-mo`_ added the ability to merge dataless cubes. This also means they can be
44-
re-loaded normally with :meth:`iris.load`. See: :ref:`dataless_merge`.
45-
Also added a new documentation section on dataless cubes.
46-
(:issue:`5770`, :pull:`6581`)
47-
4843
#. `@pp-mo`_ made it possible to save 'dataless' cubes to a netcdf file, and load them
4944
back again. (:issue:`6727`, :pull:`6739`)
5045

@@ -58,6 +53,11 @@ This document explains the changes made to Iris for this release
5853
:func:`~iris.cube.Cube.slices` to work with dataless cubes.
5954
(:issue:`6725`, :pull:`6724`)
6055

56+
#. `@pp-mo`_ added the ability to merge dataless cubes. This also means they can be
57+
re-loaded normally with :meth:`iris.load`. See: :ref:`dataless_merge`.
58+
Also added a new documentation section on dataless cubes.
59+
(:issue:`5770`, :pull:`6581`)
60+
6161

6262
🐛 Bugs Fixed
6363
=============

0 commit comments

Comments
 (0)