HDF_DFSD_GETSLICE procedure reads a
slice of data from the current Hierarchical Data Format file.
Note: Before calling HDF_DFSD_GETSLICE, call HDF_DFSD_GETINFO with the DIMS and TYPE keywords to get the dimensions and type of the next data slice. Failure to get the dimensions and type will cause the HDF interface to attempt to read the data incorrectly, and may cause unexpected results.
A scalar string containing the name of the file to be read.
A named variable in which the data, read from the SDS, is returned.
An optional vector containing the counts to be used in reading
. The default is to read all elements in each record taking the value of OFFSET into account.
A vector specifying the array indices within the specified record at which to begin reading. OFFSET is a 1-dimensional array containing one element per HDF dimension. The default value is zero for each dimension.