Skip to content

Commit 33bdb1b

Browse files
committed
Expand documentation.
1 parent 1c4f14c commit 33bdb1b

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

docs/src/further_topics/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Extra information on specific technical issues.
1515
lenient_maths
1616
um_files_loading
1717
missing_data_handling
18+
dataless_cubes
1819
netcdf_io
1920
dask_best_practices/index
2021
ugrid/index

docs/src/whatsnew/latest.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ 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+
(:issue:`5770`, :pull:`6581`)
46+
47+
#. `@pp-mo`_ added a documentation section on dataless cubes.
48+
See: :ref:`dataless-cubes`.
49+
(:issue:`XXX`, :pull:`XXX`)
50+
4351

4452
🐛 Bugs Fixed
4553
=============

lib/iris/tests/integration/merge/test_merge.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ def mangle_cubelist(cubelist, dataless_option):
5353
or dataless_option == "dataless_all"
5454
):
5555
# Make this one dataless
56-
cube = cube.copy()
57-
cube.data = None
56+
cube = cube.copy(iris.DATALESS)
5857

5958
result.append(cube)
6059

0 commit comments

Comments
 (0)