Create an empty variable for the netcdf_file object, specifying its data type and the dimensions it uses.
Parameters : | name : str
type : dtype or str
dimensions : sequence of str
|
---|---|
Returns : | variable : netcdf_variable
|
See also
Notes
Any dimensions to be used by the variable should already exist in the NetCDF data structure or should be created by createDimension prior to creating the NetCDF variable.