Obtains HDF object (e.g., an SDS, Raster 8 image, etc.) annotations, either a label or a description.
tag
ref
Help
Label
Usage
newdesc = BYTE (' ') tag = DFTAG_RI8 ref = 2 status = HDFGETANN (testfile, tag, ref, $ Description=newdesc) IF (status EQ FAIL) THEN $
MESSAGE, 'Failed HDFGETANN with'+$ 'Description.'
PRINT, STRING (newdesc)
DFANGETDESC, DFANGETDESCLEN, DFANGETLABLEN,DFANGETLABEL, DFANPUTDESC, DFANPUTLAB
For more information on using the HDF interface and the calling sequence for the entire suite of HDF base functions, refer to Appendix , The PV-WAVE HDF Interface.
For a complete list of the HDF convenience routines, refer to Chapter 1, Functional Summary of Routines.