From: Alexey G. <ale...@gm...> - 2005-05-03 19:20:05
|
I am having the following problems trying to access data in hdf5 file (created by pytables): >>> hs=3Dh5.root.errorsim.FAST.cols.hise[0:10] HDF5-DIAG: Error detected in HDF5 library version: 1.6.2 thread -1209593728. Back trace follows. #000: ../../../src/H5Tcompound.c line 327 in H5Tinsert(): unable to insert member major(13): Datatype interface minor(45): Unable to insert object #001: ../../../src/H5Tcompound.c line 418 in H5T_insert(): member overlaps with another member major(13): Datatype interface minor(45): Unable to insert object The table was created from the following descriptor: import tables as t class OrbitSolution(t.IsDescription): """ class to create HDF5 table """ hise =3D t.Int32Col() solution_flag=3D t.StringCol(2,dflt=3D'') has_tycho_pm =3D t.StringCol(1,dflt=3D'') P =3D t.Float32Col() T0 =3D t.Float32Col() eks =3D t.Float32Col() chi2 =3D t.Float32Col() chi2_0 =3D t.Float32Col() confidence =3D t.Float32Col() ntries =3D t.Int32Col() nmeas =3D t.Int32Col() =20 a0,om, OM, i =3D [t.Float32Col() for i in range(4)] ccc =3D t.Float32Col(shape=3D(5)) afbg =3D t.Float32Col(shape=3D(4)) =20 Am I trying to use it properly?=20 a0=3Dh5.root.errorsim.FAST.cols.a0[0:10] works Ok.... |