cfdm.Domain.uncompress

Domain.uncompress(inplace=False)[source]

Uncompress the domain construct.

Compression saves space by identifying and removing unwanted missing data. Such compression techniques store the data more efficiently and result in no precision loss. Whether or not the metadata constructs are compressed does not alter its functionality nor external appearance.

Any compressed metadata constructs are uncompressed, and all other metadata constructs are unchanged.

New in version (cfdm): 1.10.0.0

See also

compress TODO

Parameters
inplace: bool, optional

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

Returns
Domain or None

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

Examples

>>> e = d.uncompress()
>>> e.equals(d)
True