HDF5

HDF5 is a machine-independent data format and software library for representing scientific data. The HDF5 software was developed at the National Center for Supercomputing Applications, by the Software Development Group, the same group that developed the Mosaic browser, at the University of Illinois at Champaign-Urbana.

This page contains several several additions to the official HDF5 distribution.

HDF5 Tools

HDF5-related tools are software programs that allow some interaction with a HDF5 file, like examining the file or changing its contents.

h5merge

Tool Name: h5merge
Syntax:
h5merge -i file1 -o file2

Purpose:
Merge two HDF5 files.

Description:
h5merge is a command line tool that merges two HDF5 files.

Options and Parameters:

H5nx: HDF5 NeXus writer

NeXus is a common data format for neutron, x-ray, and muon science. It is being developed as an international standard by scientists and programmers representing major scientific facilities in Europe, Asia, Australia, and North America in order to facilitate greater cooperation in the analysis and visualization of neutron, x-ray, and muon data.

Please see the HDF5 NeXus writer page.

Build h5tools in a Unix system

The h5tools package depends on several pre-installed libraries, namely HDF5, zlib. It is possible and often preferable to install most of the pre-requisite and optional software from pre-compiled packages.

On a Debian-based system (e.g Ubuntu) do

$ sudo apt-get install libhdf5-serial-dev

On a RPM-based system (e.g Fedora) do

$ sudo yum install hdf5-devel

To build h5tools from the command line using Makefile.h5tools, do:

$ cd gnu
$ make -f Makefile.h5tools



To build h5tools in a Unix system using GNU autotools, do:

$ cd gnu
$ autoreconf --force --install --verbose
$ ./configure
$ make


Build h5tools with Qt

Qt is a cross platform (Linux, Mac OSX or Windows enviroment) build system. To install Qt on a Debian-based system, do

$ sudo apt-get install qt4-qmake

h5tools can be built either from the Qt IDE, QtCreator, or from the command line. To build h5tools with QtCreator, just open the file /qt/h5tools.pro. To build h5tools from the command line, do:

$ cd qt
$ qmake
$ make



Build h5tools in Windows with Visual Studio

To build h5tools with Visual Studio 2010, open the file /qt/h5tools.sln with Visual Studio.

h5tools depends on several pre-installed libraries, namely HDF5, zlib. The h5merge supplied Visual Studio projects assume static builds of these libraries. These are specified by means of the following Windows enviroments variables in the projects:


LIB_HDF5
LIB_HDF5_HL
LIB_ZLIB
LIB_SZIP

Additionnaly, the following environment variables must also be defined for the location of the HDF5 header files:

HEADER_HDF5
HEADER_HDF5_HL

Download h5tools


LibraryDescriptionFileSizeDate
h5toolsContains the projects:
/h5merge
/h5nx
h5tools.tar.gz1.3KB
July 22, 2012
HDF5 1.8.5 patch1Contains the projects:
/hdf5
/hdf5_hl
/h5tinit
/h5libsettings
hdf5-1.8.5.patch1.tar.gz1.8MB
June 24, 2012

h5merge is used at the Spallation Neutron Source of the Oak Ridge National Laboratory


© 2000-2012 Space Research Software LLC | Contact Information | Home