cf.Field.mask

Field.mask

A field containing the mask of the data array.

Examples

>>> f
<CF Field: air_temperature(time(12), latitude(73), longitude(96)) K>
>>> m = f.mask
>>> m
<CF Field: mask(time(12), latitude(73), longitude(96)) >
>>> m.Data
<CF Data: [[[True, ..., False]]] >

Previous topic

cf.Field.isscalar

Next topic

cf.Field.ndim

This Page