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

Home » Public Forums » archive » Re: Restore problem.
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: Restore problem. [message #67812 is a reply to message #67811] Thu, 27 August 2009 12:04 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Jean H." <jghasban@DELTHIS.ucalgary.ANDTHIS.ca> wrote in message
news:h76jau$3rc$1@news.ucalgary.ca...
> R.G. Stockwell wrote:
>> I have a very simple, yet very wrong situation.
>> I am reading a saved file, with restore.
>> The numbers are flat out wrong, but the variable names,
>> and array dimensions are the same. There is a float array,
>> and an integer array (nothing fancy).
>>
>> I've tried reading it on a few different machines,
>> different versions of IDL, 32 bit and 64 bit. They
>> all read it "wrong".
>>
>> are there known bugs in RESTORE?
>>
>> RESTORE: IDL version 7.0 (linux, x86_64).
>>
>> cheers,
>>
>> bob
>>
>>
>>
>>
> could it be an Endian issue?
>
> Jean

don't see how. RESTORE does not allow endian control.
That should be taken care of with the XDR file fomat.

More info: We lose our NANs as well. They seem to become zeroes,
but not always (i.e. i get 2.3 instead of NAN for instance).
Also, the range of the numbers is somewhat normal (i do not get
everything as 10^-323 for instance - the numbers are in the range of
-1000 to 1000).

cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restore problem.
Next Topic: Measuring sphericity of a set of voxels.

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

Current Time: Wed Oct 08 19:30:45 PDT 2025

Total time taken to generate the page: 0.00390 seconds