About Read HDF5 file

Hi everyone,

I met some problem on read the .h5 files.
The software I'm using now outputs HDF5 files (.h5). I'm a new guy to HDF.
Anyone can tell me how I can read the hdf5 files? so that I can do some
process of the data in output result as I want.
I found the application HDFview. It can read the file, but I couldn't do
any thing ( like add or subtract etc.)

Feng

Hi,

if you want to read the files and perform basic analysis (not high-performance computing), I'd recommend python and the h5py library, or matlab, depending on your preferences. I believe (but don't know for sure) that Mathematica also reads hdf5 files.

Also, you can dump hdf5 files to ASCII text using the command-line program h5dump. From there, you can read the text into any programming language and/or environment.

Paul

···

On 1. mars 2012, at 09:43, feng lin wrote:

Hi everyone,

I met some problem on read the .h5 files.
The software I'm using now outputs HDF5 files (.h5). I'm a new guy to HDF. Anyone can tell me how I can read the hdf5 files? so that I can do some process of the data in output result as I want.
I found the application HDFview. It can read the file, but I couldn't do any thing ( like add or subtract etc.)

Feng
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Hi Paul,

h5dump works well, Thanks a lot.

Feng

···

On Thu, Mar 1, 2012 at 10:51 AM, Paul Anton Letnes < paul.anton.letnes@gmail.com> wrote:

Hi,

if you want to read the files and perform basic analysis (not
high-performance computing), I'd recommend python and the h5py library, or
matlab, depending on your preferences. I believe (but don't know for sure)
that Mathematica also reads hdf5 files.

Also, you can dump hdf5 files to ASCII text using the command-line program
h5dump. From there, you can read the text into any programming language
and/or environment.

Paul

On 1. mars 2012, at 09:43, feng lin wrote:

> Hi everyone,
>
> I met some problem on read the .h5 files.
> The software I'm using now outputs HDF5 files (.h5). I'm a new guy to
HDF. Anyone can tell me how I can read the hdf5 files? so that I can do
some process of the data in output result as I want.
> I found the application HDFview. It can read the file, but I couldn't do
any thing ( like add or subtract etc.)
>
> Feng
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@hdfgroup.org
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org