Help us improve by taking our short survey: https://www.hdfgroup.org/website-survey/

| HDF5 Last Updated on 2026-07-28 The HDF5 Field Guide

Loading...
Searching...
No Matches
HDF5 Examples

Navigate back: Main / Getting Started with HDF5

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 Python, 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

# 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.

Navigate back: Main / Getting Started with HDF5