Number of days over or under a certain temperature

44 views
Skip to first unread message

Richard Town

unread,
Jun 30, 2023, 4:18:18 PM6/30/23
to weewx-user
Hi, 

Looking to create a report (template) that shows the number of days per month under a certain temperature and likewise over a certain temperature I.e < 6deg and >25deg

Has anyone done this or could point me in the right direction?

Thanks 

Tom Keffer

unread,
Jun 30, 2023, 5:39:02 PM6/30/23
to weewx...@googlegroups.com
For the number of days in a month with a temperature over 25C:

$month.outTemp.max_ge((25, 'degree_C', 'group_temperature'))

See the Appendix Aggregation types in the Customization Guide.

The NOAA reports make extensive use of this capability.

-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f12e7e79-9fc9-4940-baa9-72ec71d6950dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages