My production weewx is still 3.1.0. Maybe this issue will be impetus for me 
to update. But in the short term:

Hurricane Dorian went by us last night and knocked out power. I shut down 
my weewx host before its UPS died, so missed readings as the eye went by 
about 20 km away. We have power back now, and I would like to add the new 
record low barometer reading to the database. I inserted the readings I 
took off my phone's sensors:

insert archive (dateTime, inTemp, inHumidity, barometer)
select 1567895340, 32.0 + 1.8* 20.7, 49.9, 955.56 * 0.029529983071445;

insert into archive (dateTime, usUnits, interval, inTemp, inHumidity, 
barometer)
select 1567897380, 1, 5, 32.0 + 1.8* 21.9, 44.8, 957.40 * 0.029529983071445;

insert into archive (dateTime, usUnits, interval, inTemp, inHumidity, 
barometer)
select 1567905540, 1, 5, 32.0 + 1.8* 24.0, 31.2, 972.07 * 0.029529983071445;

and would now like to get that reading of 955.56 hPa recognized as a new 
record low.

In the wiki in a page discussing cleaning up data 
<https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data>, Tom says 
you can drop the daily summaries and they  "will be rebuilt the next time 
weewx starts." 

Is this done in my ancient version? I'll give it a try,
1) stop weewx
2) in sqllite3
    drop table archive_day_barometer;
    drop table archive_day_pressure;
3) restart weewxd. The log says:
Sep  8 11:28:19 seal weewx[7671]: engine: Starting backfill of daily 
summaries
Sep  8 11:28:19 seal weewx[7671]: engine: Daily summaries up to date.

My statistics are still presented, but I don't see that record low.

Feel free to tell me to upgrade. :)

P.S. Not a lot of damage here, unlike the poor folks in the Bahamas, Many 
are still without power, but that's about the worst of it.






-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5e81a421-2a89-4b24-a5a6-536f124fee03%40googlegroups.com.

Reply via email to