From: <ho...@gl...> - 2005-03-23 13:58:17
|
ho...@gl... (Berthold H=F6llmann) writes: > We are need to read the PyTables generated HDF5 files to be read by > applications linked against HDF5 1.4.4, so we are still bound to > PyTables 0.5.1. But I now have as serious problem with a generated > file. Trying to read the dataset written by PyTables using a FORTRAN > application I get: ... To reproduce my problem I have written a .h5 file using the following lines: import numarray as N import tables out =3D N.identity(749, typecode=3DN.Float) HDF =3D tables.openFile("probe.h5", mode=3D"w", title=3D'test') HDF.createArray(where=3D'/', name=3D'T', object=3Dout) HDF.close() I installed numarray-1.2.3 and pytables-0.9.1. Again, the generated 'probe.h5' gives strange results when viewed using h5dump. Is there anyone else who can find the lines ... (174,1441): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, = 0, 0, (174,1461): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, = 0, 0, (174,1481): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, (175,749): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, = 0, 0, (175,769): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, = 0, 0, (175,789): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, = 0, 0, ... with the above example using h5dump? Kind regards Berthold H=F6llmann --=20 Germanischer Lloyd AG CAE Development Vorsetzen 35 20459 Hamburg Phone: +49(0)40 36149-7374 Fax: +49(0)40 36149-7320 e-mail: ho...@gl... Internet: http://www.gl-group.com This e-mail contains confidential information for the exclusive = attention of the intended addressee. Any access of third parties to this = e-mail is unauthorised. Any use of this e-mail by unintended recipients = such as copying, distribution, disclosure etc. is prohibited and may be = unlawful. When addressed to our clients the content of this e-mail is = subject to the General Terms and Conditions of GL's Group of Companies = applicable at the date of this e-mail.=20 GL's Group of Companies does not warrant and/or guarantee that this = message at the moment of receipt is authentic, correct and its = communication free of errors, interruption etc. |