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

Home » Public Forums » archive » Where() with multidimensional array?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Where() with multidimensional array? [message #30186] Thu, 11 April 2002 06:33
Olaf Stetzer is currently offline  Olaf Stetzer
Messages: 39
Registered: September 2001
Member
Hello,

I have a problem with the where() function in IDL. It seems,
that the function returns -1 when confronted with a multidimensional
array. I am trying the following but get an error message:

valid=where(data ne failvalue)
plot.yrange[0]=min(data[valid])
plot.yrange[1]=max(data[valid])

What I want is the max and min values within data (twodimensional)
but I want to exclude all values which are equal failvalue). Maybe there
is an easy way to do this?

Olaf

--
Dr. Olaf Stetzer
Forschungszentrum Karlsruhe
Institut fᅵr Meterologie und Klimaforschung
Atmosphᅵrische Aerosole (IMK III) - http://imk-aida.fzk.de
Tel.: +49(0)7247-82-3249 (FAX: -4332)
[Message index]
 
Read Message
Previous Topic: Re: callable IDL and structures
Next Topic: Strange window problem in IDL5.5?

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

Current Time: Wed Oct 08 15:33:37 PDT 2025

Total time taken to generate the page: 0.00388 seconds