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

Home » Public Forums » archive » ROI's and geographical data!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ROI's and geographical data! [message #35269] Thu, 05 June 2003 07:53 Go to previous message
einare is currently offline  einare
Messages: 1
Registered: June 2003
Junior Member
Hi.

I've been usind IDL now for a whole two weeks now!

My problem is that i have two data sets. One defining a ROI (in
latitude-longitude)
and another one evenly, but broadly spaced data set, combined of
lat-lon-value.

I've defined the ROI and i want a simple, non gui, procedure of
picking all the values which are inside the ROI. And because they are
broadly spaced I used the rebin function to narrow it down, making
huge data sets.

The only solution I see is making a loop testing each point, something
like:

IF roi->ContainsPoints(lon_fin[j], lat_fin[j]) GT 0 THEN BEGIN
dat_end[i]=dat_exp[j]
lon_end[i]=lon_fin[j]
lat_end[i]=lat_fin[j]
i = i+1
ENDIF

wich is not very good inside a loop with huge data sets.

I would be verry happy if somone has solved, or can solve, this
problem for me!!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL 6.0 beta printer woes
Next Topic: Re: vfw for idl

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

Current Time: Fri Oct 10 07:59:41 PDT 2025

Total time taken to generate the page: 0.72220 seconds