cf.AuxiliaryCoordinate.nc_has_node_coordinate_variable

AuxiliaryCoordinate.nc_has_node_coordinate_variable()[source]

Whether the netCDF node coordinate variable name is set.

New in version (cfdm): 1.11.0.0

Returns
bool

True if the netCDF node coordinate variable name has been set, otherwise False.

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