|
From: <ho...@gl...> - 2003-06-17 15:42:46
|
Dear List,
We have a customer who wants to feed some of our programs taking
pytables HDF files from a Fortran program. We managed together to add
the required attributes to make shure pytables does not complain, but
we now have the problem that the Fortran 90 HDF routines write=20
ATTRIBUTE "CLASS" {
DATATYPE H5T_STRING {
STRSIZE 5;
STRPAD H5T_STR_SPACEPAD;
CSET H5T_CSET_ASCII;
CTYPE H5T_C_S1;
} =20
DATASPACE SCALAR =20
DATA {
"Array"
}=20
}=20
into the generated HDF5 file which leads to the error message
...
File =
"/usr/local/fitools/sandbox/linux/lib/python2.2/site-packages/tables/Grou=
p.py", line 125, in _g_openFile
objgroup._g_openFile()
File =
"/usr/local/fitools/sandbox/linux/lib/python2.2/site-packages/tables/Grou=
p.py", line 144, in _g_openFile
raise RuntimeError, \
RuntimeError: Dataset object in file is unknown!
class ID: Array=AF#@o
It seems pytables reads too much data and so gets garbage after the
wanted string. Could there be a workaround either on the Fortran or
the pytables side.
Thanks for your help.
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
=20
=20
=20
=20
****************************************************
=20
=20
Beachten Sie: Wir moechten Sie informieren, dass die E-Mail-Adresse des =
Germanischen Lloyd sowie unsere Web-Adresse mit Wirkung vom 1. Maerz =
2003 auf den Namen gl-group.com umgestellt wurde.
=20
=20
Dies bedeutet, dass die bisherige Adresse Kur...@ge... =
durch die neue Adresse Kur...@gl... ersetzt wird. Die =
Homepage des GL ist kuenftig ueber die Adresse 'http://www.gl-group.com' =
aufrufbar. Die bisher verwendeten Adressen bleiben f=FCr eine =
Uebergangsfrist erreichbar.
=20
=20
****************************************************=20
=20
Please notice: We would like to inform you that the e-mail address of =
Germanischer Lloyd as well as our internet address had been changed to =
gl-group.com with effect from 1st March 2003.
=20
=20
This means that the previous address sho...@ge... will be =
replaced by sho...@gl.... From now on the GL homepage can be =
accessed at the address 'http://www.gl-group.com'. The old addresses =
remain valid for a transitional period.
=20
=20
=20
****************************************************
=20
=20
=20
=20
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
=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.=20
=20
=20
|