cf.Variable.mask

Variable.mask

A variable containing the mask of the data array.

Examples:
>>> v
<CF Variable: air_temperature(12, 73, 96) K>
>>> m = v.mask
>>> m
<CF Variable: long_name:mask(12, 73, 96) >
>>> m.data
<CF Data: [[[True, ..., False]]] >

Previous topic

cf.Variable.isscalar

Next topic

cf.Variable.minute

This Page