cf.Index.sum

Index.sum()[source]

The sum of the data array.

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>