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 from Learning the Basics
Examples by API
Examples in the Source Code
For information on compiling in C, C++ and Fortran, see: Compiling HDF5 Applications
IDL, MATLAB, and NCL Examples for HDF-EOS
Examples of how to access and visualize NASA HDF-EOS files using IDL, MATLAB, and NCL.
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.