Hello Elena, thank you for your reply!
15.04.2015 5:49, Elena Pourmal пишет:
Hi Andrei,
You are definitely driving HDF5 to its limits :-)
HDF5 has a limitation on the index value for the attributes (2 bytes);
see attribute info message
<http://www.hdfgroup.org/HDF5/doc/H5.format.html#AinfoMessage> in the
HDF5 File Format Specification.
Nevertheless, I think it is a bug and we will need to address it. May be
you’ve already noticed that the file becomes corrupted. I entered an
issue into our JIRA DB HDFFV-9281.
All,
Is there a good reason to have more than 65533 attributes on an object?
If so, we will need to change HDF5 files format.
I agree that having 65533 attributes is crazy :-)
However if you look at the code you will see that the file has at most 2
attributes at a time (note the call to H5Adelete).
I was able to circumvent the problem in my client code, but it's still
unexpected that index value grows unlimited in this case. Would be good
to have it fixed someday.
Best wishes,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
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