cfdm.CellConnectivity.nc_set_connectivity_dimension

CellConnectivity.nc_set_connectivity_dimension(value)[source]

Set the netCDF connectivity dimension 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.13.1.0

Parameters:
value: str

The value for the netCDF connectivity dimension name.

Returns:

None

Examples

>>> f.nc_set_connectivity_dimension('time')
>>> f.nc_has_connectivity_dimension()
True
>>> f.nc_get_connectivity_dimension()
'time'
>>> f.nc_del_connectivity_dimension()
'time'
>>> f.nc_has_connectivity_dimension()
False
>>> print(f.nc_get_connectivity_dimension(None))
None
>>> print(f.nc_del_connectivity_dimension(None))
None