Create an empty variable for the netcdf_file object, specifying its data type and the dimensions it uses.
name : str
type : dtype or str
dimensions : sequence of str
variable : netcdf_variable
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.