[Numpy-discussion] Masked arrays and pickle/unpickle
Wed Jul 16 16:47:38 CDT 2008
We have an application that has previously used masked arrays from Numpy
1.0.3. Part of saving files from that application involved pickling
data types that contained these masked arrays.
In the latest round of library updates, we've decided to move to the
most recent version of matplotlib, which requires Numpy 1.1.
Unfortunately, when we try to unpickle the data saved with Numpy 1.0.3
in the new code using Numpy 1.1.0, it chokes because it can't import
numpy.core.ma for the masked arrays. A check of Numpy 1.1.0 shows that
this is now numpy.ma.core.
Does anyone have any advice on how we can unpickle the old data files
and update the references to the new classes?
Anthony Floyd, PhD
Convergent Manufacturing Technologies Inc.
6190 Agronomy Rd, Suite 403
Vancouver BC V6T 1Z3
Email: Anthony.Floyd@convergent.ca | Tel: 604-822-9682 x102
WWW: http://www.convergent.ca | Fax: 604-822-9659
CMT is hiring: See http://www.convergent.ca for details
More information about the Numpy-discussion