Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd Graphs, But Quite Artistic #41

Closed
gary-hammer opened this issue Aug 1, 2022 · 5 comments
Closed

Odd Graphs, But Quite Artistic #41

gary-hammer opened this issue Aug 1, 2022 · 5 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@gary-hammer
Copy link

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

example-2
example-1

@Daveiano Daveiano added the bug Something isn't working label Aug 1, 2022
@Daveiano
Copy link
Owner

Daveiano commented Aug 1, 2022

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:

  • basis
  • cardinal
  • catmullRom
  • linear
  • monotoneX
  • monotoneY
  • natural
  • step
  • stepAfter
  • stepBefore

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.

@Daveiano Daveiano added the documentation Improvements or additions to documentation label Aug 1, 2022
@gary-hammer
Copy link
Author

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
Copy link
Owner

Daveiano commented Aug 2, 2022

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
Copy link
Author

gary-hammer commented Aug 2, 2022 via email

@Daveiano Daveiano added this to the 2.0.1 milestone Aug 2, 2022
@Daveiano
Copy link
Owner

Daveiano commented Aug 2, 2022

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

My example from #41 (comment) 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"

Daveiano added a commit that referenced this issue Aug 2, 2022
@Daveiano Daveiano modified the milestones: 2.0.1, 2.1.x Aug 3, 2022
@Daveiano Daveiano closed this as completed Aug 6, 2022
@Daveiano Daveiano removed this from the 2.1.0 milestone Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants