|
From: | Paul Kienzle |
Subject: | Re: error saving empty matrix in HDF5 format |
Date: | Tue, 2 Mar 2004 21:36:37 -0500 |
On Mar 2, 2004, at 11:19 AM, David Bateman wrote:
According to John W. Eaton <address@hidden> (on 03/02/04):I applied these changes, but I think maybe we should use Paul's suggestion of storing the dimensions in the attributes section.I agree, but we need to check that the empty array is available in the hdf library. In any case this would just be a matter of fixing up the ls-hdf5.cc{save_hdf5_empty, load_hdf5_empty} functions I added. So a reasonable structure is there even in this patch...
It would be nice to have the data files not so heavily dependent on a particular release of hdf5. Could you save it instead as an empty string or empty something else, but with the vector attribute empty_dims? Or is nothing allowed to be empty? How about an empty group? Paul Kienzle address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |