The HDF_VD_ATTRINFO procedure reads or retrieves information about a VData attribute or a VData field attribute from the currently attached HDF VData structure. If the attribute is not present, an error message is printed.
Examples
For an example using this routine, see HDF_VD_ATTRSET.
Syntax
HDF_VD_ATTRINFO, VData, FieldID, AttrID [, COUNT=variable] [, DATA=variable] [, HDF_TYPE=variable] [, NAME=variable ] [, TYPE=variable]
Arguments
VData
The VData handle returned by a previous call to HDF_VD_ATTACH.
FieldID
A zero-based index specifying the field, or a string containing the name of the field within the VData whose attribute is to be read. Setting FieldID to -1 specifies that the attribute to be read is attached to the VData itself.
AttrID
A zero-based integer index specifying the attribute to be read, or a string containing the name of that attribute.
Keywords
COUNT
Set this keyword to a named variable in which the number of data values (order of the attribute) is returned.
DATA
Set this keyword to a named variable in which the attribute data is returned.
HDF_TYPE
Set this keyword to a named variable in which the HDF data type of the attribute is returned as a scalar string.
NAME
Set this keyword to a named variable in which the name of the attribute is returned.
TYPE
Set this keyword to a named variable in which the IDL type of the attribute is returned as a scalar string.
Version History
See Also
HDF_VD_ATTRFIND, HDF_VD_ATTRSET, HDF_VD_ISATTR, HDF_VD_NATTRS