Gary,

My station is an Vantage Vue with data logger. After the error I put back a 
backup of the the old database, that was created in the night, and weex 
updated it from the datalogger. So that's not a problem.
I did a dry run now, and it shows the same error.
I tried your solution, and it ran whithout issues. Thanx.


So, after this I now have archive_day_wind, archive_day_windSpeed, 
archive_day_windGust, archive_day_windGustDir, archive day_windDir.

In my overview I used to have a line: $alltime.wind.max 
($alltime.wind.gustdir) at $alltime.wind.maxtime.
This showed the alltime maxwind, the direction and the time.
 Now i would like to show alltime max windgust, maxwindgust dir, 
maxwindgusttime and maxwindSpeed, maxwindSpeed dir, maxwindSpeed time. But 
I don know how to get maxwindGust dir and max windSpeed dir.




Op vrijdag 17 maart 2017 10:27:51 UTC+1 schreef gjr80:
>
> 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