Hi Alexey,
Which pytables version are you using? If it is 0.9.1, please, try with
a recent snapshot
(http://www.carabos.com/downloads/pytables/snapshots/) and tell me how
it goes. I think you are facing a known (and solved) bug.
Cheers,
A Dimarts 03 Maig 2005 02:33, Alexey Goldin va escriure:
> 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()
> 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))
>
>
> Am I trying to use it properly?
>
> a0=3Dh5.root.errorsim.FAST.cols.a0[0:10] works Ok....
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
> _______________________________________________
> Pytables-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pytables-users
=2D-=20
>0,0< Francesc Altet =A0 =A0 http://www.carabos.com/
V V C=E1rabos Coop. V. =A0=A0Enjoy Data
"-"
|