cf.Data.ismasked

Data.ismasked

True if the data array has any masked values.

Examples

>>> d = cf.Data([[1, 2, 3], [4, 5, 6]])
>>> print d.ismasked
False
>>> d[0, ...] = cf.masked
>>> d.ismasked
True

Previous topic

cf.Data.hour

Next topic

cf.Data.isscalar

This Page