I see that the packet table create/append combination does not have both a
memory and file data type involved and it isn't clear to me how PT
append/read will work exactly.
If a PT create type is LE, will the PT read on a BE machine be LE or BE?
If a PT create type on a LE machine is NATIVE, will the PT read on a BE
machine be LE or BE?
Thank you.
Hi Gordon,
Thank you for your excellent question!
I see that the packet table create/append combination does not have both a memory and file data type involved and it isn't clear to me how PT append/read will work exactly.
I reviewed the code and I think it shouldn’t work unless create/append happens on the same platform and the type of the data matches the type specified at creation time. I filed a bug report to take a closer look and to make sure we have a cross-platform testing for packet tables. For your reference JIRA issue is HDFFV-9042.
Elena
···
On Nov 14, 2014, at 12:39 PM, Gordon Smith <spider.karma+hdfgroup.org@gmail.com> wrote:
If a PT create type is LE, will the PT read on a BE machine be LE or BE?
If a PT create type on a LE machine is NATIVE, will the PT read on a BE machine be LE or BE?
Thank you.
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5
Thank you for responding. I think it would be useful in the packet table
function docs to specify that only native datatypes should be used.
···
On Sun, Dec 7, 2014 at 8:02 PM, Elena Pourmal <epourmal@hdfgroup.org> wrote:
Hi Gordon,
Thank you for your excellent question!
On Nov 14, 2014, at 12:39 PM, Gordon Smith < > spider.karma+hdfgroup.org@gmail.com> wrote:
> I see that the packet table create/append combination does not have both
a memory and file data type involved and it isn't clear to me how PT
append/read will work exactly.
>
I reviewed the code and I think it shouldn’t work unless create/append
happens on the same platform and the type of the data matches the type
specified at creation time. I filed a bug report to take a closer look and
to make sure we have a cross-platform testing for packet tables. For your
reference JIRA issue is HDFFV-9042.
Elena
> If a PT create type is LE, will the PT read on a BE machine be LE or BE?
>
> If a PT create type on a LE machine is NATIVE, will the PT read on a BE
machine be LE or BE?
>
> Thank you.
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> Hdf-forum@lists.hdfgroup.org
>
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5