Re: [weewx-user] Re: Current wind graphic?

2018-04-06 Thread RobbH
Thanks for the tips on color, Glenn. (Thanks also for providing a live example of how this looks.) I hope someone can come up with a more attractive color combination that provides enough contrast between wind and gusts, without clashing. Colors are not my forte. Just ask my wife. The other

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread RobbH
Thanks, Tom! You made my day. About other measurement units, the log scale in the graphic works with values from 1 to 100, and possibly a bit beyond. I think that might work reasonably well for knots and km per hour, but probably not for meters per second. On Thursday, April 5, 2018 at

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread Thomas Keffer
Very clever! -tk On Thu, Apr 5, 2018 at 12:36 PM, RobbH wrote: > I finally came to the realization that everything I wanted to do could be > done with the Cheetah engine, and even learned a tiny bit of Python in the > process. The following code, added to index,html.tmpl

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread RobbH
For future reference, if the graphic linked in the previous post is no longer available, just save the svg code (everything but the '#import math' line) to a file, rose.svg. Open it in a text editor, then replace the two lines of text declaration and the two "if" blocks, all following the final

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread Glenn McKechnie
Interesting, Nice and simple too. Just dropped the code into the main index template here and it works well. I'm using Metric and kph ( km/h ) here and I don't see anything unusual in its scaling. http://203.213.243.61/weewx/ In fact, it's probably a keeper. Just need to find a more suitable

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread RobbH
It's available (temporarily) here: http://rh3.operamail.com/windrose_testing.svg On Thursday, April 5, 2018 at 3:45:58 PM UTC-4, Alec Bennett wrote: > > Possible to see the generated output of that somewhere? > > On Thu, Apr 5, 2018 at 12:36 PM, RobbH > wrote: > >> I

Re: [weewx-user] Re: Current wind graphic?

2018-04-05 Thread Alec Bennett
Possible to see the generated output of that somewhere? On Thu, Apr 5, 2018 at 12:36 PM, RobbH wrote: > I finally came to the realization that everything I wanted to do could be > done with the Cheetah engine, and even learned a tiny bit of Python in the > process. The

[weewx-user] Re: Current wind graphic?

2018-04-05 Thread RobbH
I finally came to the realization that everything I wanted to do could be done with the Cheetah engine, and even learned a tiny bit of Python in the process. The following code, added to index,html.tmpl (or some other template) generates a crude compass rose with up to two directional vanes,

[weewx-user] Re: Current wind graphic?

2018-04-02 Thread RobbH
Very nice! That's not exactly what I'm attempting right now, but I'll keep in mind for the future. I hope you'll add it to the weewx wiki, so it'll be easy to find in the future. I didn't find the realtime gauge data extension in the wiki, either, but found it here:

[weewx-user] Re: Current wind graphic?

2018-04-01 Thread Alec Bennett
> On the other hand, it may be possible to do all I need with javascript, and I'll probably try that first. If you want to use javascript, you might be interested in this project of mine: github.com/wrybread/Weather-Underground-Style-Real-Time-Gauge Personally I think javascript is a good

[weewx-user] Re: Current wind graphic?

2018-03-31 Thread RobbH
On the other hand, it may be possible to do all I need with javascript, and I'll probably try that first. A crude version, without making the wind directional pointer proportional to wind speed, can be done with svg graphics and no outside help. I've posted that to the old thread that I linked

[weewx-user] Re: Current wind graphic?

2018-03-30 Thread RobbH
Maybe, at long last, I'm going to have to buckle down and learn enough of Python to do this! On Friday, March 30, 2018 at 6:51:49 PM UTC-4, vince wrote: > > On Friday, March 30, 2018 at 1:54:30 PM UTC-7, RobbH wrote: >> >> Still pursuing this, and I have learned how to generate the sort of

[weewx-user] Re: Current wind graphic?

2018-03-30 Thread vince
On Friday, March 30, 2018 at 1:54:30 PM UTC-7, RobbH wrote: > > Still pursuing this, and I have learned how to generate the sort of image > I want, but not within Weewx. Is it possible call an external program > (shell script) during each report cycle? > > It is possible to do darn near anything

[weewx-user] Re: Current wind graphic?

2018-03-30 Thread RobbH
Still pursuing this, and I have learned how to generate the sort of image I want, but not within Weewx. Is it possible call an external program (shell script) during each report cycle? On Friday, March 23, 2018 at 2:44:49 PM UTC-4, RobbH wrote: > > Is it possible, using the standard image