cfdm.Data.uncompress

Data.uncompress(inplace=False)[source]

Uncompress the underlying array.

New in version (cfdm): 1.7.3

Parameters
inplace: bool, optional

If True then do the operation in-place and return None.

Returns
Data or None

The uncompressed data, or None if the operation was in-place.

Examples

>>> d.get_compression_type()
'ragged contiguous'
>>> d.source()
<RaggedContiguousArray(4, 9): >
>>> d.uncompress(inpalce=True)
>>> d.get_compression_type()
''
>>> d.source()
<NumpyArray(4, 9): >