Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

NCDF_ATTDEL


Syntax | Arguments | Keywords | Examples | Version History | See Also

The NCDF_ATTDEL procedure deletes an attribute from a netCDF file.

Syntax

NCDF_ATTCDEL, Cdfid [, Varid | , /GLOBAL] , Name

Arguments

Cdfid

The netCDF ID, returned from a previous call to NCDF_OPEN or NCDF_CREATE.

Varid

The netCDF variable ID, returned from a previous call to NCDF_VARDEF or NCDF_VARID, or the name of the variable.

Name

A scalar string containing the name of the attribute to be deleted.

Keywords

GLOBAL

Set this keyword to delete a global variable.

Examples

; Open file test.nc for writing: 
id = NCDF_OPEN('test.nc', /WRITE) 
; Delete global attribute TITLE from the file: 
NCDF_ATTDEL, id, 'TITLE', /GLOBAL 
NCDF_CLOSE, id ; Close the file. 

Version History

Introduced: Pre 4.0

See Also

NCDF_ATTNAME, NCDF_ATTPUT


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]