cf.BoundedVariable.range

BoundedVariable.range()[source]

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

See also

collapse, max, mean, mid_range, min, sample_size, sd, sum, var

Examples 1:
>>> d = f.range()
Returns:
out: cf.Data

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

Examples 2:
>>> f.data
<CF Data: [[[236.512756348, ..., 256.93371582]]] K>
>>> f.range()
112.515182495
>>> f.range().data
<CF Data: 112.515182495 K>