cf.Data.range

Data.range(axes=None, squeeze=True, mtol=1, i=False, _preserve_partitions=False)[source]

Collapse axes with the absolute difference between their maximum and minimum values.

Missing data array elements are omitted from the calculation.

Parameters:
i : bool, optional

If True then update the data array in place. By default a new data array is created.

Returns:
out: cf.Data

The collapsed array.

Examples: