Display Rainfall

133 views
Skip to first unread message

Ryan M.

unread,
Jun 23, 2019, 3:54:03 PM6/23/19
to weewx-user
Hello,

Is it possible for weewx to display rainfall like the attached graphic portrays?

Regards,
Ryan
weather.cgi.png

gjr80

unread,
Jun 24, 2019, 3:39:26 AM6/24/19
to weewx-user
Hi,

It’s not clear to me what that plot shows, it says cumulative; is it rainfall in the last hour? It’s not rainfall this day.

Since v3.9.0 WeeWX has been able to plot cumulative data; however, as far as I know the accumulation only starts at the earliest time of the plot and continues over the entire plot. So for a Standard WeeWX ‘day’ plot the accumulation starts 27 odd hours before the current time and the data is accumulated over the entire 27 hours. Not quite what you want.

Thinking outside the box you could create a similar plot by creating a custom field in your archive and saving your cumulated data in that field. You could then use the WeeWX plot capabilities in the normal (non-cumulative) manner to plot that custom field.

Gary

rich T

unread,
Jun 24, 2019, 10:44:16 PM6/24/19
to weewx-user


How was that plot generated? I see it is a 24 Hr time period, but was it plotted every 5 minutes. Here is a sample plot based off of a 5 minute archive period.
Rain Total 24.png
Rain Total 24 Zoom.png

Ryan McCammon

unread,
Jun 25, 2019, 4:32:42 PM6/25/19
to weewx...@googlegroups.com
I think your workaround makes sense. Thanks for the feedback.
> --
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_7KZf4wzTUM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/80d12ff1-9c5d-4c82-9b48-8a7a83af259a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ryan McCammon

unread,
Jun 25, 2019, 4:33:00 PM6/25/19
to weewx...@googlegroups.com
Gary's workaround is what I'm aiming for.



On Mon, Jun 24, 2019 at 8:44 PM rich T <storm...@gmail.com> wrote:
>
>
>
>> How was that plot generated? I see it is a 24 Hr time period, but was it plotted every 5 minutes. Here is a sample plot based off of a 5 minute archive period.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_7KZf4wzTUM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8f7eb8e8-4570-400a-a056-5606233d8018%40googlegroups.com.

gjr80

unread,
Jun 25, 2019, 4:49:00 PM6/25/19
to weewx-user
Just bear in mind that whilst the creation of a custom database field (or re-purposing of an existing one) is straightforward and well documented you will need to develop some custom code to populate the field. Easy enough to do but this is not a turnkey solution.

Gary


On Wednesday, 26 June 2019 06:33:00 UTC+10, Ryan M. wrote:
Gary's workaround is what I'm aiming for.



On Mon, Jun 24, 2019 at 8:44 PM rich T <storm...@gmail.com> wrote:
>
>
>
>> How was that plot generated? I see it is a 24 Hr time period, but was it plotted every 5 minutes. Here is a sample plot based off of a 5 minute archive period.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_7KZf4wzTUM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.

Thomas Keffer

unread,
Jun 25, 2019, 5:33:31 PM6/25/19
to weewx-user
Many weather stations provide dayRain.

It also seems like something StdWXCalculate should provide.

-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/8e99d8e8-c91f-4803-8d6f-4e61eb859d94%40googlegroups.com.

Ryan McCammon

unread,
Jun 25, 2019, 5:42:35 PM6/25/19
to weewx...@googlegroups.com
Hi Thomas,

Thanks for your feedback. I've got a Pro Vantage 2, and am running
weewx v. 3.7.1.
It seems that there should be a way to sum rainfall over a period of
time (3 hours?),
and display it like the graphic I provided. A cumulative rolling total.

That said, thank you for your efforts in the programming/support for weewx.

Regards,
Ryan
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDASJ5J9m31Lg%2BzrL_UDFmjsCdmtm_9xqBfZxcXMfqjyQ%40mail.gmail.com.

Pat

unread,
Jun 25, 2019, 5:50:33 PM6/25/19
to weewx-user
The chart rich shows is from my skin called Belchertown which takes rain over a timespan to create the "rainTotal" observation for that timespan. "rainTotal" is just a simple addition of the "rain" observation across the timespan. As far as I know this type of aggregation isn't available within weewx, which is why I did it like this. So you could make a "rain over last 3 hours" chart if you wanted using the Belchertown skin. 


>> To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8e99d8e8-c91f-4803-8d6f-4e61eb859d94%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/_7KZf4wzTUM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages