cf.Field.mid_range

Field.mid_range()[source]

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

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

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

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