|
Re: lat/lon projection [message #75513 is a reply to message #75512] |
Wed, 23 March 2011 07:23  |
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
|
|
|