* On 2024 12 Feb 00:13 -0600, 'michael.k...@gmx.at' via weewx-user wrote:
> Nate, this is 
> what 
> https://weewx.com/docs/5.0/utilities/weectl-database/#recalculate-daily-summary-weights
>  
> is for. Imagine you manipulate the database an know, the average of a 
> certain type will change after that, the highs an lows aren't affected, 
> e.g. you backfill a gap in the database for outTemp from another source, 
> because your primary sensors battery was empty. Last good value was at 8:00 
> a.m., after the morning low, you've replaced the battery at 1 p.m., before 
> the afternoon high. After you've replaced the values in the database, you 
> run "reweight" for that day, you highs and lows will be untouched.

Note that I am still on 4.10 and that I found what I stated occurred a
couple of months ago before 5.0 was released.  In this case the 4.10
wee_database docs should be consulted.

Try this on a copy of your DB:

Drop the daily summaries.
Rebuild the daily summaries.
Compare.

Again, perhaps this varies based on the backend, but with the Davis
backend I saw that min/wax values logged between archive intervals were
lost.  Fortunately, wee_database has the capability to restore a single
archive_day record if needed.

I am very cautious working with the DB and do so on a copy if need be (I
recently filled a bunch of locally missing data from before a Raspberry
Pi crash in 2015 from Weather Underground.  It worked very well).  I
also dump and back up the DB offsite every six hours.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

-- 
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/20240212090827.gvtl7uca5lv4grhc%40n0nb.us.

Attachment: signature.asc
Description: PGP signature

Reply via email to