[SciPy-User] Calculating avgerage values on 20 minute time frequency

Sean Arms lesserwhirls@gmail....
Fri Mar 18 13:23:06 CDT 2011

On Mar 18, 2011, at 12:28 PM, Michael T Tate <mttate@usgs.gov> wrote:

> I have a time series date set that contains a date/time field and data fields (sonic temperature, WS-U, WS-V, WS-W). The data are recorded at 10hz. I would like to calculate an average for each of the data fields on a 20min frequency so it can be matched up with data collected by another instrument. 
> It is pretty straightforward to calculate hourly averages using convert from scikits.timeseries. 
> Does anyone have any ideas on how I would calculate 20min averages for this data? 
What I do with my sonic data is reshape the data array such that the new time dimension is of desired length (in your case, 10*60*20 =12,000) and then take the average over the appropriate axis.


> Thanks in advance 
> Mike
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20110318/0f2b525a/attachment.html 

More information about the SciPy-User mailing list