From: Francesc A. <fa...@ca...> - 2005-11-03 07:24:35
|
El dc 02 de 11 del 2005 a les 16:20 -0700, en/na Gerry Wiener va escriure: > When I run the attached example, I get the output below. What's going=20 > wrong in test2()? How can I output the numarray record array containing=20 > character data in test2()? >=20 I think you misplaced the pos parameter in the description declaration. Try: class hdf_vars2(tables.IsDescription): """Class for establising record field types""" datum1 =3D tables.Float64Col(pos=3D0) site =3D tables.StringCol(2, pos=3D1) and this should work. Regards, --=20 >0,0< Francesc Altet http://www.carabos.com/ V V C=E1rabos Coop. V. Enjoy Data "-" |