29 Jul
2009
29 Jul
'09
9:54 p.m.
Robert Kern wrote:
2009/7/29 Ernest Adrogué
: Now, I need to be able to differentiate between 0 and 'no data'.
Is it possible to do this with the standard array class?
Not really. Use masked arrays. Or use a dictionary.
masked arrays are made precisely for this. However, if you can use floating point numbers, you could use NaN for the no data entries. -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.Barker@noaa.gov