cf.DimensionCoordinate.mid_range

DimensionCoordinate.mid_range()

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

See also

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

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()
<CF Data: 255.08618927 K>