cf.Field.mid_range

Field.mid_range()[source]

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

Returns
Data

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

Examples

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