What does GRID keyword to INTERPOLATE do? [message #81446] |
Wed, 12 September 2012 10:46 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
Can anyone is explain in layman's language what the GRID
keyword to INTERPOLATE does?
I have a line of code like this:
warpedImage = Interpolate(data, xindex, yindex, MISSING=missing)
Where data is a 2D array and where xindex and yindex
are regular grids having dimensions of the output
warped image. All is well if I run the code like this.
However, if I set the GRID keyword to INTERPOLATE, then
my machine is either brought to its knees and I have to
reboot, or I get the "Unable to Allocate Memory to Make
Array" message. I am expecting a 300x300 output image,
but by setting the GRID keyword I seem to be creating
a 40000x40000 array! Why!?
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.")
|
|
|