[Numpy-discussion] saving 3d array

Matthew Brett matthew.brett at gmail.com
Sat Jun 15 11:35:33 EDT 2013


On Sat, Jun 15, 2013 at 2:51 PM, Sudheer Joseph
<sudheer.joseph at 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