cf.AuxiliaryCoordinate.nc_set_node_coordinate_variable¶
- AuxiliaryCoordinate.nc_set_node_coordinate_variable(value)[source]¶
Set the netCDF node coordinate variable name.
If there are any
/
(slash) characters in the netCDF name then these act as delimiters for a group hierarchy. By default, or if the name starts with a/
character and contains no others, the name is assumed to be in the root group.Added in version (cfdm): 1.11.0.0
See also
nc_get_node_coordinate_variable
,nc_has_node_coordinate_variable
,nc_del_node_coordinate_variable
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