Should be trivial in python; personally I use the h5py module for such things. 
Write a python function that recursively returns all dataset names as a 
/full/path/to/dataset (I can dig it out if you don't figure out how to do it 
yourself, cc me in that case). Finally, read out the arrays in a loop and call 
array.max() on each, put the results in a list, and call max() on the list.

Right?

Paul.


On 15. mars 2011, at 20.31, Dave Wade-Stein wrote:

> I'd like to find the maximum value of every dataset in an hdf5 file.
> 
> Has anyone done this, perhaps with Python or C++?
> 
> Thanks,
> Dave
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


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

Reply via email to