cf.Data.nc_clear_hdf5_chunksizes

Data.nc_clear_hdf5_chunksizes()[source]

Clear the HDF5 chunksizes for the data.

Note

Chunksizes are cleared from the output of methods that change the data shape.

Note

Chunksizes are ignored for netCDF3 files that do not use HDF5.

New in version (cfdm): 1.7.2

Returns
tuple

The chunksizes defined prior to being cleared.

Examples

>>> d.shape
(1, 96, 73)
>>> d.nc_set_hdf5_chunksizes([1, 48, 73])
>>> d.nc_hdf5_chunksizes()
(1, 48, 73)
>>> d.nc_clear_hdf5_chunksizes()
(1, 48, 73)
>>> d.nc_hdf5_chunksizes()
()