cfdm.Field.has_geometry

Field.has_geometry()[source]

Return whether or not any coordinates have cell geometries.

New in version (cfdm): 1.8.0

Returns
bool

True if there are geometries, otherwise False.

Examples

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