|
I know how hard it can be too keep everything current, all but
impossible. Without user's input we'd all be very far behind. I
manage a couple of local ham radio web sites and am very happy
when bugs, typos and other anomalies are pointed out to me.
WeeWX is a terrific piece of work... very impressive. It drives
an 'in house' wx display upgraded from Weatherlink to WeeWx now
running on a Pi that boots to a HDD and supports a 24" display.
Without WeeWX I'd be searching for a replacement laptop for my
very sick Dell D600 that is now ready for scrap.
Thanks for the quick reply, my test download went well and will
be filling up the last few years in a day or two.
Den
On 2/3/2017 2:49 PM, gjr80 wrote:
Thanks Den, well spotted, that must be a bit of old
syntax from before we went to --to and --from for date-time ranges. I
will get it fixed.
Gary
On Saturday, 4 February 2017 04:12:24 UTC+10, Den S wrote:
From the utilities / weewx_import / importing from
Weather Underground / Step-by-step:
To perform a dry run enter the
following command:
wee_import --import-config=/var/tmp/wu.conf --date="2016/01/20 22:30-2016/01/23 06:00" --dry-run
Note
- mis-use of the 'date' parameter shows a range rather then one
date. this should be to and from
- dates should use '-' NOT '/'
At least that's what my link shows: http://www.weewx.com/docs/utilities.htm#Step-by-step_instructions46
This is what got me to post the issue. Following the help page
rather than the --help
Den
On 2/3/2017 9:35 AM, gjr80 wrote:
Den,
Yes, dates are separated by - not /, I should not have rushed my
reply as I was going out the door.
I had a quick check just now of the on-line Utilities Guide and
the wee_import
--help output and I did not notice any inconsistency.
If there is please let us know what it is and we will fix it.
Gary
On Friday, 3 February 2017 23:54:35 UTC+10, Den S wrote:
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 weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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.
|