using max_ge in a graph

63 views
Skip to first unread message

enu...@gmail.com

unread,
Jun 10, 2023, 11:33:14 AM6/10/23
to weewx-user
I want the days by month above 25ºC this year. 
i have in the skin.conf of the skin seasons
[[[yeardias25]]]
            [[[[outTemp]]]]
                label = 25
                plot_type = bar                
                aggregate_type = max_ge((25.0,"degree_C"))                
                aggregate_interval = month
                
i get an error
Jun 10 17:25:26 raspberrypi weewx[757] ERROR weewx.reportengine: Failed to read skin configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport': Parse error in value at line 852.
Jun 10 17:25:26 raspberrypi weewx[757] ERROR weewx.reportengine: Syntax error: Parse error in value at line 852.
Jun 10 17:25:26 raspberrypi weewx[757] ERROR weewx.reportengine:    ****       Report ignored

the line 852 is aggregate_type... where i get the error

enu...@gmail.com

unread,
Jun 10, 2023, 11:38:54 AM6/10/23
to weewx-user
I answer myself. max_ge cannot be used for aggregations

Tom Keffer

unread,
Jun 15, 2023, 11:54:48 AM6/15/23
to weewx...@googlegroups.com
I haven’t tried it, but I think this might work:

[[[yeardias25]]]
            [[[[outTemp]]]]
                label = 25
                plot_type = bar                
                aggregate_type = max_ge         
                aggregate_interval = month
                val = 25.0, degree_C



--
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/8380aef8-dd12-4b52-9365-13dcd0d3e2b3n%40googlegroups.com.
--
-tk
Reply all
Reply to author
Forward
0 new messages