I was looking at the Java API examples for reading and writing compound data types. I ran the example and then tried to look at the resulting .h5 file in HDFView. The results are "garbage." The structure of the data is there however the values are definitely not what the example specified. I had a hunch that this was a memory issue, that the filetype memory of, say, an integer which is H5T_STD_I32BE might not be correct for my machine, though I'm not completely sure how that works.
Would anyone be able to explain why this might be happening? Is there something I'm missing about writting HDF5 out in Java? Attached is the code and a screen shot of my HDFView of the resulting file.
H5Ex_T_Compound.java
Description: Binary data
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
