radiation and uv graph query

76 views
Skip to first unread message

Ian Prescott

unread,
Aug 19, 2019, 8:17:34 AM8/19/19
to weewx-user
Hi all
I was researching some of my weather history the other day when I stumbled on strange radiation and uv graphs in weekly, monthly and yearly pages.

Screenshot from 2019-08-19 09-42-33.png
so current data graph shows day 18/08/19 (on the left side of night)
UV touched 8
Radiation touched 1400

Screenshot from 2019-08-19 09-43-15.png
so week data graph shows day 18/08/19
UV touched 7
Radiation touched 1200

Screenshot from 2019-08-19 09-43-58.png
so monthly data graph shows day 18/08/19
UV touched 5.5  
Radiation just over 1000

Screenshot from 2019-08-19 09-44-31.png

so yearly data graph shows trend
UV almost 2  
Radiation just over 300

So UV and Radiation values appear to decrease as the time view increases.
Is this right? or have I messed something up?
I have attached weewx.conf and image files.
thanks













weewx.conf
Screenshot from 2019-08-19 09-42-33.png
Screenshot from 2019-08-19 09-43-15.png
Screenshot from 2019-08-19 09-43-58.png
Screenshot from 2019-08-19 09-44-31.png

Andrew Milner

unread,
Aug 19, 2019, 9:16:13 AM8/19/19
to weewx-user
I would guess they are averaged values - whereas perhaps you would prefer to plot maximum values.

Liz

unread,
Aug 20, 2019, 12:42:03 AM8/20/19
to weewx...@googlegroups.com
On Mon, 19 Aug 2019 06:16:13 -0700 (PDT)
Andrew Milner <andrew.s...@gmail.com> wrote:

> I would guess they are averaged values - whereas perhaps you would
> prefer to plot maximum values.
>

They are average values.

Liz

gjr80

unread,
Aug 20, 2019, 4:44:57 AM8/20/19
to weewx-user
Have a look in the relevant skin.conf under [ImageGenerator] and then look at the aggregate_type and aggregate_interval config options under each [[ ]] stanza. By default the plots for week and longer periods plot an average (set by aggregate_type config option) calculated over the aggregate_interval period. For week this is a one hour average, month is a three hour average and year is a one day average (day plots plots do no averaging). Consequently week, month and year plots of data such as UV and radiation can appear to display low values.

One of the main reasons for this approach is to avoid excessive processor loads/times when generating large plots. For a 5 minute archive period one day consists of 288 data points, for a one year plot this would be over 100 000 data points if there was not some sort of aggregation being used. As mentioned you can change aggregate_type to plot the maximum value if you want a more realistic plot. Have a read of The image generator section in the Customization Guide (http://weewx.com/docs/customizing.htm#image_generator)

Gary

Ian Prescott

unread,
Aug 22, 2019, 6:21:29 AM8/22/19
to weewx-user
Thanks for the explanation, I will have a read of the image generator section.
But I am happy that I haven't messed something up.

Ian

--
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/79a9d66c-c1ea-4576-9313-e5accff131b7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages