cf.AuxiliaryCoordinate.nc_del_node_coordinate_variable

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

Remove the netCDF node coordinate variable name.

Added in version (cfdm): 1.11.0.0

Parameters:
default: optional

Return the value of the default parameter if the netCDF node coordinate variable name has not been set. If set to an Exception instance then it will be raised instead.

Returns:
str

The removed netCDF node coordinate variable name.

Examples

>>> f.nc_set_node_coordinate_variable('node_x')
>>> f.nc_has_node_coordinate_variable()
True
>>> f.nc_get_node_coordinate_variable()
'node_x'
>>> f.nc_del_node_coordinate_variable()
'node_x'
>>> f.nc_has_node_coordinate_variable()
False
>>> print(f.nc_get_node_coordinate_variable(None))
None
>>> print(f.nc_del_node_coordinate_variable(None))
None