Re: difficulty using "linterp" command - need help making loop to exclude a value yet average others [message #77241 is a reply to message #77160] |
Sun, 14 August 2011 17:09   |
wlandsman
Messages: 743 Registered: June 2000
|
Senior Member |
|
|
On Sunday, August 14, 2011 4:21:09 PM UTC-4, wlandsman wrote:
>
> It would make wgrid defined, but not wgird. ;-) Wayne
I was about to write that a clue to identifying the typo would have been to look at the line number of the error message, which would have told you that the first calls to LINTERP were successful, so that there was something different about the LINTERP call that was giving an error.
But then I realized that LINTERP uses a very old (1980s) error checking routine "zparcheck" which overrides the normal IDL traceback, so you weren't seeing the line number. I've added an HELP,/TRACEBACK to zparcheck. Someday, I will update the error checking methods in the astrolib, but I haven't found any error checking schemes yet that I am happy with. --Wayne
|
|
|