cfdm.core.Field.get_domain

Field.get_domain()[source]

Return the domain.

New in version (cfdm): 1.7.0

See also

domain

Returns
Domain

The domain.

Examples:

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