Example programs of how to use HDF5 are provided below. For HDF-EOS specific examples, see the examples of how to access and visualize NASA HDF-EOS files using IDL, MATLAB, and NCL on the HDF-EOS Tools and Information Center page.

Examples

Examples from Learning the Basics

Examples by API

Examples in the Source Code

Other Examples


How To Compile

For information on compiling in C, C++ and Fortran, see: Compiling HDF5 Applications


Other Examples

IDL, MATLAB, and NCL Examples for HDF-EOS
Examples of how to access and visualize NASA HDF-EOS files using IDL, MATLAB, and NCL.

Miscellaneous Examples
These (very old) examples resulted from working with users, and are not fully tested. Most of them are in C, with a few in Fortran and Java.

Using Special Values
These examples show how to create special values in an HDF5 application.