python and HDF

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Thu Jun 15 09:29:11 EDT 2006


In <1150376026.665920.50860 at h76g2000cwa.googlegroups.com>, Sheldon wrote:

> I am using a HLHDF C wrapper to extract data from HDF (version 5)
> files.
> I can view the contents with IDL, for example, and read the attributes
> in the HDF file. There is one attribute that I extracted and only of
> part of the string was returned. In the HDF file, the attribute data is
> a name which is called "baseline" but when python reads it, it returns
> "baselin" instead.
> Does anyone have any idea why this is happening?

Not from this description.  How do you read the data with Python?  Which C
library/wrapper do you use?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list