[SciPy-user] flagging no data in timeseries

Tim Michelsen timmichelsen@gmx-topmail...
Sun Jan 6 18:06:12 CST 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