comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Reading HDF5 signed bytes gives strange results [resolved]
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Reading HDF5 signed bytes gives strange results [resolved] [message #49962] Fri, 25 August 2006 04:29
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
David Fanning wrote:
> Maarten writes:
>
>> I tried to create a minimal example using h5f_open, h5d_open, h5d_read
>> & friends working on a small hdf5 sample file. After I had created that
>> file, I noticed that the values were read correctly in this minimal
>> example.
>
> Ain't that always the way! :-)

It turns out that it was a nasty combination of a genuine IDL bug, and
my calling sequence.

Details:
As a service to its users, our system administration keeps old version
of IDL available (6.1, 6.2 and 6.3). The default is 6.2, when enough
have tested the water, the default is updated. In my shell I have an
alias that points IDL to the new release. Alas, the alias doesn't work
in shell scripts, and the program I experienced the issue with calls
IDL from a shell script, and gets 6.2.

IDL 6.2, or rather the HDF5 library that comes with IDL6.2 contains a
bug where all negative values in a signed byte are mapped to zero.

Maarten
[Message index]
 
Read Message
Previous Topic: Inserting pointer results in an array
Next Topic: Re: IDL Virtual Machine stealing licenses

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:56:49 PDT 2025

Total time taken to generate the page: 0.00400 seconds