Elena,

Thanks for the reply! Explains a lot of my frustration! If it helps your
development team at all, I determined I can bypass this bug by using the
same non-native data types for both the memory and file data types. Is that
a valid work around or could this potentially be damaging to my data? My
coworker and I hypothesized that it might be that Java is bypassing the
native datatypes all together. I was interested by this issue and I'd love
to here any more detailed understanding, if you guys have any. Obviously, I
understand if your a little busy to explain, thanks for the info!

-Ian

On Mon, Aug 24, 2015 at 6:35 PM, Elena Pourmal <[email protected]>
wrote:

> Hi Ian,
>
> This is a known bug (for reference, it is JAVA-1911). We are looking into
> it.
>
> Elena
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Elena Pourmal  The HDF Group  http://hdfgroup.org
> 1800 So. Oak St., Suite 203, Champaign IL 61820
> 217.531.6112
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
> On Aug 20, 2015, at 11:59 AM, Ian Camerlin <[email protected]> wrote:
>
> 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.
> <HDF_view_example.png><H5Ex_T_Compound.java>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to