get index value

From: Jason English <jayenglish_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 13 2012 - 10:41:27 MST

I've been interested for a long time in a ncl function to get the index
number of a specified value (max, min etc). I understand the ind function
will do that for a 1-d array. Is it possible to create a function to do
this for a multi-dimensional array? I understand there's a workaround with
the ndtooned and ind_resolve functions, but I am wondering if there's a
faster way to do it, or if a future release of ncl will have a function to
do it (for example, idl has the WHERE function).

Thanks for your help.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 13 10:41:40 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 17 2012 - 08:50:10 MST