[Scilab-users] HDF5 file : how to access HDF5 compound elements
amonmayr at laas.fr
amonmayr at laas.fr
Wed Sep 2 14:03:15 CEST 2015
Hi all,
Almost everything is in the title: I am trying to load in scilab the
content of an HDF5 file and some of the datasets are of type compound of
array of variable length:
h5dump(xyg)
DATASET "XY Graph" {
DATATYPE H5T_COMPOUND {
H5T_VLEN { H5T_IEEE_F64LE } "elem1";
H5T_VLEN { H5T_IEEE_F64LE } "elem2";
}
DATASPACE SCALAR
STORAGE_LAYOUT {
CONTIGUOUS
SIZE 0
OFFSET 18446744073709551615
}
DATA {
(0): {
(),
()
}
}
}
How can I access elem1 and elem2?
I tried things like:
xyg.data
xyg.elem1
xyg.data.elem1
xyg.compound.whatever
without success...
Any clue?
Cheers,
Antoine
PS: I can give you an example hdf5 file if needed, but it's quite big!
More information about the users
mailing list