Hello,
I'm exploring WeatherData and was interested in using TimeSeriesThread with it, but running into trouble with syntax.
As an example, suppose I wanted to calculate the arithmetic mean maximum temperature each month across a number of years. I'd first generate my data using WeatherData:
WeatherData["Syracuse",
"MaxTemperature", {{#, 1, 1}, {#, 12, 31}, "Month"}] & /@
Range[2000, 2017]
If I understand this correctly, that should get me a list of 17 TimeSeries, each of which contains 12 data points: the maximum temperature for each month during the year.
The next step would be to add all 17 entries for each month (e.g. sum all the January max temps), then divide by the number of years in my range, in this case 17. The final result would be a new TimeSeries with 12 data points, each of which is the mean maximum temperature each month across that range of 17 years. Reading the documentation and looking at the examples, it seems TimeSeriesThread would fit the need, but the syntax eludes me.
Thanks for any assistance.
Christopher