On Mon, 5 Sep 2016 18:41:25 -0700 (PDT) gjr80 <[email protected]> wrote:
> It seems you do not have the correct wxservices.py? The version you > need has > > class WXCalculate(object): > > at line 49. > > wget https://raw.githubusercontent.com/weewx/weewx/master/bin/ > weewx/wxservices.py > > should get you the last version from github. As you found out, trying > to change the code to use StdWXCalculate won't work. > > Also, be aware that if you are importing from WU any of WUs funky, > ridiculus values (eg -2139) will be imported directly into your > database. At present wee_import only filters ridiculous wind > direction values. I have coded in some QC but wee_import is being > somewhat changed at the moment and that version would be included on > github just yet. You will also need to chnage your date format > 2009/03/20 rather than 2009-03-20. > > Gary thanks Gary I downloaded the wxservices.py but I must have put it in a random directory, because it wasn't present when I checked The date format was my last hurdle I was copying the details from wee_import --help so a little editing there will be helpful I'm not worried about the bad data that may or will arrive - I can check the database for that later Liz -- 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.
