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

Home » Public Forums » archive » Unable to get GRIDDATA Function to Work Properly
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
Unable to get GRIDDATA Function to Work Properly [message #77229] Mon, 15 August 2011 19:01
Jon is currently offline  Jon
Messages: 4
Registered: April 2011
Junior Member
Hello IDL'ers

I'm trying to do some interpolation with the GRIDDATA function.

I have a regular lon/lat grid spanning the globe, consisting of values
that are either 0 or 1. I am trying to interpolate these values to an
irregular lon/lat grid spanning much of the U.S.

Trouble is, no matter what I do, I cannot get the routine to give me a
1, where they clearly should exist. For a simple example, on my global
grid, all points surrounding -115 W, 35 N are 1, but when I run (where
testGrid is my global grid):

myGrid = GRIDDATA(Lon, Lat, testGrid, /GRID, XOUT=[-115.0],
YOUT=[35.0])

I get a 0. Shouldn't this routine interpolate a value of 1 at this
point?

Thanks,
JonR
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL on Mac OS X 10.7 (Lion)
Next Topic: Sun Terminator Program

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

Current Time: Wed Oct 08 18:56:51 PDT 2025

Total time taken to generate the page: 0.00358 seconds