cf.Field.domain_mask

Field.domain_mask(*args, **kwargs)[source]

The mask of the data array.

New in version 1.1.

See also

indices, mask, subspace

Examples 1:

Creat a which is True within 30 degrees of the equator:

>>> m = f.domain_mask(latitude=cf.wi(-30, 30))
Parameters:

args, kwargs: optional

Returns:
out: cf.Field

The domain mask.

Examples 2: