My bad, needs latest wxservices.py from weewx master branch. On 01/09/2016 10:37 AM, "Andrew Milner" <[email protected]> wrote:
> Just had a go trying to use this for a dry run. First of all got an error > where weewx.wxservices.WXCalculate could not be found - changed to > weewx.wxservices.StdWXCalculate to get past that one, now got another > error from init saying 3 params needed but 5 supplied. > > Am I using an old or the wrong version of wee_import or something? > > was trying to import from wunder with the command: > sudo ./wee_import --wunder --calc-missing --dry-run --station=ILIMASSO5 > --date=2013-02-01 > > > > On Wednesday, 31 August 2016 11:50:20 UTC+3, Andrew Milner wrote: > >> Well I never knew that!!! I use the api to get temperatures for another >> project - and I guess the only difference is in the format of the returned >> data!! >> >> >> On Wednesday, 31 August 2016 11:29:17 UTC+3, gjr80 wrote: >> >>> >>>> a) where/how are the WU API key and station ID specified when >>>> retrieving history data from WU? >>>> >>> >>> station ID is specified on the command line with the --station= option. >>> No need for an API key, in this case WU is the opposite of a bank; you need >>> an API key to put your data in but you don't need a key to take it out! (of >>> course you do need an API key if you want to use some of the WUs 'value >>> added' services through their API). wee_import doesn't use the WU API, >>> no need, just uses a plain old http request. Try the following in your >>> browser substituting your station ID for XXXXXXYYY: >>> >>> https://www.wunderground.com/weatherstation/WXDailyHistory.a >>> sp?ID=XXXXXXXXYYY&month=8&day=30&year=2016&format=1 >>> >>> >>>> b) Is it possible to specify start and stop dates and times for the >>>> importing from WU via wee_import? >>>> >>> >>> Yep, with --date command line option. You will get the details when you >>> run wee_import --help. >>> >>> 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. > -- 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.
