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 .
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 .
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
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?
- 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?
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.