You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought this would be a simple bit of code but it’s turning out to be more complex! It would be a good feature to add the number of days with rain to the week, month and year page rain cards, and in the month / year reports.
It has an aggregate function that looked like it would do the job. I used $month.rain.avg_ge((‘0.2’, ‘mm’, ‘group_rain’)) to return the number of days with rain equal or over 0.2mm, however it doesn’t appear to work. Is there a simple way to display the number of days with rain in the given archive period, $week, $month and $year?
The text was updated successfully, but these errors were encountered:
I thought this would be a simple bit of code but it’s turning out to be more complex! It would be a good feature to add the number of days with rain to the week, month and year page rain cards, and in the month / year reports.
You can see an example here (showing 0 as it’s not currently working): https://www.360shetland.co.uk/weather/month.html
I installed the XAggs extension from here: https://github.com/tkeffer/weewx-xaggs
It has an aggregate function that looked like it would do the job. I used $month.rain.avg_ge((‘0.2’, ‘mm’, ‘group_rain’)) to return the number of days with rain equal or over 0.2mm, however it doesn’t appear to work. Is there a simple way to display the number of days with rain in the given archive period, $week, $month and $year?
The text was updated successfully, but these errors were encountered: