Unable to get GRIDDATA Function to Work Properly [message #77229] |
Mon, 15 August 2011 19:01 |
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
|
|
|