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.last_datum

Next topic

cf.Variable.ndim

This Page