print page

Reading HDF-5 and HDF-EOS with Fortran-90

This module is written to read user selected datasets and attributes from HDF-5 and HDF-EOS datafiles for further processing without having to go into the details of reading such files. The user only needs to know what he/she wants to read and of what data type (integer, real, string, ...) and rank (scalar, vector, ...) it is.

The package includes a sample data file and a sample program showing how the module has to be used. The routine have been tested on only a few HDF-5 and HDF-EOS files and does certainly not cover all possible types of data in such files.

 

Data read by the module

The module is designed to read individual, user selected datasets and attributes from an HDF-5 or HDF-EOS file. The following data types are supported:
  • 0-, 1-, 2- or 3-dimensional datasets or attributes, which can be of integer, real or double precision data type (0-dim. means here a scalar).
  • 0- and 1-dimensional character strings in attributes or datasets (0-dim. means here a single string, 1-dim. a 1-D array of strings).
  • 0- and 1-dimensional integer, real or double parts of compound attributes or datasets (0-dim. means here a scalar); note that the different parts of a compound set have to be read separately.

 

Download the module

Current version: 1.6 (24 January 2011) In order for the routines to work, it is required that the HDF-5 library package has been installed successfully. Depending on the installation of that library, it may also be necessary to install the Szip library. See the links provided below for info and downloads.

For remarks and suggestion regarding the "hdf5read" module, please contact Jeroen van Gent.

 

External links

Some useful links regaring HDF-5:  
 
Last update on 29 Sep 2015