Author Topic: Recover correct values from sensor arithmetic overflow?  (Read 1180 times)

0 Members and 1 Guest are viewing this topic.

Offline JoePfeiffer

  • Member
  • *
  • Posts: 7
Recover correct values from sensor arithmetic overflow?
« on: October 24, 2022, 09:09:51 PM »
I'm running weewx with an Acurite Atlas sensor array.  A little while ago we had a very brief, extremely heavy rain shower that appears to have had an arithmetic overflow and corrupted my database -- the first bad entry in my database has -5.09 in the Rain column and -8.82888888888889 in the rainRate column.

Obviously I can simply clear out my bad entries and go on, but I'd rather recover the correct values if possible.  Does anyone know where the overflow might have happened?  I'm guessing it was in the Atlas itself, though I can imagine it being in weewx.  Are the maxima in the various places, and results of overflow, documented anywhere?

Offline vinceskahan

  • Senior Contributor
  • ****
  • Posts: 182
    • home site
Re: Recover correct values from sensor arithmetic overflow?
« Reply #1 on: October 25, 2022, 02:11:17 PM »
Can't explain the 'why' but you should be able to use the StdQc settings to have weewx skip such readings....

https://weewx.com/docs/usersguide.htm#StdQC
WeeWX sites:
  Davis VP2+DFARS to a pi4
  EcoWitt GW1000, WH32 outdoor T+H, multiple WH31 indoor T+H, WH51 soilMoisture, WH34 soilTemp (pi4)
  Davis AirLink (inside)
  PurpleAir (outside)
Home site:        https://www.skahan.net/
Wunderground: KWAFEDER15
PWS:                KWFEDER15
CWOP:              CW6881

 

anything