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 4017) - 17 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

Suggestion for Changes to Daily Temperature Charts

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Suggestion for Changes to Daily Temperature Charts

Post by buffaloseven »

I just want to say, first off, thanks for the continued development of CumulusMX. It's a fantastic program and I really appreciate its ability to show my data quickly, and store/send it in accessible formats wherever I need it.

I've been tinkering with output for a while, and one place I think the changes I've made are good enough for an actual suggestion would be with regards to the Daily Temperature graph. Currently, it's composed of 3 line graphs: high, average, and minimum temperatures. I'd suggest altering it to a box plot for max/min with a line series for the average temperature:
daily-temperature.png
Some of it might just be my preference, but I feel that this style of plot reveals the daily trends in the values more readily and is easier to read than the existing format. I'd be interested in others thoughts; maybe it's just me! I can easily share the config if anyone would like to use it.
You do not have the required permissions to view the files attached to this post.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

I'm a non-user, but for the 'month' range it is a style I've always preferred.

... but there are those that will say (for whatever reason) that they can't show just the min, or just the max.

Hmm... someone should be able to produce some logic to show all graph types based on if min and max are selected ... :ugeek:
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by mcrossley »

I quite like that type of plot, let's see what others think.
Mapantz
Posts: 1774
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by Mapantz »

I simply love any types of graphs, so any new or improved ways are welcomed by me. :D
Image
buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Suggestion for Changes to Daily Temperature Charts

Post by buffaloseven »

beteljuice wrote: Thu 13 May 2021 2:26 pm I'm a non-user, but for the 'month' range it is a style I've always preferred.

... but there are those that will say (for whatever reason) that they can't show just the min, or just the max.

Hmm... someone should be able to produce some logic to show all graph types based on if min and max are selected ... :ugeek:
You could keep the min and max as line graphs, but have them inactive by default. That could be a functional compromise.
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

buffaloseven wrote: Thu 13 May 2021 1:59 pm I'd suggest altering it to a box plot for max/min with a line series for the average temperature:
Looks good, but would need to be able to switch to the original version as well.
btw: do you have a site or do you have this only on the interface?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
buffaloseven
Posts: 28
Joined: Thu 06 Oct 2016 7:40 am
Weather Station: Davis Vantage Pro
Operating System: macOS 11.1
Location: Winnipeg, Manitoba

Re: Suggestion for Changes to Daily Temperature Charts

Post by buffaloseven »

HansR wrote: Thu 13 May 2021 5:50 pm
buffaloseven wrote: Thu 13 May 2021 1:59 pm I'd suggest altering it to a box plot for max/min with a line series for the average temperature:
Looks good, but would need to be able to switch to the original version as well.
btw: do you have a site or do you have this only on the interface?
It's up on my website: https://www.aweathermoment.com/pws/glenwood/
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

me wrote:Hmm... someone should be able to produce some logic to show all graph types based on if min and max are selected ...
First of all, what a lot of palaver to get the basics working !

To do the columns you need highcharts-more.js, but that is not compatible with all the other HS /8.2/ downloads, and so begins a chain of changing the download urls because something fails in all of them :evil:

My 'donor' doesn't have average temp in the json file - is that an addition ?

But to the pudding :) beteljuice brew

Get the Code

Edit: buffaloseven example appears to show one month of data - which is nice and clear, However 'mine' shows a longer period (two months) and is starting to get busy.
Is there a user option for the time span of dailytemp.json ?
Last edited by beteljuice on Wed 19 May 2021 11:20 am, edited 3 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

buffaloseven wrote: Thu 13 May 2021 8:06 pm It's up on my website: https://www.aweathermoment.com/pws/glenwood/
Thanks, Interesting website!
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

beteljuice wrote: Fri 14 May 2021 12:11 am To do the columns you need highcharts-more.js, but that is not compatible with all the other HS /8.2/ downloads, and so begins a chain of changing the download urls because something fails in all of them :evil:
I made a remarks elsewhere about the cdn, that avoids this problem i think.
beteljuice wrote: Fri 14 May 2021 12:11 am My 'donor' doesn't have average temp in the json file - is that an addition ?
You are behind versions i guess or you should talk to your donor: both the daily as the all json have the average (but apparently you found your way elsewhere)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

HansR wrote: Fri 14 May 2021 12:45 am You are behind versions i guess or you should talk to your donor: both the daily as the all json have the average (but apparently you found your way elsewhere)
Sorry, for good understanding one needs to know that the average, min and max is contained on both datafiles (dailytemp.json and alldailytemp.json) but the variable names are slightly different: mintemp versus minTemp. Maybe that confused you?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

@Hans ...

My donors dailytemp.json does NOT contain any avgtemp definitions. You may have noted that because of the amount of test stuff that the donor does, the bigger json files are only updated sporadically.

The last upload was 20th April ! - so I am assuming that avgtemp was a later addition. My new_cumuluscharts.js is looking for it, and I am confident all will work correctly.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by mcrossley »

Average temp (like all the data series) is now user selectable as to whether it is included in the JSON or not.
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Suggestion for Changes to Daily Temperature Charts

Post by HansR »

mcrossley wrote: Fri 14 May 2021 10:58 am Average temp (like all the data series) is now user selectable as to whether it is included in the JSON or not.
Seriously? I just checked and I can't find this.
I can select the file level, but not the variable level.
On the file level I can select to generate (or not) and to FTP (or not) but I really would not know where to select the individual variables.

Really sorry but can you show me?


Ahhh.... :bash: Yes, the Data Series Visibility in the Station Settings
Apparently - I don't change that daily - it settled in my mind as being party of the FTP Settings=>Graph File Settings.
Don't change it again, I can get used to it :groan: :?
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Suggestion for Changes to Daily Temperature Charts

Post by beteljuice »

A few minor tweaks and tidying up under the bonnet later ...

dailytemp modification a'la beteljuice

Now available for a discerning clientele ...

Edit: Now correctly handles 'missing' avgtemp.

Part of readme.txt

Code: Select all

## beteljuice tweaked trends graph

daily temps graph now has 'range' columns added

basic stuff - beteljuice May 2021
	
	zip file contents:-
		new_cumuluscharts.js
		this README.txt

		
Upload new_cumuluscharts.js to your website. (only dailytemp has been modified)

Edit the bottom of trends.htm to look like this:-


Edit: Changes to readme files list in accord with build 3131

dailytemp_mod.zip
You do not have the required permissions to view the files attached to this post.
Last edited by beteljuice on Wed 19 May 2021 11:18 am, edited 3 times in total.
Image
......................Imagine, what you will KNOW tomorrow !
Post Reply