[SciPy-user] Calculating daily, monthly and seasonal averages of hourly time series data.
Thu Oct 9 13:42:49 CDT 2008
I did already find the documentation you linked to and it looks like a excellent reference for the individual functions and classes. What I felt was missing was an overview of how to use the main features of the package in the form of examples, tutorials etc.
I've never tried compiling the scipy sources from svn. If I can manage it, I'll try the timeseries toolkit out. Once I start using it, I'd be happy to document my experiences and see if I can come up with some examples/tutorials based on what I am doing.
fyi the website says Numpy 1.2.1 or later.
>>> Pierre GM <email@example.com> 10/9/2008 12:17 PM >>>
What you need for timeseries is a recent numpy (>=1.2.0) and
scipy(>=0.7svn...). If you can compile the latest sources from SVN, you're
good to go.
The documentation is here:
If it doesn't cover areas you need, let us know and help us by writing some
As an extra comment on Lionel's answers:
* Once you have a time series, you can directly mask some data without having
to recreate a series
>>> series=ts.time_series(np.random.rand(365), start_date=ts.now('D'))
>>># Mask the first 10 elements
>>> series[:10] = ma.masked
>>> #Maske the data in August
>>> series[series.month==8] = ma.masked
SciPy-user mailing list
More information about the SciPy-user