cf.Field.range

Field.range()[source]

The absolute difference between the maximum and minimum of the data array.

Returns:
Data

The absolute difference between the maximum and minimum of the data array.

Examples:

>>> f.data
<CF Data(12, 73, 96): [[[236.512756348, ..., 256.93371582]]] K>
>>> f.range()
112.515182495
>>> f.range().data
<CF Data(): 112.515182495 K>