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

Graph Scales & Wind Barbs.

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Graph Scales & Wind Barbs.

Post by Phil23 »

Hmm,

Not seeing the Wind Barb's in my 4102 update.

Assuming it may be related to the fact I have a full 7 day of data on the chart.
That also applies to my default site, but I've modified the charts.js to pre-select a 48 hour zoom.

Might need to inject the same in the charts generated by utils.

Basically it's this, but not sure just how much data my injection util handles.

Phil.

Code: Select all

        rangeSelector: {
            buttons: [{
                    count: 6,
                    type: 'hour',
                    text: '6h'
                }, {
                    count: 12,
                    type: 'hour',
                    text: '12h'
                }, {
                    count: 24,
                    type: 'hour',
                    text: '24h'
                }, {
                    count: 48,
                    type: 'hour',
                    text: '48h'
                }, {
                    count: 72,
                    type: 'hour',
                    text: '3d'
                }, {
                    count: 96,
                    type: 'hour',
                    text: '4d'
                }, {
                    count: 120,
                    type: 'hour',
                    text: '5d'
                }, {
                    type: 'all',
                    text: 'All'
                }],
//        buttonTheme : {'stroke-width': 1},
        inputEnabled: true,
        selected    : 3
        }
    };
    
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
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: Graph Scales & Wind Barbs.

Post by HansR »

@Phil: I don't know. You do a lot of trickery with the charts so maybe it breaks somewhere.
Remember, that the JSON for the windbarbs if a coupling between the JSON of the AirLink, the JSON of the WindSpeed and the JSON of the WindDir.
It may be that is goes out of sync somewhere. And beside that - I don't know what frequency you run on, how many minutes in a JSON - it is a lot of data anyway.

Anyway, I pick up the sampling frequency for the JSONs from the CMX inifile.

What happens if you just use two days and just the standard graphs and JSONs, without the hacking (with all respect btw ;) )
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: Graph Scales & Wind Barbs.

Post by HansR »

@Phil: But yes, it could be the amount of data.

Note that I had to disable

Code: Select all

plotOptions: {series: {turboThreshold: 0}},
for it to work.
Don't hack that out of the graph or you'll see nothing.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Graph Scales & Wind Barbs.

Post by Phil23 »

Turned out to be a Pretty Easy fix in the end.....

RTFM!

Suffered from it will just take a minute....

Ini file simply needed this,
WantToSeeWind=true

Barbs now appearing; no change when moving range selector though,
sure that's a different issue.

Excellent addition though, and I not our higher levels are associated with a westerly.
Understandable.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
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: Graph Scales & Wind Barbs.

Post by HansR »

Ah, OK. In my last post it was exactly that which I asked, than I though nahhh.... can't be so I deleted the post. :lol:

Anyway,
Phil23 wrote: Thu 14 Jan 2021 7:46 pm no change when moving range selector though,
sure that's a different issue.
I'am not sure but I think that may have to do with the range selector being coupled to the lower x-axis while the windbarbs are coupled to the upper (the second) x-axis.
I'll look at it ... some time ;)

I am really curious what this will show some time.
It is slowly heating up down south but not even close to last year. Hope for you there won't be large fires but for this graph it would be nice testing.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Phil23
Posts: 884
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis VP2+ & GW1000 (Standalone)
Operating System: Win10 Pro / rPi Buster
Location: Australia

Re: Graph Scales & Wind Barbs.

Post by Phil23 »

Ahh,

Just looked at it again & began to assume that it was actually a chart above a chart, not a single one.

That was based on the observation that the PM values did not display when hovering over the barbs.
:Now: :Today/Yesterday:

Image

Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
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: Graph Scales & Wind Barbs.

Post by HansR »

Well, it is not a chart above a chart, it really is one chart.
Windbarbs are a series in that same chart but they do have a somewhat strange appearance and they do have their own x-axis (the top).
They also have two values at a date point while the lines have only one value at the same date.

It is just a complicated graph :D
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
mingjen
Posts: 35
Joined: Wed 21 Dec 2011 3:40 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Fyn, Denmark
Contact:

Re: Graph Scales & Wind Barbs.

Post by mingjen »

Hi.
I have a question about the windbarbs. Is it possible to change "windbarbs" to danish "vindpile" in charts, and if so, where do I go to change it🤔😊
https://mingjen.net/odense
Davis Vantage Pro2 weather station
CumulusMX
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: Graph Scales & Wind Barbs.

Post by HansR »

mingjen wrote: Mon 13 Nov 2023 8:27 am Hi.
I have a question about the windbarbs. Is it possible to change "windbarbs" to danish "vindpile" in charts, and if so, where do I go to change it🤔😊
I assume you mean to change it in the legend of the charts and the tooltips. I believe that is the only place where the user would want a translation.

At the moment you can't change the text because the word has not been added to the translation file. It would be an issue for the AirLink module and all charts generated by the compiler which make use of the windbarbs.

The legends for the compiler generated charts get their legend automatically generated.
I need to check what needs to be done.

In principle I agree it should be possible to translate.
I'll get back on this.
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: Graph Scales & Wind Barbs.

Post by HansR »

HansR wrote: Mon 13 Nov 2023 8:59 am In principle I agree it should be possible to translate.
I'll get back on this.
Translation of the term WindBarb will be implemented in the next version for AirLink and all ChartsCompiler generated charts (which are all windbarbs in CUtils)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
mingjen
Posts: 35
Joined: Wed 21 Dec 2011 3:40 pm
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Fyn, Denmark
Contact:

Re: Graph Scales & Wind Barbs.

Post by mingjen »

Sounds great.
And very quick responce. :D
https://mingjen.net/odense
Davis Vantage Pro2 weather station
CumulusMX
Post Reply