Previous Scientific Data Formats: Hierarchical Data Format Next

Creating HDF Files

The following IDL commands should be used to create a new HDF file:

Adding Data to an HDF File

The routines used to add data to an HDF file vary based on the interface model being used:

HDF Examples


Example Code
Two example files that demonstrate the use of the HDF routines can be found in the examples/doc/sdf subdirectory of the IDL distribution. The file hdf_info.pro prints a summary of basic information about an HDF file. The file hdf_rdwr.pro creates a new HDF file and then reads the information back from that file.

  IDL Online Help (March 06, 2007)