Hi everyone,
I found out by experimenting that HDF5 does not seem to like empty arrays, i.e.
arrays that have a zero in their dimension list. The associated error message is
Zero sized dimension for non-unlimited dimension
However, I cannot find anything about this in the documentation (though of
course I haven't read all of it). Is this a bug or a feature?
I find this restriction quite limiting because there is no obvious way to work
around it. If I need to store a list of values and that list just happens to be
empty, what can I do? I'd have to define my own representation of an empty list
in terms of some non-empty value, perhaps with an attribute saying "this is
really empty", but that complicates all application code and the whole file
structure.
Konrad.
--
---------------------------------------------------------------------
Konrad Hinsen
Centre de Biophysique Moléculaire, CNRS Orléans
Synchrotron Soleil - Division Expériences
Saint Aubin - BP 48
91192 Gif sur Yvette Cedex, France
Tel. +33-1 69 35 97 15
E-Mail: research AT khinsen DOT fastmail DOT net
---------------------------------------------------------------------
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org