Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  IDL Reference  >  I/O - HDF5  >  H5_GETDATA

H5_GETDATA

H5_GETDATA

This function returns a dataset from an HDF5 file, given the identifier (StrID) of the dataset. To read a subset of the data, use H5D_READ instead.

Examples


file = FILEPATH('hdf5_test.h5', $
   SUBDIRECTORY=['examples','data'])
data = H5_GETDATA(file, '/images/Eskimo')
HELP, data
 

IDL displays:

 
DATA     BYTE    = Array[600, 649]
 

Syntax


 

Result = H5_GETDATA(Filename, StrID)

Arguments


Filename

A string denoting the name of the HDF5 file from which IDL will read the dataset.

StrID

A scalar string giving the full identifier of the dataset within the file. See H5_LIST for more information on the identifier.

Keywords


None

Version History


8.3

Introduced

See Also


H5_LIST, H5_PUTDATA



© 2018 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us