Hallo NCL,
I have a simple question related "where" logic in NCL.
I have a data containing this information:
variable : float *alkali( conc, ionm)*
"conc" extends from 1.0 to 100.0
"ionm" extends from -10 to +10
i want to display only *alkali values* in specific range *conc|25:50 *
and*ionm|-5:5
*while the* rest values* outside the range, I want to replace with * zero "0
*".
I did something like this:
*alkali = where((alkali@ conc.ge.0.1 .and. alkali@conc.le.0.4 .and.
alkali@ ionm.ge.-1
.and. alkali@ionm.le.-10), alkali, 0)*
*
*
but, i got error message!
Thanks for your help.
Ahmad
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jan 6 04:03:46 2013
This archive was generated by hypermail 2.1.8 : Mon Jan 07 2013 - 08:57:08 MST