cf.DimensionCoordinate.del_part_node_count¶
- DimensionCoordinate.del_part_node_count(default=ValueError())[source]¶
Remove the part node count variable for geometry bounds.
Added in version (cfdm): 1.8.0
- Parameters:
- default: optional
Return the value of the default parameter if the part node count variable has not been set.
If set to an
Exception
instance then it will be raised instead.
- Returns:
PartNodeCount
The removed part node count variable.
Examples
>>> p = cf.PartNodeCount(properties={'long_name': 'part node counts'}) >>> c.set_part_node_count(p) >>> c.has_part_node_count() True >>> c.get_part_node_count() <CF PartNodeCount: long_name=part node counts> >>> c.del_part_node_count() <CF PartNodeCount: long_name=part node counts> >>> c.has_part_node_count() False