cf.Data.range

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

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

Missing data array elements are omitted from the calculation.

Parameters
inplace: bool, optional

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

i: deprecated at version 3.0.0

Use the inplace parameter instead.

Returns
Data or None

The collapsed array.

Examples: