HDF Interfaces

There are two basic interfaces to HDF files: the single-file application interface and the multiple-file application interface. These interfaces support eight different types (or "models") of data access. The table below lists the different models and the names of the IDL routines that access those models. Each model is described in more detail after the table.

Table 4-1: Data Access Models and Routine Prefixes

Model
IDL Routine Name Prefix

24-bit raster

HDF_DF24_

annotation data

HDF_DFAN_

palette data

HDF_DFP_

8-bit raster

HDF_DFR8_

scientific data

HDF_SD_

multi-file scientific data

HDF_SD_

VData

HDF_VD_

VGroup

HDF_VG_

Single File Application Interfaces

In this mode, access is limited to one file at a time. This interface supports the 8-bit raster, 24-bit raster, palette, scientific data, and annotation models. The interfaces are described in more detail after the table.

Multi-File Application Interface

The HDF_SD_ routines allow operations on more than one file at a time. This multi-file interoperability is achieved through HDF's use of a modified version of the NetCDF library. IDL's interface to HDF's multi-file capability is the HDF_SD_SETEXTFILE routine.