cf.List.nc_set_variable¶
-
List.
nc_set_variable
(value)[source]¶ Set the netCDF variable name.
New in version 1.7.0.
See also
Parameters: - value:
str
The value for the netCDF variable name.
Returns: Examples:
>>> f.nc_set_variable('tas') >>> f.nc_has_variable() True >>> f.nc_get_variable() 'tas' >>> f.nc_del_variable() 'tas' >>> f.nc_has_variable() False >>> print(f.nc_get_variable(None)) None >>> print(f.nc_del_variable(None)) None
- value: