cf.Data.masked_all

classmethod Data.masked_all(shape, dtype=None, units=None, chunk=True)[source]

Return a new data array of given shape and type with all elements masked.

See also

empty, ones, zeros

Parameters
shape: int or tuple of int

The shape of the new array.

dtype: data-type

The data-type of the new array. By default the data-type is float.

units: str or Units

The units for the new data array.

Returns
Data

TODO

Examples:

>>> d = cf.Data.masked_all((96, 73))