The wiki article *Cleaning up old 'bad' data
<https://github.com/weewx/weewx/wiki/Cleaning-up-old-'bad'-data>* is a good
place to get started.

Thinking about it, a very simple way to get rid of all bogus data, is to
simply delete anything before, say, 1-Jan-2000.

You may have to adjust the path to weewx.sdb, and you may have to use sudo:

sqlite3 /var/lib/weewx/weewx.sdb
sqlite> DELETE FROM archive WHERE dateTime < strftime('%s', '2000-01-01');

Then rebuild the daily summaries as per the Wiki article.

Make a backup first.

-tk




On Wed, Dec 18, 2019 at 9:49 PM peter <[email protected]> wrote:

> Thanks for clarification. I will search the forum for solution (probably
> discussed already). I probably need to remove those entries from the
> database.
>
> --
> 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/a8a8d20b-707d-4db2-967b-57ebfbb91095%40googlegroups.com
> .
>

-- 
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/CAPq0zEBGOO3Oivwak1b0_NJKG34qxyx1wgTRJ5LgC7R3PBtDHw%40mail.gmail.com.

Reply via email to