cf.Data.mask

Data.mask

The boolean missing data mask of the data array.

The boolean mask has True where the data array has missing data and False otherwise.

Examples:
>>> d.shape
(12, 73, 96)
>>> m = d.mask
>>> m
<CF Data: >
>>> m.dtype
dtype('bool')
>>> m.shape
(12, 73, 96])