Hi,
You may want to have a look at the
JHDF5 library (https://wiki-bsse.ethz.ch/x/2QWWAQ).
Here is the code which covers your use case in JHDF5:
"""
IHDF5SimpleReader reader = HDF5Factory.openForReading("array.h5");
double[][] mydata = reader.readDoubleMatrix("mydata");
reader.close();
"""
Bernd
On 2013-01-20 00:57, Somebody wrote:
> Hello,
>
> I am using Eclipse and Java, and I need to load the contents
> of an .hdf5 file into a double[][] matrix. From what I read so far,
> it seems HDF5 is very complex. Where do I start learning?
> I only need to load contents of a file into a matrix.
>
> Thanks
>
>
> _______________________________________________
> 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