cf.Field.sum

Field.sum()[source]

The sum of the data array.

Returns a scalar cf.Data object.

f.sum() is equivalent to f.data.sum(squeeze=True).

Examples:
>>> f.sum()
<CF Data: 17430607.321 hPa>

Previous topic

cf.Field.subspace

Next topic

cf.Field.transpose

This Page