My apologies, was up a mountain on my phone so necessarily brief. Short answer. My mistake, wee_import actually needs the latest version of wxservices.py from the weewx master branch on github. The easiest approach is to:
- copy your existing wxservices.py to say wxservices_orig.py - use wget to download wxservcices.py from the weewx master branch: wget https: //raw.githubusercontent.com/weewx/weewx/master/bin/weewx/wxservices.py - copy the downloaded wxservices.py in place of the old version - undo any changes you made to wee_import - run wee_import as advised previously Long answer. To get wee_import to use the StdWXCalculate to calculate any missing derived obs we needed to make some changes to StdWXCalculate, hence the updated wxservices.py. The updated wxservices.py will be included in the next weewx release (assuming that will be 3.6.0) and when wee_import is released it will in fact have a check to ensure the installed weewx is at least 3.6.0. For development that check is turned off (there is no 3.6.0 at the moment) as what is in the master branch awaiting release is still coded as 3.5.0. Gary On Thursday, 1 September 2016 12:51:01 UTC+10, Andrew Milner wrote: > > Sorry, did not understand - do you mean that you need to make changes to > wee_import to use the latest wxservices? Is that why I then got the init > error? I'll wait to hear before testing again!! > > -- 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.
