cf.FieldAncillary.sum

FieldAncillary.sum()[source]

The sum of the data array.

See also

maximum, mean, mid_range, minimum, range, sample_size, standard_devitation, variance

Returns
Data

The sum of the data array.

Examples

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