nc_attdeleteΒΆ

nc_attdelete deletes a given attribut. The file must be in define mode.

ret = nc_attdelete(ncid, varid, ssName)

Return Value

ret is -1 if an error occurs, otherwise ret is 1.

Parameters

ncid

Identifies the netCDF file.

varid

varid is the identification number of the variable or -1 for a global attribute.

ssName

ssName is the name of the netCDF attribute.

id-207933