On 30 Mar, 2011, at 14:50 , Quincey Koziol wrote: >> An axis length 0 conveys information (especially for vectors). > > Yes, it does and we already have an issue to correct this in our bug > tracker. I'll see if we can bump up the priority for the 1.8.7 release.
That would be great :-) > One possibility as a workaround in the meanwhile may be to use the > H5S_NULL dataspace class, to indicate that an attribute or dataset has no > elements. In principle, this would be a solution for the majority of my use cases, the exception being those where only one of many dimensions of an array has zero length and the length of the others do matter. But the main practical problem I see with H5S_NULL is that popular high-level interfaces to HDF5 (the Java object layer, h5py and PyTables for Python) don't provide access to it. I know that I should complain to the authors of those interfaces... 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
