The console reads 0.73" for the day and 0.97" for 24 hours. Weewx 0.52" for the day and 0.24'" late yesterday. Missing 0.21" in weewx database.
I've been running weewx since 2016 and never had experienced this with a daylight time change. Anyway, I added the missing data to the database. On Sunday, March 10, 2024 at 9:47:40 PM UTC-4 Tom Keffer wrote: > I doubt the error is a problem: it's in the reporting thread, not the main > thread. It's the main thread that puts things in the database. The > reporting thread only reads from it. > > Make sure we're talking about the same thing: WeeWX reports "rain since > midnight". It's possible the skin reports "rain over the last 24 hours." > > The console also reports "rain since midnight," so I can't square that > with what's in the database and what WeeWX is reporting. > > On Sun, Mar 10, 2024 at 6:22 PM Russell Swan <russe...@comcast.net> wrote: > >> Checked the database and I add up 0.52" present. The same as output by >> $day.rain.sum >> >> I just recently converted to a new skin, Ken True's Saratoga weewx >> template. On checking the logs if find that at 3am (no 2am) errors are spit >> out by cheetah. I now suspect the origin for this behavior resides there? >> After a couple hours of these errors it all runs normal, but with 0.21" >> missing in the database. It was raining hard. >> >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.manager: Added >> record 2024-03-10 03:00:00 EDT (1710054000) to database 'weewx.sdb' >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.manager: Added >> record 2024-03-10 03:00:00 EDT (1710054000) to daily summary in 'weewx.sdb' >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.manager: Added >> record 2024-03-10 03:00:00 EDT (1710054000) to database 'weewxwd.sdb' >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.manager: Added >> record 2024-03-10 03:00:00 EDT (1710054000) to daily summary in >> 'weewxwd.sdb' >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.restx: >> Wunderground-PWS: Published record 2024-03-10 03:00:00 EDT (1710054000) >> Mar 10 03:00:15 weewx-server weewxd[4645]: INFO weewx.restx: CWOP: >> Published record 2024-03-10 03:00:00 EDT (1710054000) >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.cheetahgenerator: >> Generated 13 files for report LHWReport in 0.78 seconds >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.imagegenerator: >> Generated 6 images for report LHWReport in 0.22 seconds >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.reportengine: >> Copied 0 files to /var/www/html/weewx >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.cheetahgenerator: >> Generated 1 files for report wxobs in 0.06 seconds >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.reportengine: >> Copied 0 files to /var/www/html/wxobs >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.reportengine: >> Copied 0 files to /var/www/html >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.cheetahgenerator: >> Generated 1 files for report SteelSeries in 0.03 seconds >> Mar 10 03:00:16 weewx-server weewxd[4645]: INFO weewx.imagegenerator: >> Generated 8 images for report SteelSeries in 0.15 seconds >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> Evaluation of template /etc/weewx/skins/WEEWXtags/WEEWXtags.php.tmpl failed >> with exception '<class 'ValueError'>' >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** Ignoring template /etc/weewx/skins/WEEWXtags/WEEWXtags.php.tmpl >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** Reason: start time (1710057000) is greater than stop time (1710054000) >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** Traceback (most recent call last): >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weewx/cheetahgenerator.py", line 334, in >> generate >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** unicode_string = compiled_template.respond() >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** File "_etc_weewx_skins_WEEWXtags_WEEWXtags_php_tmpl.py", line 808, >> in respond >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weewx/tags.py", line 129, in span >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** weeutil.weeutil.archiveSpanSpan(self.report_time, >> time_delta=time_delta, >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weeutil/weeutil.py", line 414, in >> archiveSpanSpan >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** return TimeSpan(start_ts, time_ts) >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** File "/usr/share/weewx/weeutil/weeutil.py", line 171, in __new__ >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** raise ValueError("start time (%d) is greater than stop time (%d)" >> % (args[0], args[1])) >> Mar 10 03:00:17 weewx-server weewxd[4645]: ERROR weewx.cheetahgenerator: >> **** ValueError: start time (1710057000) is greater than stop time >> (1710054000) >> Mar 10 03:00:17 weewx-server weewxd[4645]: INFO weewx.cheetahgenerator: >> Generated 0 files for report WEEWXtagsReport in 0.63 seconds >> Mar 10 03:00:18 weewx-server weewxd[4645]: INFO weewx.imagegenerator: >> Generated 21 images for report WEEWXtagsReport in 1.02 seconds >> Mar 10 03:00:18 weewx-server weewxd[4645]: INFO user.stackedwindrose: >> Generated 1 images for WEEWXtagsReport in 0.03 seconds >> Mar 10 03:00:20 weewx-server weewxd[4645]: INFO weewx.restx: PWSWeather: >> Published record 2024-03-10 03:00:00 EDT (1710054000) >> Mar 10 03:00:20 weewx-server weewxd[4645]: INFO weewx.cheetahgenerator: >> Generated 3 files for report ClientrawReport in 2.16 seconds >> Mar 10 03:00:24 weewx-server weewxd[4645]: INFO weewx.restx: >> WeatherCloud: Published record 2024-03-10 03:00:00 EDT (1710054000) >> Mar 10 03:00:34 weewx-server weewxd[4645]: INFO weewx.reportengine: >> ftpgenerator: Ftp'd 44 files in 13.57 seconds >> >> >> >> On Sunday, March 10, 2024 at 8:36:26 PM UTC-4 Tom Keffer wrote: >> >>> Let's see what's in the database. I don't know what kind of install you >>> did, but for a package install do this (you type *bold* text): >>> >>> *sqlite3 /var/lib/weewx/weewx.sdb* >>> >>> >>> for a pip install >>> >>> *sqlite3 ~/weewx-data/archive/weewx.sdb* >>> >>> >>> then see how much rain is in the archive records: >>> >>> sqlite> *select datetime(dateTime,'unixepoch','localtime'), rain from >>> archive where date(dateTime,'unixepoch','localtime')='2024-03-10';* >>> >>> >>> Do they look reasonable? >>> >>> Also, check the total amount of rain in both the main archive table, and >>> in the daily summaries: >>> >>> sqlite> *select sum(rain) from archive where >>> date(dateTime,'unixepoch','localtime')='2024-03-10';* >>> sqlite> *select sum from archive_day_rain where >>> date(dateTime,'unixepoch','localtime')='2024-03-10';* >>> >>> >>> What are the values? Do they match? >>> >>> >>> On Sun, Mar 10, 2024 at 10:00 AM Russell Swan <russe...@comcast.net> >>> wrote: >>> >>>> Hi, daylight saving time happened last night and my rain total >>>> ($day.rain.sum) for the day does not equal that on the Davis Vantage Pro2. >>>> The console reads 0.73" and weewx puts out 0.52". Interestingly, my Steel >>>> Gauges indicate the correct 0.73". I think an hour of rain was dropped. >>>> >>>> weewx version 5.02 >>>> >>>> -- >>>> 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/2a443e7a-da18-4a65-9eb2-b73f0e4744fan%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/2a443e7a-da18-4a65-9eb2-b73f0e4744fan%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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/425b3e5c-1ddf-4b70-afc7-923fe668400dn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/425b3e5c-1ddf-4b70-afc7-923fe668400dn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/1d5f1ef9-8e7b-43e6-b216-e90330017e89n%40googlegroups.com.