Wind scatter graph

98 views
Skip to first unread message

Auchtermuchty Weather

unread,
Oct 12, 2018, 5:35:18 AM10/12/18
to weewx-user
Is there anything for WeeWx which will produce a graph similar to this one?  


Not worried about the colour coding for recency, just wanting the dots on the rose. 

gjr80

unread,
Oct 12, 2018, 6:05:26 AM10/12/18
to weewx-user
Late last year Neil and myself were collaborating on a revised version of my stacked windrose generator that would be able to produce 4 different polar wind plots. One plot is what I call the traditional windrose and the others we called trail, spiral and scatter plots. Unfortunately, I can't remember for the life of me exactly what these 3 plots did (other than the obvious). I looked just now but can't put my hands on any of the sample plots we had working.

Unfortunately again, Neil started a new job late last year and I had other things come up and we did not take the new generator any further. I seem to remember we basically had it working and just needed to fix a number minor issues before it could be released as a WeeWX extension. I am happy to have a look at it when I get home on 22nd and see if the scatter plot is what you seek. It certainly should not take too much extra work to get the whole thing tidied up and out the door.

Not much to see other than code but the repo link is https://github.com/gjr80/weewx-polarwindplot

Gary

Auchtermuchty Weather

unread,
Oct 12, 2018, 6:26:00 AM10/12/18
to weewx-user
That would be terrific if you could.  No massive rush as the weather station that was blown away back in September hasn't been replaced yet - it's an insurance job as half the roof of the building it was on went as well.  :o

Thanks for the link to the code, but I've never coded in Python in my life 

Neil Trimboy

unread,
Oct 12, 2018, 4:24:37 PM10/12/18
to weewx-user
I'm still here .... but just about to head off on a 4 week business trip !

Would be great if we could complete this some time Gary.
Its been running fine for me for months and months and as you say just a couple of 'tickets' in the issues list to make it a bit more user friendly.

There are sample screen shots on my original fork at https://github.com/nellyt/weewx-stackedwindrose

However please note that this fork is now defunct, and Gary's at https://github.com/gjr80/weewx-polarwindplot is the master that we agreed to work on.

Neil

gjr80

unread,
Oct 12, 2018, 8:47:19 PM10/12/18
to weewx-user
Good to hear you are still around Neil. Yes, will have to get it finished.

I knew there were example plots around somewhere but could not remember where. The scatter plot without the lines joining the dots would be similar to the linked plot.

Gary

Neil Trimboy

unread,
Oct 12, 2018, 8:51:02 PM10/12/18
to weewx...@googlegroups.com
Correct and can easily turn off the lines and the color fading

--
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/UmRlbLV5k6A/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.

Auchtermuchty Weather

unread,
Oct 14, 2018, 8:14:18 AM10/14/18
to weewx-user
Thought I'd try installing, found some problems with the case of PolarWindPlot, to do with names & cases which were easy to fix.  I changed the report type to scatter in the skin.conf file.

However whilst it generated a couple of scatter PNGs, they didn't look meaningful and it hung eating up processor time.

Oct 14 11:46:18 sgcweather wee_reports[5937]: reportengine: Running report PolarWindPlot
Oct 14 11:46:19 sgcweather wee_reports[5937]: reportengine: Found configuration file /home/weewx/skins/PolarWindPlot/skin.conf for report PolarWindPlot
Oct 14 11:46:21 sgcweather wee_reports[5937]: cheetahgenerator: Generated 1 files for report PolarWindPlot in 2.50 seconds
Oct 14 11:46:22 sgcweather wee_reports[5937]: polarwindplot: petal_width out of range '16', using default '0' instead
Oct 14 11:46:23 sgcweather wee_reports[5937]: polarwindplot: petal_width out of range '16', using default '0' instead


I found the petal_width in weewx.conf, changed it from 16 to 1 and reran the report.  It still hung - this is /var/log/syslog for that run for the PolarWindPlot:

Oct 14 12:06:44 sgcweather wee_reports[7530]: reportengine: Running report PolarWindPlot
Oct 14 12:06:44 sgcweather wee_reports[7530]: reportengine: Found configuration file /home/weewx/skins/PolarWindPlot/skin.conf for report PolarWindPlot
Oct 14 12:06:47 sgcweather wee_reports[7530]: cheetahgenerator: Generated 1 files for report PolarWindPlot in 2.72 seconds


So I've commented it out of weewx.conf for now.



On Friday, 12 October 2018 11:05:26 UTC+1, gjr80 wrote:

gjr80

unread,
Oct 14, 2018, 6:19:09 PM10/14/18
to weewx-user
Not surprising, no install testing was ever done as far as I am aware, all effort was put into developing an existing install so it's quite possible there would be issues installing from scratch. Will find some time to look into it when I am back home next week.

Gary

Reply all
Reply to author
Forward
0 new messages