Populating missing entries from wunderground

30 views
Skip to first unread message

James Berry

unread,
Jun 13, 2020, 11:35:48 AM6/13/20
to weewx-user
I have some missing entries due to a few different weewx outages over the last few weeks. The data is all on wunderground.
I know I can populate from wunderground (I've done it before) but is there an easy way to only fill in the gaps?
Or to even identify start and end times of the missing data out of the box?

gjr80

unread,
Jun 13, 2020, 5:23:40 PM6/13/20
to weewx-user
Hi,

There is no particular need to identify missing records for backfill from WU. Just identify any days with missing records that you wish to backfill and run wee_import for those days. wee_import will attempt to import all available records for the day concerned but any records that already exist in the archive will be rejected, only those records that do not exist in the archive will be imported. Attempting to import records that already exist in the archive will result in an entry similar to the following:

Aug 22 14:38:28 stretch12 weewx[863]: manager: unable to add record 2018-09-04 04:20:00 AEST (1535998800) to database 'weewx.sdb': UNIQUE constraint failed: archive.dateTime

These can be safely ignored and they result in nothing more sinister than adding entries to your log.

Gary

Reply all
Reply to author
Forward
0 new messages