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

Home » Public Forums » archive » Matching two arrays of Lat and Lon
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
Matching two arrays of Lat and Lon [message #79059] Mon, 30 January 2012 12:31 Go to next message
Meredith Pind is currently offline  Meredith Pind
Messages: 13
Registered: February 2011
Junior Member
Hi everyone,

I have been struggling to match latitude and longitude data that I
have extracted from MODIS hdf files (100646 points) with my in situ
lat and lon file (118808 points) in order to compare the remotely
sensed values to the in situ values.

I have tried to find where the lat and lon location between the two
files are the same, but have come up with nothing (there is not a
single line with exactly the same lat and lon). Is there a way to
find where both the lat and lon position in the MODIS data matches the
in situ lat and lon +/- 0.008 degrees (the closer the better)?

Thanks,

Meredith
Re: Matching two arrays of Lat and Lon [message #79134 is a reply to message #79059] Tue, 31 January 2012 15:08 Go to previous message
JDS is currently offline  JDS
Messages: 94
Registered: March 2009
Member
Yes... you look through the search data x2,y2 for the target data points x1,y1. You should do fine with the cos(mean(lat)) trick.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: mpfit and linear equality constraints
Next Topic: ignorant interpol question

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

Current Time: Wed Oct 08 18:55:53 PDT 2025

Total time taken to generate the page: 0.00484 seconds