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

Home » Public Forums » archive » A complicate problem for building a map
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: A complicate problem for building a map [message #36733 is a reply to message #36690] Tue, 21 October 2003 00:33 Go to previous messageGo to previous message
Olaf Stetzer is currently offline  Olaf Stetzer
Messages: 39
Registered: September 2001
Member
ftls1@uaf.edu schrieb:
> yes, I used 'where' function and intersected the two sets to find
> temperature and wind.
>
> the problem is whether this retrieval method was converging? is the
> point the nearst one with least RMS?

The where function does only logical comparisons, which means you only
get a result if the data contains exactly the values you are looking
for. If you are looking for nearest values you have to calcualte them on
your own, something like:

RT_dev=abs(RT-250) ; nearest values to 250 K
RW_dev=abs(RW-50) ; nearest values to 50 m/s
RTW_dev=RT_dev*RW_dev ; or use smth. like sqrt(RT_dev^2 + RW_dev^2)
; depending on your needs. Then:
wind_temp_indices= where (RTW_dev eq min(RTW_dev))

Olaf
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: perl script to create html documentation from source files available
Next Topic: Re: Median filter the hard way

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

Current Time: Sat Oct 11 02:01:57 PDT 2025

Total time taken to generate the page: 0.15942 seconds