python and HDF
Sheldon
shejo284 at gmail.com
Thu Jun 15 14:19:32 EDT 2006
Marc 'BlackJack' Rintsch skrev:
> 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
Hi
I an using HLHDF developed locally. I found someone who said that if
the string was written to the HDF file with being NULL+1 terminated
then this would happen.
Sounds good to me. Thanks for your help.
/Sheldon
More information about the Python-list
mailing list