Skip to content

Commit 98be450

Browse files
committed
Add documentation links.
1 parent f80042a commit 98be450

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/src/further_topics/netcdf_io.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,17 @@ Deferred Saving
189189
TBC
190190

191191

192+
Dataless Cubes
193+
--------------
194+
It now possible to have "dataless" cubes, where ``cube.data is None``.
195+
When these are saved to a NetCDF file interface, this results in a netcdf file variable
196+
with all-unwritten data (meaning that it takes up no storage space).
197+
198+
In order to load such variables back correctly, we also add an extra
199+
``iris_dataless_cube = "true"`` attribute : this tells the loader to skip array creation
200+
when loading back in, so that the read-back cube is also dataless.
201+
202+
192203
Guessing Coordinate Axes
193204
------------------------
194205

docs/src/whatsnew/latest.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ 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`_ made it possible to save 'dataless' cubes to a netcdf file, and load them
44+
back again. (:issue:`6727`, :pull:`6739`)
45+
4346

4447
🐛 Bugs Fixed
4548
=============

0 commit comments

Comments
 (0)