cfdm.core.Field.domain

Field.domain

Return the domain.

f.domain is equivalent to f.get_domain()

New in version (cfdm): 1.7.0

See also

get_domain

Returns
Domain

The domain.

Examples

>>> f = cfdm.core.example_field(2)
>>> f.domain
<Domain: {1, 5, 8, 36}>
>>> d0 = f.domain
>>> d1 = f.get_domain()
>>> d0.equals(d1)
True