The value of dayRain is from the Davis LOOP packets, which are, unfortunately, not timestamped by the Davis logger. The driver must add the timestamp.
So, it is very much possible that the packet was created in the logger shortly before midnight, then weewx downloaded it just after midnight, timestamping it 2 seconds after midnight. I suppose we could change the driver so that it zeroes out the value of dayRain for the first packet of the day, provided that the time is within a few seconds of midnight. That violates our general philosophy of not messing with data coming off an instrument, but I can see good reasons for doing it. -tk On Sun, May 28, 2017 at 4:28 AM, Luc Heijst <[email protected]> wrote: > The meteotemplate uploader use value 'dayRain' to populate meteotemplates > 'R' value. > The template can send either archive data or loop data. > > When loop data is selected the 'dayRain' value is not reset to 0.0 at the > exact start of a new day but shortly after. > For my Davis Vantage Pro station I got recently in Meteotemplate a > registration of 29.0 mm rain with time stamp 00:00:02. > The result was a meteotemplate database value of 29.0 mm rain for the > first archive period that day > > Is there a solution for this in weewx? > > Luc > > -- > 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. > -- 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.
