Good morning, So, moving on from my last question about rainy days over 1mm (Thanks Tom) I have a few questions about the Xstats extension.
1) I expected, possibly wrongly, xStats would have available the same Aggregation types although this does not seem to be the case. So its not possible to get rain days greater than 1mm using 'rain.sum_ge ...' as it raises an error. Is this by design or error? 2) Also both last_year and last_year_todate are returning N/A for all the temps and sums. I accept last_year might be due to the age available in the current database but would expect to see values from last_year_todate. As I explored the xstats.py file I saw that lines 106-110: *last_month_stats = TimespanBinder(TimeSpan(start_ts, stop_ts), db_lookup,* *context='last_year_todate', formatter=self.generator.formatter, converter=self.generator.converter)* *last_month_stats* has the same context as *last_year_stats*. Is this just a label and irrelevant to the problem I have described above? 3) Finally, for context what I would like to do is compare data from the station to those column headings used by the UK Met Office for their published regional climate averages that go back 60 years: - Maximum temperature (°C), Minimum temperature (°C) - I believe these are actually average max and average min. - Days of air frost (days) - Days where temperature fails below freezing level (0°C / 32 °F) - Sunshine (hours) - I believe this is not possible with the data available. - Rainfall (mm) - We have this as rain sum. - Days of rainfall ≥1 mm (days), - Monthly mean wind speed at 10 m (knots)). My current plan is to use http://www.weewx.com/docs/customizing.htm#Programming_interface to get these values where they are not already available. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e122eb8d-68c7-448b-91ec-b0b78bacbe2cn%40googlegroups.com.
