Alex,

HDF5 doesn't support attributes bigger than 64K. Dense storage was introduced 
to handle large numbers of attributes, but not a bigger size.

Are you saying that you cannot create an attribute bigger than 16KB (and less 
than 64K)? If so, an example program that demonstrates the issue will be highly 
appreciated.

Thank you!

Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal  The HDF Group  http://hdfgroup.org   
1800 So. Oak St., Suite 203, Champaign IL 61820
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



On Dec 28, 2011, at 1:17 PM, AV wrote:

> I tried to enable dense attribute storage by using H5Pset_attr_phase_change() 
> with both max_compact and min_dense set to zero. However it did not work and 
> attributes are still stored in the object header. That causes the application 
> to fail when attribute size reaches 64K. Analyzing the HDF5 codes I found 
> that since the latest_format property is set (by default) to false the dense 
> storage request is simply ignored. I tried to set it to true by using 
> H5Pset_libver_bounds(id, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST). As a result 
> however the application started to crash. I use 1.8.6. If anybody was able to 
> use dense storage for attributes larger than 16K please share your thoughts. 
> Thanks, Alex 
> View this message in context: Dense storage for large attributes in 1.8
> Sent from the hdf-forum mailing list archive at Nabble.com.
> _______________________________________________
> 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

Reply via email to