Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Question for Mark Crossley: Historic Charts - possible new graph for wind direction?

Please DO NOT use this to publish your entire wish. This Forum is for specific suggestions to enhance the usability of Cumulus MX for all users, NOT your personal requirements. Please check this forum and the rejected forum to make sure you are NOT posting a DUPLICATE suggestion. It will be heavily monitored by Admin and Mark Crossley to determine the feasibility and the difficulty of the suggestion. Those Topics that are deemed inadmissible will moved to the rejected Forum. The remaining Topics will be the Accepted list of future developments, and when our voluntary development group adds it to a build, the build number will be added to the Topic title.
Post Reply
martinu
Posts: 85
Joined: Wed 01 Jan 2014 7:54 pm
Weather Station: Davis Vantage Vue
Operating System: Raspberry Pi: Raspbian Stretch
Location: Rudston, North Yorkshire

Question for Mark Crossley: Historic Charts - possible new graph for wind direction?

Post by martinu »

Mark: I've been looking at the dashboard interface HTML/JS code and I'm curious about a possible future enhancement...

I notice that the dashboard interface for the Historic Charts (interface/js/chartshistoric.js) has a commented-out doWindDir() routine which reads data from api/dailygraphdata/winddata.json.

Is the API that this code talks to still under development, hence the routine being commented-out? Out of interest, I un-commented it and created a button in chartshistoric.html to call it, but although the axes are drawn, the graph hangs on "Loading". If the API isn't there, that probably explains it :D.

Is the intention that there will be daily dominant wind direction readings, with the same time values (UNIX epoch times for DD/MM/YYYY 00:00:00) as for Max Wind, Max Gust and Wind Run in the doWind() routine?

Is there a reason why you are using a separate json file / API rather than adding it to api/dailygraphdata/wdirdata.json that is read in doWind(). It would be useful to plot Dominant Wind Dir alongside Max Wind, Max Gust and Wind Run on the same time axis, which is a lot easier if all the data is in one json file than trying to merge data from two different files.

I may be barking up completely the wrong tree here. I hope you'll forgive me my curiosity :D.
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Question for Mark Crossley: Historic Charts - possible new graph for wind direction?

Post by mcrossley »

Originally I had planned on adding the direction as a separate chart as per the trends, but I decided it wasn't that useful. It may be resurrected at some point though - possibly as part of the other wind graph as you suggest.
Post Reply