[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem loading hdf5 file

From: David Bateman
Subject: Re: problem loading hdf5 file
Date: Wed, 5 May 2004 10:30:33 +0200
User-agent: Mutt/1.4.1i

According to W.J. Atsma <address@hidden> (on 05/04/04):
> Why not export all the data in a single struct if the file is not an 
> octave-created one, replacing the file-like structure "/" with ".". Then you 
> can look at the complete structure in octave and reinterpret them as you 
> like.

HDF5 doesn't have the concept of a structure. The implementation of a 
structure that octave expects in files to import is as an HDF5 GROUP.
The problem is the example given uses an HDF5 DATASET with a compound
datatype used to contain the structure. This is much harder to interpret
if you don't know the form of the structure a-priori as you have to 
construct an HDF5  compound type internally to hold the structure before
you can import the values. It is also more limiting as all members of 
the structure must have the same size.


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

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]