Skip to content

Commit ef5a2b0

Browse files
committed
update whatsnew entry
1 parent ce41ee5 commit ef5a2b0

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/src/whatsnew/latest.rst

+9-10
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,15 @@ This document explains the changes made to Iris for this release
4242
:issue:`4039` (:pull:`6167`).
4343

4444
#. `@ESadek-MO`_ made :attr:`~iris.cube.Cube.data` optional in a
45-
:class:`~iris.cube.Cube`, when :attr:`~iris.cube.Cube.shape` is provided
46-
instead. `dataless cubes` can currently be used as targets in regridding, or
47-
for templates to add data to at a later time.
48-
49-
This is the first step in making `dataless cubes`. Currently, most cube methods
50-
don't work on `dataless cubes`, and will raise in an error if attempted.
51-
:meth:`~iris.cube.Cube.transpose` will work, as will :meth:`~iris.cube.Cube.copy`.
52-
`my_cube.copy(data = iris.DATALESS)` will copy the cube and remove data in
53-
the process.
54-
(:issue:`4447`, :pull:`6253`)
45+
:class:`~iris.cube.Cube`, when :attr:`~iris.cube.Cube.shape` is provided. A
46+
`dataless cube` may be used as a target in regridding, or as a template cube
47+
to add data to at a later time.
48+
49+
This is the first step in providing `dataless cube` support. Currently, most
50+
cube methods won't work with a `dataless cube` and will raise an exception.
51+
However, :meth:`~iris.cube.Cube.transpose` will work, as will
52+
:meth:`~iris.cube.Cube.copy`. Note that, ``cube.copy(data=iris.DATALESS)``
53+
will provide a dataless copy of a cube. (:issue:`4447`, :pull:`6253`)
5554

5655
🐛 Bugs Fixed
5756
=============

0 commit comments

Comments
 (0)