[SciPy-user] flagging no data in timeseries

Tim Michelsen timmichelsen at gmx-topmail.de
Sun Jan 6 19:06:12 EST 2008


> The following solutions should be equivalent:
> 
> * use masked_where from maskedarray
>>>> myvalues_ts_hourly = masked_where(myvalues_ts_hourly , -999)
> 
> * Use indexing
>>>> myvalues_ts_hourly[myvalues_ts_hourly==-999] = M.masked
I tried both of your solutions and they'd run without problems.

But there was nothing masked.
All I got as output was:

 > --

What does that mean?

Any further is greatly appreciated!

Kind regards,
Timmie




More information about the SciPy-User mailing list