[Numpy-discussion] saving 3d array

Matthew Brett matthew.brett@gmail....
Sat Jun 15 10:35:33 CDT 2013


On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph
<sudheer.joseph@yahoo.com> wrote:
> Thank you very much for this tip.
> Is there a typical way to save masked and the rest separately?. Not much familiar with array handling in numpy.

I don't use masked array myself, but it looks like it would be something like:

eof1_unmasked = np.array(eof1)
eof1_mask = eof1.mask

then you could save those two.  Maybe a more maskey person could comment?



More information about the NumPy-Discussion mailing list