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 #36738 is a reply to message #36690] Mon, 20 October 2003 04:42 Go to previous messageGo to previous message
Olaf Stetzer is currently offline  Olaf Stetzer
Messages: 39
Registered: September 2001
Member
ftls1@uaf.edu schrieb:
> I met a problem of map building as below,
> I have two 2-D tables of RT(nw,nt), RW(nw,nt), nw and nt are
> constants,
> both RT and RW range from -1 to +1, the value of nw, even though it is
> 'integer',actually means wind speed from
> -50 m/s to 50 m/s and the nt means temperature from 0 to 300 K.
> Now I want to get a table with x and y axis of RT and RW respectively.
> The purpose to build such a table is that if there is an arbitrary
> pair
> of RW and RT value, I can look it in the table and find the
> appropriate
> wind and temperature.
> I've been thinking on this topic for a couple of weeks without any
> idea, in C
> language there is a concept of 'Group', but IDL does not.

I am not sure if I understood you correctly but maybe you can use
the where() function to find your information. You want the "cordinates"
where:
wind = 50 m/s and T= 250 K ?

wind_temp_indices=where(RT eq 250 and RW eq 50) ; or use the "coded"
; values for 250 K and 50 m/s instead
[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: Fri Oct 10 22:39:24 PDT 2025

Total time taken to generate the page: 0.00401 seconds