or (depending on the grid)
let ngood = aa[i=@ngd,j=@ngd]
On 3/5/2014 9:00 AM, Fisseha Berhane wrote:
let cc = bb[l=@sum]you can use something like:let bb = if TEMP LE THRESHOLD then 1
On Wed, Mar 5, 2014 at 11:25 AM, Paul Goddard <goddarpb@xxxxxxxxx> wrote:
University of ArizonaHello,I am working on finding the amount of values that fall below a certain threshold. By using let aa = if TEMP LE THRESHOLD then TEMP, I can get aa to be a list of values where TEMP is less than or equal to THRESHOLD. What I would also like to do is define a new variable that is equal to the amount of values that are in aa (ie, the non .... values). Is there any command for this? I know in Excel the function COUNT will retrieve the number of values in a column/array etc. Is there command in Ferret that does a similar act? Thank you very much for your help
Paul Goddard