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

Home » Public Forums » archive » Q: Lat/Lon to gridpoint interpolation
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Q: Lat/Lon to gridpoint interpolation [message #4096] Mon, 24 April 1995 00:00
Liam Gumley is currently offline  Liam Gumley
Messages: 473
Registered: November 1994
Senior Member
Hey folks,

I have two arrays, one is latitude and the other longitude. These
lat/lons correspond to satellite sensor fields-of-view on the earth
surface, and are irregularly spaced. I am trying to come up with a method
of finding the array indices closest to a given lat/lon, without having to
do a search of the lat/lon arrays. This is so that I can lay a coastline over
an un-resampled satellite image. I have already found a couple of ways to
do it by array searching, and it's a bit cumbersome.

I can't figure out how to do it using a simple fitting algorithm. What I want
to do is this:

lat is an x by y real array
lon is an x by y real array

I want to find the fractional x, y corresponding to a given lat, lon.

Any suggestions?
[Message index]
 
Read Message
Previous Topic: Annotating a 3-d Image Array?
Next Topic: doing !p.multi shade_surf plots in a page

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

Current Time: Sat Oct 11 11:15:44 PDT 2025

Total time taken to generate the page: 0.79980 seconds