Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.10.0 (build 3116) - 26 February 2021 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

Graph Scales & Wind Barbs.

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
Phil23
Posts: 609
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
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
        }
    };
    

User avatar
HansR
Posts: 1810
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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
Cumulus build 3107 ● Davis Vantage Pro 2+ ● RPi 3B+ ● Raspbian 5.4.79-v7+ ● Mono JIT compiler Debian 5.18.0.240

User avatar
HansR
Posts: 1810
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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
Cumulus build 3107 ● Davis Vantage Pro 2+ ● RPi 3B+ ● Raspbian 5.4.79-v7+ ● Mono JIT compiler Debian 5.18.0.240

Phil23
Posts: 609
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
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.

User avatar
HansR
Posts: 1810
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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
Cumulus build 3107 ● Davis Vantage Pro 2+ ● RPi 3B+ ● Raspbian 5.4.79-v7+ ● Mono JIT compiler Debian 5.18.0.240

Phil23
Posts: 609
Joined: Sat 16 Jul 2016 11:59 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Win7 Pro
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.

User avatar
HansR
Posts: 1810
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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
Cumulus build 3107 ● Davis Vantage Pro 2+ ● RPi 3B+ ● Raspbian 5.4.79-v7+ ● Mono JIT compiler Debian 5.18.0.240

Post Reply