[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error saving empty matrix in HDF5 format
From: |
David Bateman |
Subject: |
Re: error saving empty matrix in HDF5 format |
Date: |
Mon, 1 Mar 2004 14:44:02 +0100 |
User-agent: |
Mutt/1.4.1i |
Ok there is a thread on this exact problem at
http://www.unidata.ucar.edu/projects/coohl/mhonarc/MailArchives/netcdf-hdf-list/msg00097.html
The bottom line is that, it appears that the HDF people are implementing
something like "H5Screate(H5S_EMPTY)" however that doesn't help us, since
the dimensionality of our empty matrices won't be maintained.... That is
a rank=n matrix when loaded will become "zeros(zeros(n))" and not the
correct dimensionality.
Frankly, I see no simple way to address this. The only thing I can see is
if we save an attribute in the HDF5 file flagging an empty matrix, then
save the dimensions as a vector. This is slighly incompatibile in that
if other software doesn't check this attribute then they'll end up
loading a 1xN vector with the dimensions of the matrix instead of an
empty matrix.....
Should I go this way?
Regards
David
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
- Re: error saving empty matrix in HDF5 format, David Bateman, 2004/03/01
- Re: error saving empty matrix in HDF5 format,
David Bateman <=
- Re: error saving empty matrix in HDF5 format, David Bateman, 2004/03/01
- Re: error saving empty matrix in HDF5 format, John W. Eaton, 2004/03/01
- Re: error saving empty matrix in HDF5 format, David Bateman, 2004/03/02
- Re: error saving empty matrix in HDF5 format, Paul Kienzle, 2004/03/02
- Re: error saving empty matrix in HDF5 format, David Bateman, 2004/03/03
- Re: error saving empty matrix in HDF5 format, John W. Eaton, 2004/03/05
- Re: error saving empty matrix in HDF5 format, David Bateman, 2004/03/07
- Re: error saving empty matrix in HDF5 format, Paul Kienzle, 2004/03/07