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

Home » Public Forums » archive » Re: Temp variables are checked out
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Temp variables are checked out [message #74439] Fri, 14 January 2011 09:10
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 1/14/11 8:34 AM, Gray wrote:
> On Jan 14, 10:18 am, Gray<grayliketheco...@gmail.com> wrote:
>> On Jan 14, 9:40 am, David Fanning<n...@dfanning.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>> Gray writes:
>>>> I take my criticism back... for some reason I'm getting the warning
>>>> from EVERY statement on the command line:
>>
>>>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>>>> % Temporary variables are still checked out - cleaning up...
>>
>>>> What??
>>
>>> Oh, well, that's just shoddy quality control! ;-)
>>
>>> Cheers,
>>
>>> David
>>
>>> --
>>> David Fanning, Ph.D.
>>> Fanning Software Consulting, Inc.
>>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>>
>> OK, so this is the statement that's causing the problem. After my
>> program executes this statement, everything I do causes the "checked
>> out" warning.
>>
>> kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)
>>
>> IDL> print, 1
>> 1
>> % Temporary variables are still checked out - cleaning up...
>>
>> Any suggestions??
>
> and if I take out the /center keyword to FFT, it goes away. A
> miracle! What?

I would say that this is strong evidence that the newish implementation
of the CENTER keyword does something odd with memory: writing beyond its
bounds, leaking memory, etc. I would file this with ITT VIS support.

Mike
--
www.michaelgalloy.com
Research Mathematician
Tech-X Corporation
Re: Temp variables are checked out [message #74440 is a reply to message #74439] Fri, 14 January 2011 07:34 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 14, 10:18 am, Gray <grayliketheco...@gmail.com> wrote:
> On Jan 14, 9:40 am, David Fanning <n...@dfanning.com> wrote:
>
>
>
>
>
>
>
>
>
>> Gray writes:
>>> I take my criticism back... for some reason I'm getting the warning
>>> from EVERY statement on the command line:
>
>>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>>> % Temporary variables are still checked out - cleaning up...
>
>>> What??
>
>> Oh, well, that's just shoddy quality control! ;-)
>
>> Cheers,
>
>> David
>
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
> OK, so this is the statement that's causing the problem.  After my
> program executes this statement, everything I do causes the "checked
> out" warning.
>
> kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)
>
> IDL> print, 1
>        1
> % Temporary variables are still checked out - cleaning up...
>
> Any suggestions??

and if I take out the /center keyword to FFT, it goes away. A
miracle! What?
Re: Temp variables are checked out [message #74443 is a reply to message #74440] Fri, 14 January 2011 07:18 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 14, 9:40 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> I take my criticism back... for some reason I'm getting the warning
>> from EVERY statement on the command line:
>
>> IDL> f1a = shift(abs(fft(psf1)),5,5)
>> % Temporary variables are still checked out - cleaning up...
>
>> What??
>
> Oh, well, that's just shoddy quality control! ;-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

OK, so this is the statement that's causing the problem. After my
program executes this statement, everything I do causes the "checked
out" warning.

kern = shift(abs(fft(f2/(f1>1.e-10),/inverse,/center)),5,5)

IDL> print, 1
1
% Temporary variables are still checked out - cleaning up...

Any suggestions??
Re: Temp variables are checked out [message #74446 is a reply to message #74443] Fri, 14 January 2011 06:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> I take my criticism back... for some reason I'm getting the warning
> from EVERY statement on the command line:
>
> IDL> f1a = shift(abs(fft(psf1)),5,5)
> % Temporary variables are still checked out - cleaning up...
>
> What??

Oh, well, that's just shoddy quality control! ;-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Temp variables are checked out [message #74447 is a reply to message #74446] Fri, 14 January 2011 06:38 Go to previous message
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On Jan 14, 9:36 am, David Fanning <n...@dfanning.com> wrote:
> Gray writes:
>> Maybe they should get a hotel... I've read the Tip on dfanning.com,
>> but this one came up from the NG IMAGE() function... you would think
>> that ITTVIS would have debugged their own code for this.  Oh well.
>
> I'm sympathetic. My own graphics routines are tens of orders
> of magnitude simpler than the NG functions, and yet I groan
> inwardly whenever I hear about a new problem. When things
> get this complex, "fixing" a problem is only the start of
> your woes.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

I take my criticism back... for some reason I'm getting the warning
from EVERY statement on the command line:

IDL> f1a = shift(abs(fft(psf1)),5,5)
% Temporary variables are still checked out - cleaning up...

What??
Re: Temp variables are checked out [message #74448 is a reply to message #74447] Fri, 14 January 2011 06:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gray writes:

> Maybe they should get a hotel... I've read the Tip on dfanning.com,
> but this one came up from the NG IMAGE() function... you would think
> that ITTVIS would have debugged their own code for this. Oh well.

I'm sympathetic. My own graphics routines are tens of orders
of magnitude simpler than the NG functions, and yet I groan
inwardly whenever I hear about a new problem. When things
get this complex, "fixing" a problem is only the start of
your woes.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: round to x number of decimals within floating point value?
Next Topic: Re: IDL 8.0 plot lat/lon data into map

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

Current Time: Wed Oct 08 19:03:38 PDT 2025

Total time taken to generate the page: 0.00444 seconds