Joe Harrington wrote: > All > that has to happen is to allow the sense of the mask to be FALSE = the > data are bad, TRUE = the data are good, and allow (not require) the > mask to be of any numerical type, or at least of integer type as well > as boolean.
quick note on this: I like the "FALSE == good" way, because: instead of good and bad we think "masked" and "unmasked", then we have: False = "unmasked" = "regular old data" True = "masked" = "something special about the data The default for "something special" is "bad" (or "missing" , or "ignore"), but the cool thing is that if you use an int: 0 = "unmasked" 1 = "masked because of one thing" 2 = "masked because of another" etc., etc. This could be pretty powerful -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion