The NCDF_ATTDEL procedure deletes an attribute from a netCDF file.
NCDF_ATTDEL, Cdfid, [Varid,] Name
The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.
The netCDF variable ID, returned from a previous call to NCDF_VARDEF or NCDF_VARID, or the name of the variable.
A scalar string containing the name of the attribute to be deleted.
Set this keyword to delete a global variable.
id = NCDF_OPEN('test.nc', /WRITE) ; Open file test.nc for writing.
NCDF_ATTDEL, id, 'TITLE', /GLOBAL ; Delete global attribute TITLE from the file.
NCDF_CLOSE, id ; Close the file.
NCDF_ATTNAME , NCDF_ATTPUT