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

Home » Public Forums » archive » What does GRID keyword to INTERPOLATE do?
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
What does GRID keyword to INTERPOLATE do? [message #81446] Wed, 12 September 2012 10:46
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problems with IDL 8.1: the Development Enviroment is not starting
Next Topic: Re: What does GRID keyword to INTERPOLATE do?

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

Current Time: Thu Oct 09 07:57:51 PDT 2025

Total time taken to generate the page: 1.11681 seconds