cfdm.DimensionCoordinate.has_node_count¶
-
DimensionCoordinate.
has_node_count
()[source]¶ Whether geometry bounds have a node count variable.
New in version (cfdm): 1.8.0
See also
- Returns
bool
True if there is a node count variable, otherwise False.
Examples
>>> n = cfdm.NodeCount(properties={'long_name': 'node counts'}) >>> c.set_node_count(n) >>> c.has_node_count() True >>> c.get_node_count() <NodeCount: long_name=node counts> >>> c.del_node_count() <NodeCount: long_name=node counts> >>> c.has_node_count() False