We could be talking semantics. The words in the title of "Hourly Rainfall" come from this bit of code <https://github.com/poblabs/weewx-belchertown/blob/master/skins/Belchertown/js/highcharts-dayplots.js.tmpl#L668> and was arbitrarily thrown in there years ago when I took an initial stab at it. Hourly meaning, this is a daily graph, which shows the hours of the day. Hourly Rainfall.
Feel free to change it to whatever makes sense for you. On Wednesday, September 12, 2018 at 2:44:56 PM UTC-4, David Hathaway wrote: > > Thanks for the explanation. That is pretty clear. > > I guess my confusion lies in that the graph says "hourly rainfall" but is > showing interval rainfall. I'm not sure what it should show, to be > honest. With a archive interval of 180 seconds, should it multiply by 20 > to what the hourly rain would be if that rate lasted for an hour? An > aggregation? > > What I see now with the scale set to inches while the values are in the > hundredths... just looks weird. > > Dave > > > On Wed, Sep 12, 2018 at 1:31 PM Thomas Keffer <[email protected] > <javascript:>> wrote: > > "rain" is the amount of rain that fell in the archive interval. > > "rainRate" is a derived quantity, calculated by StdWXCalculate. It's the > amount of rain in a fixed period, divided by the length of that period. The > period is set by option rain_period, with a default of 900 seconds (15 > minutes). > > Posts to the WU use something completely different: the amount of rain > that fell during the preceding 60 minutes. Presumably, the WU then takes > deltas on this number to calculate whatever it is that they are showing. > > -tk > > > On Wed, Sep 12, 2018 at 10:52 AM Pat <[email protected] <javascript:>> > wrote: > > Dave, > > The "Rainfall" in your graph is a really a bucket tip as I understand it. > So if it's only showing 0.01 or 0.02 then that's how many tips per archive > interval. The code that generates that graph is here > <https://github.com/poblabs/weewx-belchertown/blob/master/bin/user/belchertown_highchartsSearchX.py#L140> > . > > The wunderground page shows the precip rate. > > So I think you're looking for the weewx observation rainRate and not rain > (which > shows the 'bucket tips')...? > > For giggles, and since today is a rainy day for me it's easy to test this, > I changed the SQL to rainRate instead of rain and it gave me the graph > attached - which is slightly different than wunderground. N > > ... -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
