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

Home » Public Forums » archive » Re: Algorithm for lat/lon searching
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Algorithm for lat/lon searching [message #49792] Fri, 18 August 2006 12:17 Go to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"JD Smith" <jdsmith@as.arizona.edu> wrote in message
news:pan.2006.08.18.17.54.28.887505@as.arizona.edu...
> On Fri, 18 Aug 2006 10:50:56 -0400, Paul van Delst wrote:
..
> Here's a simple notion:
>
> Why not develop a "whole earth grid" in whatever binning and projection is
> useful (an equal area projection comes to mind), run all your land points
> (only) through HIST_ND, store the resulting REVERSE_INDICES, and then, for
> a given lat/lon, look up its position in the multi-dimensional reverse
> index vector, and read out the emissivity data points.

That is a good solution, and one that I have employed in the past.
I would just point out that it gives a square of data (or in general
rectangle
in lat and lon), so some points along the diagonal are farther away than
others.
If you want to get a constant radius disk, you will have to calculate
distances
(perhaps something like what I suggested in my other post).

Having said that I doubt that it would make much of a difference, and I
would
go with the square grid approach.

Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: NCDF_ATTCOPY and typecasting
Next Topic: Re: large 3D array plot

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

Current Time: Wed Oct 08 13:42:05 PDT 2025

Total time taken to generate the page: 0.00698 seconds