ind function ??

From: Adolf Stips (adolf.stips AT XXXXXX)
Date: Thu Sep 05 2002 - 00:34:33 MDT


Hi folks,

I want to select data from a 4D field, that fulfill
certain criteria (like .gt.10)

For 1D fields I used succesfully

iii= ind( d1field .gt. 10.)

to get the indices of the elements that are larger than 10.

The same construct gives an NCL error if I use a 4D field
 something like : (expecting 1D variable and not 4D...).
Is this a real limitation for the ind function ?
Is there a simple trick around ?

Can anyone help ?

Thanks, Adolf

-- 
-----------------------------------------------------
Adolf Stips
Inland and Marine Waters unit
CEC Joint Research Centre, TP 272
I-21020 Ispra, Italy
Tel: +39-0332-789876
Fax: +39-0332-789034
-----------------------------------------------------

_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Thu Sep 05 2002 - 08:22:51 MDT