[Numpy-discussion] command for retrieving unmasked data from a mask array?

Olivier Delalleau shish at keba.be
Wed May 23 10:54:52 EDT 2012


Should be dt3.compressed()

-=- Olivier

2012/5/23 Chao YUE <chaoyuejoy at gmail.com>

> Dear all,
>
> is there a command for  retrieving unmasked data from a mask array?
> excepting using dt3[~dt3.mask].flatten()?
>
> thanks,
>
> Chao
>
> --
>
> ***********************************************************************************
> Chao YUE
> Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
> UMR 1572 CEA-CNRS-UVSQ
> Batiment 712 - Pe 119
> 91191 GIF Sur YVETTE Cedex
> Tel: (33) 01 69 08 29 02; Fax:01.69.08.77.16
>
> ************************************************************************************
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120523/d6f5e098/attachment.html>


More information about the NumPy-Discussion mailing list