cf.Data.ismasked

Data.ismasked()

True if the data array has any masked values.

Deprecated at version 3.14.0. Use the is_masked attribute instead.

Examples

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