nc_vardef adds a new variable to an open netCDF file in define mode.
Return Value
varid is the ID of the variable. If a error occurs, varid is -1.
Parameters
Identifies the netCDF file.
ssName is the name of the variable. Must begin with an alphabetic character or an underscore, followed by zero or more alphanumeric characters including the underscore (_) or numbers. Case is significant.
nDataType is the data type of the variable and is one of the following: NC_BYTE, NC_CHAR, NC_SHORT, NC_LONG, NC_FLOAT, NC_DOUBLE.
rvDimids is vector of dimension ID’s and defines the shape of a netCDF variable.
See also
id-1963459