cf.Coordinate.mask

Coordinate.mask

A variable containing the mask of the data array.

The bounds data array is ignored, if present.

Examples

>>> c
<CF Coordinate: latitude(23) degrees_N>
>>> m = c.mask
>>> m
<CF Variable: long_name:mask(23) >
>>> m.Data
<CF Data: [True, ..., False] >

Previous topic

cf.Coordinate.isscalar

Next topic

cf.Coordinate.ndim

This Page