Hi,

Have a close read of the wee_import help using 

wee_import --help

or the wee_import <http://weewx.com/docs/utilities.htm#wee_import_utility> 
section of the Utilities Guide. You will see that the format of the --date 
option is

--date=YYYY-mm-dd

--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 
<http://weewx.com/docs/utilities.htm#wee_import_utility> 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 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