HDF_VD_LONE

The HDF_VD_LONE function returns an array containing all VDatas in a Hierarchical Data Format file that are not contained in another VData . If there are no lone VDatas , HDF_VD_LONE returns -1.

Calling Sequence

Result = HDF_VD_LONE( FileHandle )

Arguments

FileHandle

The HDF file handle returned from a previous call to HDF_OPEN.

Keywords

MAXSIZE

The maximum number of groups to be returned (the default is to return all known lone VDatas). For example, to return only the first 12 groups:

X = HDF_VD_LONE(fid, MAX=12)

Example

X = HDF_VD_LONE(fid)

IF N_ELEMENTS(X) EQ 0 THEN $

PRINT, 'No Lone VDatas' ELSE PRINT, 'Lone VDatas:', X