cf.Field.mask

Field.mask

A variable containing the mask of the data array.

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

Previous topic

cf.Field.ismeasure

Next topic

cf.Field.rank

This Page