On Sunday, 28 January 2018 10:05:37 UTC+10, [email protected] wrote:
>
> To whom it may concern...  :^)  There are a few spots in the Customization 
> guide referencing this;
>
> wee_database weewx.conf --rebuild-daily
>
>
> Hi,

That is exactly correct, --rebuild-daily is the correct action, 
--backfill-daily was used in wee_database until weeWX 3.7.0 was released. 
WeeWX v3.7.0 and later uses --rebuild-daily instead of --backfill-daily.
 

> but the help from wee_database actually supports
>  Actions:
>   --backfill-daily  Rebuild the daily summaries from the archive database.
>

Are you sure that the wee_database you are using (or your weeWX install) is 
not 3.6.2 or earlier? I have just checked the 3.7.0, 3.7.1 and 3.8.0 
release copies of wee_database and there is definitely no --backfill-daily 
anywhere in the file.
 

>
> --rebuild-daily failed when I tried last week, but since the summaries 
> rebuild when weewx starts up
> anyway, I let it go.
>

Just be careful here, you will see a line like:

Jan 28 10:21:14 stretch22 weewx[1279]: manager: Starting backfill of daily 
summaries

in the log, whilst it is true weeWX is backfilling the daily summaries it 
is only from the last time the daily summaries were updated until the 
timestamp of the latest record in the archive; nothing is done with any 
historical daily summaries. On the other hand, the --rebuild-daily action 
in wee_database will (in most cases) rebuild the entire daily summaries 
from the very first record in the archive. So for normal operation the 
rebuild during startup is all that is needed, but if you have done 
something that altered historical data (eg deleted some nonsense data) then 
you really need to use wee_database and do a --rebuild-daily.

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