HDF_EXISTS

The HDF_EXISTS function returns True if the Hierarchical Data Format (HDF) scientific data format library is supported on the current IDL platform.

This routine is written in the IDL language. Its source code can be found in the file hdf_exists.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = HDF_EXISTS()

Example

The following IDL command prints an error message if the HDF library is not available:

IF HDF_EXISTS() EQ 0 THEN PRINT, 'HDF not supported.'