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

Home » Public Forums » archive » Re: lat/lon projection
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
Re: lat/lon projection [message #75512] Wed, 23 March 2011 13:14
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Thank you Ken !
Re: lat/lon projection [message #75513 is a reply to message #75512] Wed, 23 March 2011 07:23 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article
<609aa0ff-fc2a-4e18-b37d-ea7993a2db4a@q40g2000prh.googlegroups.com>,
nata <bernat.puigdomenech@gmail.com> wrote:

> Hi folks,
>
> Is there a way to convert a matrix of points on a certain lat/lon grid
> to an another lat/lon grid ?
> Right now, I am doing the projection taking the nearest neighbour
> points but I would prefer some kind of interpolation.
> I can not use MAP_SET, MAP_PATCH, etc because my final lat/lon grid is
> not necessarily defined by one of the IDL projections.
>
> I don't know if TRIANGULATE or QHULL could help in this case. I don't
> have any experience on this kind of things.....
>
> Any help is appreciated,
> nata

If your original grid is regular or separable (longitude is only a
function of x-index and latitude is only a function of y-index), it
is an easy matter to interpolate. See the interpolation chapter in my
book, which is available online

http://idl.tamu.edu/idl/Book.html

There is also an example in that chapter of how to use TRIGRID
for an unstructured grid.

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Experts from Cyberoam, KRAA security and others to speak @Security Conference (Aril 9th, Mumbai)
Next Topic: Re: cgcolor, cgplot, and /WINDOW

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

Current Time: Wed Oct 08 20:02:35 PDT 2025

Total time taken to generate the page: 0.39448 seconds