cf.Field.mid_range

Field.mid_range()[source]

The unweighted average of the maximum and minimum of the data array.

Returns a scalar cf.Data object.

f.mid_range() is equivalent to f.data.range(squeeze=True).

Examples:
>>> f.mid_range()
<CF Data: 82.349 hPa>

Previous topic

cf.Field.method

Next topic

cf.Field.min

This Page