Open kingjml opened 7 years ago
Instead of having two attributes (self.data
and self.subset
), there is also the option of using a masked array for self.data
.
Exporting of the raw data is still achievable, and matplotlib seems to be okay with NaN fill-values in masked arrays...
Functionality is described as "nearly identical to np". Should that worry us?
Why don't we code up to two examples. One that uses masked arrays and another that uses a simple boolen array for masking purposes.
Instead of using a subset could we just use a bool mask?
Could initiate it as self.mask = filteredArr[:,1] < 0 or have a bit flag at each array index,
This would be useful for masking outliers, ice features and other issues as well.