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

Home » Public Forums » archive » matching 2 grids
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
matching 2 grids [message #47855] Wed, 08 March 2006 14:17 Go to previous message
envi35@yahoo.ca is currently offline  envi35@yahoo.ca
Messages: 48
Registered: March 2005
Member
Hi all,

I have 2 sets of lat/lon pairs in different grids - grid1 and grid2,
both in irregular shape and I've filled some zero numbers to make them
regular. grid2 is a subset of grid1. I want to find the coordinates of
x1,y1 in grid1 (lat1/lon1) which are closest to each of the nonzero
lat2/lon2 paris in grid2.

I made a programm with several loops, it is kind of did what I want,
but it is very slow and the boundary is not tidy. my grid1 is 600*600,
and I have 10 grid2 to process.

Is there an IDL function that I could use in this case?

Thanks,
Jenny
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: red noise ?
Next Topic: floats from strings... duh!

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

Current Time: Fri Oct 10 07:50:00 PDT 2025

Total time taken to generate the page: 0.25278 seconds