Graphs/plots

62 views
Skip to first unread message

Devonian

unread,
Jan 2, 2020, 2:01:46 PM1/2/20
to weewx-user
I have a VP2 with solar and UV sensors and would like to see the actual max figures in the plots.
I am using the Seasons skin and the daily/weekly/monthly plots all look good, however, the yearly plots look like an averaged figure (or an error?)
Take a look for yourself and you'll see what I mean:

I would like my plots to show the actual max observations, especially for the year plots as I am attempting to show a local club the radiation levels for a solar panels installation.
Is it an easy job to have the plots show the actual recordings?

Nigel.

gjr80

unread,
Jan 2, 2020, 2:23:53 PM1/2/20
to weewx-user
Nigel,

Indeed by the default the Seasons yearly plots plot daily average values, though rain plots a weekly sum and wind plots daily max. You might want to try either changing the default behaviour to plot the daily max value or override individual plots to plot the daily max. In the Seasons skin.conf locate the [ImageGenerator] stanza and under [[year_images]] either change the aggregate_type setting from avg to max (to set the default for all year plots) or under the individual plots set aggregate_type = max to override individual plots. Save skin.conf, no need to restart but unless you want to wait for up to a day for the plots to re-generate it’s best to the delete the plot image files to force regeneration on the next report cycle.

Gary

Devonian

unread,
Jan 2, 2020, 3:33:46 PM1/2/20
to weewx-user
Hi Gary,

Thanks, that got it in one!
I changed the aggregate_type from avg to max for all plots except daily.  Deleted all the png images and forced weewx to regenerate all images with wee_reports

So, one more for you if I may...
In the default daily Seasons page, in the left frame there is High/Low section and underneath is the high & low for the various events e.g. Outside Temperature with the high and low temp.
In the old Standard skin, it also reported WHEN those observations occurred - is it possible to add the time for each event i.e. 11.5C at 11:46 ??

Hope everything is OK with you down under and you are safe from the fires.

Nigel (in a wet and miserable south west UK)

gjr80

unread,
Jan 2, 2020, 3:59:17 PM1/2/20
to weewx-user
Hi Nigel,

The times are still there, you just need to hover over the max/min concerned and it should pop up. If on a touch device just click on the High/Low panel title and a Statistics page will display that shows the times.

We are fine here, too close to suburbia plus the vast majority of the fire activity has moved to southern NSW an Victoria. Would welcome some ‘wet’ here.

Gary

Devonian

unread,
Jan 2, 2020, 4:08:13 PM1/2/20
to weewx-user
Hi Gary,

OK on 'hovering' but I was wondering if it could 'just be there' !!  Never mind, it's not a biggie.

Stay safe and Happy New Year ;-)

Nigel.

gjr80

unread,
Jan 2, 2020, 4:16:56 PM1/2/20
to weewx-user
Hi Nigel,

The only way it can be there would be to change the template, doable I am sure though the operation of the Seasons page(s) is a little more complex than for Standard, so I suspect it will be a little more involved. Also expect any such customization will be left to the user though.

Gary

Reply all
Reply to author
Forward
0 new messages