Home »
Public Forums »
archive »
Where() with multidimensional array?
Where() with multidimensional array? [message #30186] |
Thu, 11 April 2002 06:33 |
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)
|
|
|
Current Time: Wed Oct 08 13:44:29 PDT 2025
Total time taken to generate the page: 0.00512 seconds