nc_vardelete deletes a given variable. A variable can only be deleted if the file is not in definition mode.
Return Value
ret is -1 if an error occurs, otherwise ret is 1.
Parameters
Identifies the netCDF file.
ssName is the name of the netCDF variable.
Comment
This function can only be used for UniPlot data files (.nc2). See nc_create. For netCDF-files (NC_FORMAT_CLASSIC and NC_FORMAT_PC) the function always returns -1.
History
| Version | Description |
|---|---|
| 5.6.0 | New. |
See also
id-171309