Daveiano / weewx-wdc

Weather Data Center skin for WeeWX
https://www.weewx-hbt.de/
GNU General Public License v3.0
48 stars 14 forks source link

Odd Graphs, But Quite Artistic #41

Closed gary-hammer closed 2 years ago

gary-hammer commented 2 years ago

The graphs are creating very odd plots. See a few examples attached.

example-2 example-1

Daveiano commented 2 years ago

This usually happens because there are holes in your data. Like in your screenshots, it looks like there is a gap in the data between 21:00 and 05:00.

What you could try is to change the curve of these charts. For example, for changing the outTemp/dewPoint chart, you need to update [[[[tempdew]]]] under [DisplayOptions][[diagrams]][[[combined_observations]]]:

[[[[tempdew]]]]
    label = 'Temperature / Dewpoint'
    [[[[[obs]]]]]
        [[[[[[temp]]]]]]
                observation = "outTemp"
                curve = "linear"
        [[[[[[dew]]]]]]
                observation = "dewpoint"
               curve = "linear"

The default curve for these is natural, which seems to produce these glitches.

Possible values are:

You could try with linear or basis if this solves the problem. Please let me know if this helps, in that case, I would add a note on this in the readme.

gary-hammer commented 2 years ago

I tried the 2 values suggested and see no difference. But, as it is missing large amounts of data, let's wait until I can run continuously for 24 hours. This is on my test/staging server and weewx is ran manually.

Daveiano commented 2 years ago

Ok please report back but continuous data should solve this!

I will have a look at why these changes don't make any difference (they should).

gary-hammer commented 2 years ago

I have enabled daemon mode and running it for 24 hours so all the data is present.

On Tue, Aug 2, 2022, 10:59 Daveiano @.***> wrote:

Ok please report back but continuous data should solve this!

I will have a look at why these changes don't make any difference (they should).

— Reply to this email directly, view it on GitHub https://github.com/Daveiano/weewx-wdc/issues/41#issuecomment-1202759507, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCEBJJYGA2NHN6G6WVO7GLVXEZU5ANCNFSM55HVZC2A . You are receiving this because you authored the thread.Message ID: @.***>

Daveiano commented 2 years ago

Ok, and the plots are now ok or still quite artistic? ;)

My example from https://github.com/Daveiano/weewx-wdc/issues/41#issuecomment-1201739707 was incorrect. If you want to change the curve on said tempdew diagram, do the following:

[[[[tempdew]]]]
    label = 'Temperature / Dewpoint'
    curve = "linear"
    [[[[[obs]]]]]
        [[[[[[temp]]]]]]
                observation = "outTemp"
        [[[[[[dew]]]]]]
                observation = "dewpoint"