Masking an array

From: Richard Carpenter (rcarpenter AT XXXXXX)
Date: Wed Aug 14 2002 - 14:36:55 MDT


NCLers,

I want to "mask" an array such that the "True" and "False" locations all
have non-missing values. For instance, I might want to set a coefficient to
a certain value if temperatures are warm, and to a different value if cold.
The mask function alone can't do this. My attempt at a solution (attached)
requires looping over array indices. Is there any way this can be done
without the do loop? Thank you.

Richard Carpenter



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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 07:28:59 MDT