cfdm.AuxiliaryCoordinate.del_node_count

AuxiliaryCoordinate.del_node_count(default=ValueError())[source]

Remove the node count variable for geometry bounds.

New in version (cfdm): 1.8.0

Parameters
default: optional

Return the value of the default parameter if the node count variable has not been set.

If set to an Exception instance then it will be raised instead.

Returns
NodeCount

The removed node count variable.

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