Here is the help command output, where it is listed as an option (my bold
added):
pi@raspberrypi:/etc/weewx $ wee_database --help
Usage: wee_database --help
wee_database --create-archive
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME]
wee_database --drop-daily
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME]
wee_database --backfill-daily
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME]
[--trans-days=DAYS]
wee_database --reconfigure
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME]
wee_database --string-check
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME] [--fix]
wee_database --transfer
[CONFIG_FILE|--config=CONFIG_FILE]
[--binding=BINDING_NAME]
--dest-binding=BINDING_NAME
[--dry-run]
Description:
Configure the weewx databases. Most of these functions are
handled automatically by weewx, but they may be useful in special cases.
Actions:
--create-archive Create the archive database and initialize it with the
schema.
--drop-daily Drop the daily summaries from the database.
--backfill-daily Rebuild the daily summaries from the archive database.
--reconfigure Create a new database using the schema in the
configuration file.
Copy over data from the old database.
--string-check Scan the archive database, looking for null strings that
may have
been introduced by a SQL editing program.
--transfer Move data from one database to another.
Options:
-h, --help show this help message and exit
--config=CONFIG_FILE Use configuration file CONFIG_FILE.
--create-archive Create the archive database.
* --drop-daily Drop the daily summary tables from a database.
--backfill-daily Backfill a database with daily summaries.*
--reconfigure Create a new archive database using configuration
information found in the configuration file. In
particular, the new database will use the unit
system
found in option [StdConvert][target_unit]. The new
database will have the same name as the old
database,
with a '_new' on the end.
--string-check Check a sqlite version of the archive database to
see
whether it contains embedded strings.
--fix Fix any embedded strings in a sqlite database.
--transfer Transfer the weewx archive from source database to
destination database.
--binding=BINDING_NAME
The data binding. Default is 'wx_binding'.
--dest-binding=BINDING_NAME
The destination data binding.
--dry-run Print what would happen but do not do it.
--trans-days=DAYS Limit backfill transactions to no more than DAYS
days
of archive data at a time. Default value is 5. May
be
increased for a slight speed increase or reduced to
reduce memory usage.
If you are using a MySQL database it is assumed that you have the
appropriate
permissions for the requested operation.
pi@raspberrypi:/etc/weewx $
On Sunday, 10 March 2019 12:02:13 UTC+2, gjr80 wrote:
>
> Hi,
>
> Can you please tell us what WeeWX version you are using? You can find the
> WeeWX version number in the log when you start WeeWX, in
> /etc/weewx/weewx.conf or by using the following command:
>
> $ /usr/share/weewx/weewxd -v
>
>
> Gary
>
> On Sunday, 10 March 2019 19:24:10 UTC+10, Bernard Boelema wrote:
>>
>> I had some impossibly high wind values which I deleted, but they still
>> exist in the yearly graph. I wanted to rebuild the daily summaries for
>> these days, but it comes back with the following:
>>
>> pi@raspberrypi:/etc/weewx $ wee_database --rebuild-daily --date=2019-02-23
>>
>> ..
>> ..
>> wee_database: error: no such option: --rebuild-daily
>>
>>
>> even though it is listed in the help ( wee_database --help) and on the
>> website.
>>
>
--
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.