On Fri, Jun 17, 2011 at 1:26 PM, Eric Firing <[email protected]> wrote:

> On 06/17/2011 06:56 AM, Benjamin Root wrote:
> > It does not appear that unwrap works properly for masked arrays.  First,
> > it uses np.asarray() at the start of the function.  However, that alone
> > would not fix the problem given the nature of how unwrap works
> > (performing diff operations).  I tried a slightly modified version of
> > unwrap, but I could not get it to always work properly.  Anybody know of
> > an alternative or a work-around?
>
>
> http://currents.soest.hawaii.edu/hgstage/pycurrents/file/08f9137a2a08/data/navcalc.py
>
> Eric
>

Eric,

Are you looking over my shoulder or something?  This module is exactly what
I needed.  Need some tweaks to support a 2-D array so that all 1-D parts get
the same amount of unwrapping, but it is pretty much what I needed.

Thanks!
Ben Root
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to