Hi,

Put simply --update will weight a number of daily summary fields according to 
the interval used in the archive. Judging by the error trace provided you 
appear to have daily summary records for days that have no records in your 
archive. I think you have 2 options:

- The quick fix is to run wee_database with --drop-daily followed by 
--rebuild-daily to drop your daily summaries and then rebuild them from your 
archive. The rebuild should fix the situation I indicated above and you will 
not need to --update, the rebuild takes care of that. This approach will result 
in some loss of granularity of the daily summary data (eg max and min times) 
but otherwise it's non-destructive.

- The alternative is to wait for Tom, he may have further insight, or he may 
say do a --drop-daily followed by a --rebuild! Of course if your station is 
offline you may be missing data if your station does not have memory.

I would also be interested to know if you did a wee_database --update --dry-run 
beforehand, would like to know if the dry run missed the error.

Gary

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to