Re: values changed after using print [message #67705] |
Tue, 11 August 2009 09:01 |
Klemen
Messages: 80 Registered: July 2009
|
Member |
|
|
On Aug 11, 5:30 pm, David Fanning <n...@dfanning.com> wrote:
> Klemen writes:
>> I am working with thermal anomalies using remote sensing images. I
>> have experienced something strange - I have found some impossible
>> values in my results (ASCI file), thus I used some print commands to
>> find out where the problem is.
>
>> However, after running the program a few times, the printed value
>> changed although I didn't do anything else as using print and running
>> the function again. I have some outputs that are save into a sav file,
>> but I deleted them, I even restarted my PC but the values are still
>> not the same as in the beginning.
>
>> Does anybody have an idea what might be wrong?
>
> Just off hand, I would guess Climate Change. But
> I would have to see some code to confirm it. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
No, it was not a climate change :).
It was an old bad written file I am using (if you run just a part of
the code, the code reads wrong input...) sorry to bother you.
Print works as it should! I have just realized that! :)
Cheers, Klemen
|
|
|
Re: values changed after using print [message #67706 is a reply to message #67705] |
Tue, 11 August 2009 08:30  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Klemen writes:
> I am working with thermal anomalies using remote sensing images. I
> have experienced something strange - I have found some impossible
> values in my results (ASCI file), thus I used some print commands to
> find out where the problem is.
>
> However, after running the program a few times, the printed value
> changed although I didn't do anything else as using print and running
> the function again. I have some outputs that are save into a sav file,
> but I deleted them, I even restarted my PC but the values are still
> not the same as in the beginning.
>
> Does anybody have an idea what might be wrong?
Just off hand, I would guess Climate Change. But
I would have to see some code to confirm it. :-)
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|