Hi everyone
Is there a way to represent weather data (wind) using the flot plugin 'direction'?.
https://code.google.com/p/jquery-flot-direction/
http://jsfiddle.net/DrFiZ/kGaw8/4/
My programming skills are basic, so I could not figure out how to get data from two feeds [ Speed , Direction , timestamp ] and represent it in the same graph.
I have a weather station (wh1081) that sends data (weex) to a local install of emoncms, but the information of wind speed and direction is hard to read. When the wind blows from the south the graph moves between 375 and 22.5 degrees generating jumps making hard to correlate data.
Thanks for your help.
Luis C.
Re: Wind direction visualization
I spent a little time looking at this for my weather station, for my purposes a wind rose would be ideal but I've yet to find/design an implementation I can live with. For now I just graph wind speed and gust with a compass showing current wind direction for which I use the javascript from here https://code.google.com/p/jqueryrotate/.
Not really answering your question I know but it's good to share :)
Re: Wind direction visualization
Hi,
I'm working (slowly) on a shield for wind turbine measurement, And for the moment, I use highcharts library for test some visualizations.
If you want you can see example here :
http://desplanchesdepalette.org/colibri/Colibri_Energie.html
and my work here :
https://github.com/netbomo/alpha1 (sorry it's in french)
But for the moment it's very slow to download the page but I need to work on process for inputs. And after find how to draw windrose with emoncms.
have a good day
gilou
Re: Wind direction visualization
Hello ,
I am too also looking for a way to display the wind direction , I am downloading it from a local weatherstation with a numerical value of 0-360 , not so much as to make a rose but something like a compass needle widget to show the last reading, has anyone done this or able to help develope one?
Mike
Re: Wind direction visualization
I have unfortunately the RaspberryPi that provides the data is down at the moment however you're welcome to view the page and javascript source it's here http://speciesrace.com/weather.asp
Re: Wind direction visualization
Brain ,
Thats a little busy for what im wanting , id rather have a simple dial with a pointer in the direction of the wind such as a widget , wunderground has pretty much what im looking for as a visualisation,. Wind speed displayed in a circle with an arrow in the direction . Anyone know how to make this into a widget ?
Re: Wind direction visualization
So just change the images that are being shown and rotated for simpler ones of your choice, check the source of the page
<div style="position: relative; left: 0; top: 0;">
<img src="images/CompassRose.png" style="position: relative; top: 0; left: 0;">
<img src="images/CompassNeedle.png" id="image" style="position: absolute; top: 85px; left: 266px; transform: rotate(0deg); transform-origin: 50% 50% 0px;">
</div>
Re: Wind direction visualization
This is my try at making a widget for compass.
Re: Wind direction visualization
New needle for the compass