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

Home » Public Forums » archive » Re: Unable to get GRIDDATA Function to Work Properly
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Unable to get GRIDDATA Function to Work Properly [message #77216 is a reply to message #77214] Tue, 16 August 2011 17:29 Go to previous messageGo to previous message
Jon is currently offline  Jon
Messages: 4
Registered: April 2011
Junior Member
On Aug 16, 10:32 am, Jeremy Bailin <astroco...@gmail.com> wrote:
> On 8/15/11 10:01 PM, Jon wrote:
>
>
>
>> 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
>
> I haven't done it, but based on the help page I'd guess that you might
> want to use /SPHERE and /DEGREE.
>
> -Jeremy.

Those seemed like reasonable suggestions, but unfortunately they did
nothing for me =(
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: my god, it's full of stars....
Next Topic: Re: creating a 2D mask for image filtering

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

Current Time: Sun Oct 12 09:55:59 PDT 2025

Total time taken to generate the page: 0.63864 seconds