|
Gary,
I was following the on-line Utilities guide. It looks like both
of us needed to read the help file!!
Dates are separated with a '-' not a '/'. Times are not needed so
I will leave them out.
This worked:
{ wee_import --import-config=/var/tmp/wu.conf
--from=2016-01-20 --to=2016-01-23 --dry-run }
Guess the online user's documentation needs a bit of updating.
Thanks for your quick reply... think I am ready to do some
importing.
Den
On 2/3/2017 8:34 AM, gjr80 wrote:
Hi,
Have a close read of the wee_import help using
or the wee_import
section of the Utilities Guide. You will see that the format of
the --date
option is
--date
is used for importing a single (entire) day. You appear to be
wanting to import a time span so you need to use --from and
--to
and not --date.
Again have a look at the the --help output or the wee_import
section of the Utilities Guide. Based on the dates and times you
posted perhaps you are after something like:
wee_import --import-config=/var/tmp/wu.conf --from=2016/01/20T22:30 --to=2016/01/23T06:00 --dry-run
Gary
On Friday, 3 February 2017 23:18:57 UTC+10, Den S wrote:
Trying to import WU data following the
Utilities example and get the following:
wee_import --import-config=/var/tmp/wu.conf
--date="2016/01/20
22:30-2016/01/23 06:00" --dry-run
Starting wee_import...
**** Command line option error.
**** Invalid --date option specified.
**** Nothing done,
exiting.
I have confirmed there is 'History' data on the WU site for
these test pages.
Help!
Thanks
--
You received this message because you are subscribed to a topic in
the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/JGhqG1frdQw/unsubscribe.
To unsubscribe from this group and all its topics, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
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.
|