[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-14 Thread gjr80
Aha, that would do it, a bit hard to do a directional plot without direction. After the last couple of days I have decided I need the rewrite the windrose generator, it was one of the first pieces of code I write for weewx and it's pretty ratty in places. This is another issue I need to make sur

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-14 Thread Louis De Lange
Nevermind, I found the problem after digging through the code. The imageStackedWindRose3.py required windGustdir and my station only provides windGust without direction ... On Wednesday, 14 December 2016 12:24:08 UTC-8, Louis De Lange wrote: > > Gary, > > Thanks for that. I changed it to windS

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-14 Thread Louis De Lange
Gary, Thanks for that. I changed it to windSpeed and it worked! Now the really perplexing thing - my station provides gust data (even though it appears in 4km/h increments). I know windGust is in the database and to prove it I ran a query shown below listing the dateTime, windSpeed and win

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-14 Thread gjr80
Louis, Does your station provide windGust data? The windSpeed/WindGust plot you included seems a little unusual.in terms of windGust. One thing I did realise after I tidied up the code yesterday was that the windrose defaults to plotting windGust. This is problematic as not all stations provide

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-14 Thread Louis De Lange
Gary Thanks for the fix (1.0.2). I applied the fix and now the units on the generated image shows up as km/h. Unfortunately the wind rose still show all wind speeds as zero, when in fact I have been seeing light wind all day. See attached the current images as reference. I wish I could prov

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-13 Thread gjr80
Well on first look it looks like the overrides in weewx.conf are not being picked up, looking closer at the stacked windrose generator code I can see that the overrides are being picked up but the generator never does any conversion of the raw wind speed data from the database. In terms of effe

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-13 Thread Louis De Lange
Correction on previous post - the StackedWindRose segment in the weewx.conf file only occurs once - I copied the text twice by mistake on posting. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving e

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-13 Thread Louis De Lange
On Sunday, 11 December 2016 18:52:27 UTC-8, gjr80 wrote: > > Thanks, I thought that one had come up before and had been fixed, > apparently not. I have commited a fix to the weewx-WD bitbucket repo and > will release a 1.0.2 version this week sometime. Oh, and by the way the fix > is the same

[weewx-user] Re: Weewx-wd StackedWindRose fails on import PIL modules

2016-12-11 Thread gjr80
Thanks, I thought that one had come up before and had been fixed, apparently not. I have commited a fix to the weewx-WD bitbucket repo and will release a 1.0.2 version this week sometime. Oh, and by the way the fix is the same as is used by weewx in bin/weeplot/genplot.py: try: from PIL imp