String Dimensions aren't written for duplicated string arrays.
Closed this issue · 4 comments
GoogleCodeExporter commented
When writing string arrays the dimension HDF5 attribute isn't being written for
duplicated arrays.
This is causing a problem like this on read:
HDF5-DIAG: Error detected in HDF5 (1.8.8) thread 0:
#000: H5A.c line 550 in H5Aopen(): unable to load attribute info
from object header for attribute: '0012.dims'
major: Attribute
minor: Unable to initialize object
#001: H5Oattribute.c line 538 in H5O_attr_open_by_name(): can't
locate attribute: '0012.dims'
major: Attribute
minor: Object not found
The dimensions need to always be written for strings.
The example included shows that the HDF5 file isn't bad, but the file will
still give the error show above in apps that read the string array data.
Original issue reported on code.google.com by miller.lucas
on 1 Feb 2012 at 10:55
Attachments:
GoogleCodeExporter commented
Original comment by miller.lucas
on 1 Feb 2012 at 10:57
- Added labels: EstimateInDays-.5, Milestone-1.1, Priority-P0
GoogleCodeExporter commented
Fix is here.
http://code.google.com/r/millerlucas-dev/source/detail?r=7a09c8f137146b2665edad4
34e040ed5cc2c6419
Original comment by miller.lucas
on 4 Feb 2012 at 12:32
GoogleCodeExporter commented
Original comment by miller.lucas
on 7 Feb 2012 at 8:02
- Changed state: PleaseVerify
GoogleCodeExporter commented
This was released in 1.0.5
Original comment by miller.lucas
on 17 May 2012 at 6:18
- Changed state: Verified