cfdm.Field.has_geometry

Field.has_geometry()[source]

Whether or not any coordinate constructs have cell geometries.

New in version (cfdm): 1.8.7.0

Returns
bool

Whether or not there is a geometry type on any coordinate construct.

Examples:

>>> f = cfdm.Field()
>>> f.has_geometry()
False