Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Highcharts Wind Rose

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Highcharts Wind Rose

Post by mcrossley »

I keep looking at the Highcharts Wind Rose and wondering if we could use that with Cumulus. I think the only way at the viable moment would be via SQL database table of either realtime logs, or the archive logs. I can't see any way of getting this from Cumulus web tags - other than processing the wind 'arrays' which would be relatively costly in terms of bandwidth.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Highcharts Wind Rose

Post by steve »

Presumably the best solution would be for Cumulus to generate web tags containing the values? 16 arrays (one for each direction) containing the values for the 7 wind speed bands?
Steve
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: Highcharts Wind Rose

Post by tobyspond »

Mark,

I use the realtime log for my last 24 hour windrose and the monthlylog files for the longer term windroses. Both the realtime and monthly log files are in a SQL database that I query to generate the windroses. However, I am using jpgraphs and not highcharts. I decided on jpgraphs becuase they had a windrose and purchased the professional version for the windrose. Unfortunately, the highchart windrose capability did not exist at the time I was looking into various charting software. The highchart version looks nice though.

Kerry
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Wind Rose

Post by mcrossley »

steve wrote:Presumably the best solution would be for Cumulus to generate web tags containing the values? 16 arrays (one for each direction) containing the values for the 7 wind speed bands?
Yes, that would be the most generic solution I guess :lol:

16 or 8 directions depending on the resolution selected in Cumulus.

I'm trying to find what the 'standard' speed bands are though, anyone any idea, are there any standards in this area?

Also what interval should be used? last 12 hours, 24 hours? Today? last 30 days? I guess that depends on the intended use.
tobyspond wrote:Mark,
I use the realtime log for my last 24 hour windrose and the monthlylog files for the longer term windroses. Both the realtime and monthly log files are in a SQL database that I query to generate the windroses. However, I am using jpgraphs and not highcharts. I decided on jpgraphs becuase they had a windrose and purchased the professional version for the windrose. Unfortunately, the highchart windrose capability did not exist at the time I was looking into various charting software. The highchart version looks nice though.

Kerry
Kerry, your response came in as I was typing the above, any thoughts?
tobyspond
Posts: 252
Joined: Fri 24 Jun 2011 5:57 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Lamoine, Maine, USA

Re: Highcharts Wind Rose

Post by tobyspond »

Hi mark,

I'm using the following speed intervals in mph 1-3, 4-7, 8-12, 13-17,18-24, >25. I did spend some time researching the speeds to use and I do not remember where I found these intervals. My wind speeds tend to the lower end of these ranges. I wanted ranges that would capture my wind speeds at my location. You could check to see what the UKMET uses for ranges. I think windroses are more typically used for longer periods of time (30 years), but I wanted to look at shorter intervals as well. In addition to the last 24 hour windrose, I have annual, monthly, and daily windroses. I plan on creating an all time windrose - it is on the to do list with many other items:).

Kerry
BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Highcharts Wind Rose

Post by BCJKiwi »

There is already a whole set of RecentWindxxxx tags including gust, direction, speed etc for which you can select the intervals you want (by the minute up to 1 week ago).

Of course they will only be sent to the website at the tags interval but this could be used to build a database with data every minute if you kept sending say each minute's data from 1 thru 10 every 10 minutes.
User avatar
gwheelo
Posts: 453
Joined: Wed 11 Jun 2008 7:36 pm
Weather Station: WMR-88
Operating System: Windows 8.1
Location: L'Estartit, Spain
Contact:

Re: Highcharts Wind Rose

Post by gwheelo »

Presumably the best solution would be for Cumulus to generate web tags containing the values? 16 arrays (one for each direction) containing the values for the 7 wind speed bands?
That is certainly the best solution for me and I suppose all the other users without integrated SQL.

gwheelo
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Wind Rose

Post by mcrossley »

Kerry, yes, I'd seen that the usual Wind Rose is for a 30 year period - I guess that rules out most Cumulus users! :lol:

I also see that many people like yourself using them for shorter periods offer a range of roses covering different intervals.

It sounds more and more like a job for SQL rather than web tags to me.
BCJKiwi wrote:There is already a whole set of RecentWindxxxx tags including gust, direction, speed etc for which you can select the intervals you want (by the minute up to 1 week ago).

Of course they will only be sent to the website at the tags interval but this could be used to build a database with data every minute if you kept sending say each minute's data from 1 thru 10 every 10 minutes.
The problem is they are 'instantaneous' values (or 10 minute averages anyway), so you would have to bin and sum them for every direction to work out the percentages - only really viable from a database. If you are using SQL then you will probably already be recording the Cumulus monthly logs into a table so have the 'raw' data available anyway?

Hmm, on to the back burner again for a while I think.
Post Reply