Current / daily graphs are empty...

59 views
Skip to first unread message

Tor Tveitane

unread,
Apr 21, 2020, 5:25:17 AM4/21/20
to weewx-user
Hi,

We have had weewx installed on debian for some time so it has collected a fair amount of data and all graphs look nice - except for the default view's Current graphs.  They are empty (grid and background only).  The Daily graph files are generated at the same intervals as weekly and monthly graphs.  When looking at the weekly graph I also see that today's data is graphed.  So weather data is saved but somehow the current day's data is not graphed as into the day*.png files like with the other intervals.  What can be wrong here?

Thanks a lot for help on this.

regards

Tor

Thomas Keffer

unread,
Apr 21, 2020, 6:59:21 AM4/21/20
to weewx-user
Hello, Tor

You're not giving us much information to go on. 

What kind of weather station?
Which skin? Have you modified it?
Have you checked the timestamps of the generated daily HTML files? Are they, in fact, recent?
What kind of database (sqlite or MySQL)? Have you checked the database to make sure you have recent data?

Plus, of course, the log. See the wiki article Help! Posting to weewx-user for how to post a usable log.

-tk


--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ce99c9cb-c242-4708-8fbe-a635b1d25454%40googlegroups.com.

gjr80

unread,
Apr 21, 2020, 7:53:47 AM4/21/20
to weewx-user
Hmmm, new install after using other PWS software, VP2, working fine but (only) current plots appear to contain no data. Sounds like a combination of a default 30 minute archive period and 'dots in the plots'.

Gary

On Tuesday, 21 April 2020 20:59:21 UTC+10, Thomas Keffer wrote:
Hello, Tor

You're not giving us much information to go on. 

What kind of weather station?
Which skin? Have you modified it?
Have you checked the timestamps of the generated daily HTML files? Are they, in fact, recent?
What kind of database (sqlite or MySQL)? Have you checked the database to make sure you have recent data?

Plus, of course, the log. See the wiki article Help! Posting to weewx-user for how to post a usable log.

-tk


On Tue, Apr 21, 2020 at 2:25 AM Tor Tveitane <bus...@gmail.com> wrote:
Hi,

We have had weewx installed on debian for some time so it has collected a fair amount of data and all graphs look nice - except for the default view's Current graphs.  They are empty (grid and background only).  The Daily graph files are generated at the same intervals as weekly and monthly graphs.  When looking at the weekly graph I also see that today's data is graphed.  So weather data is saved but somehow the current day's data is not graphed as into the day*.png files like with the other intervals.  What can be wrong here?

Thanks a lot for help on this.

regards

Tor

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Tor Tveitane

unread,
Apr 21, 2020, 7:57:35 AM4/21/20
to weewx-user
Hi,

I'm sorry for not including the log sample and more information about skins etc.  It will come below.  But if you read my post will you see that everything is working fine as expected and the data is updated nicely.  - Except for the contents of the daily graphs.  This means that all the files in /var/www/weewx are updated each half hour including index.html and all the.png files.  Also week*.png and month*.png files contains graph data as expected and they are displayed nicely in index.html.  However the day*.png files do not contain any graph data, only grid and background.  This despite that the week*.png files contain graph data for today.   I thought that this very special situation had nothing to do with which station I used.

I haven't done any special customization of weewx.  No skins or exports/imports which can clutter up things.  Only displaying the /var/www/weewx/index.html file and click the Current button.  All textboxes display the correct current conditions so data fetching and saving works nicely, the only problem is that the daily graphs are empty when they are created.  I attach the log file sample of starting weewx, letting it run through a generation cycle, stopping it and then restarting it again.  I hope this can give a clue of what is going on for the day graphing problem.

Thanks again for comments on this.

best regards Tor


tirsdag 21. april 2020 12.59.21 UTC+2 skrev Thomas Keffer følgende:
Hello, Tor

You're not giving us much information to go on. 

What kind of weather station?
Which skin? Have you modified it?
Have you checked the timestamps of the generated daily HTML files? Are they, in fact, recent?
What kind of database (sqlite or MySQL)? Have you checked the database to make sure you have recent data?

Plus, of course, the log. See the wiki article Help! Posting to weewx-user for how to post a usable log.

-tk


On Tue, Apr 21, 2020 at 2:25 AM Tor Tveitane <bus...@gmail.com> wrote:
Hi,

We have had weewx installed on debian for some time so it has collected a fair amount of data and all graphs look nice - except for the default view's Current graphs.  They are empty (grid and background only).  The Daily graph files are generated at the same intervals as weekly and monthly graphs.  When looking at the weekly graph I also see that today's data is graphed.  So weather data is saved but somehow the current day's data is not graphed as into the day*.png files like with the other intervals.  What can be wrong here?

Thanks a lot for help on this.

regards

Tor

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Tor Tveitane

unread,
Apr 21, 2020, 8:05:23 AM4/21/20
to weewx-user
Sorry forgot the logfile.  Here it comes.

I can add that our Vantage Pro 2 station is connected via network til a virtual debian machine under vmware.  As statedall text data is updated each 30 minutes to the current values.  See screenshot also in attached file.

Tor
weewx.log
screenshot.png

Thomas Keffer

unread,
Apr 21, 2020, 8:06:07 AM4/21/20
to weewx-user
Didn't see any attached log, but I suspect Gary is right: if your station uses a 30 minute archive interval, it may not be generating enough data to "connect the dots." Try changing the option "line_gap_fraction" in skin.conf to, say, 0.1.

But, the log will give a more definitive answer.

-tk

To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/48410025-ec4d-4fce-ba76-c67d053099a7%40googlegroups.com.

Thomas Keffer

unread,
Apr 21, 2020, 8:07:09 AM4/21/20
to weewx-user
Gary's diagnosis is correct. If you look closely at your "Current" plots, there are, in fact, dots in there. They are just not connected.

Change the option line_gap_fraction in skin.conf to 0.1. That should cure the problem.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5056d638-040b-4bce-94c0-89599d78acc9%40googlegroups.com.

Tor Tveitane

unread,
Apr 21, 2020, 8:34:26 AM4/21/20
to weewx-user
Hi,

You are absolutely correct!  I have a 4k screen so I had to literally use a magnifying glass to see them but you are right.  Thanks a lot!  I'm stopping and starting the service now to see the result :-)
Btw I have tried to find where to edit the displayed datetime stamps in reports but only found a lot of info about timestamps in imports etc.  I need dd.mm.yyyy and 24h time format..  Also I haven't found how where I edit the 30 minutes polling time.  I want it to poll more often.
I refreshed the default web page and now it works nicely!  Sorry for bugging you, I'm looking forward to getting more used to how weewx does its work now!

best regards Tor

Thomas Keffer

unread,
Apr 21, 2020, 8:42:30 AM4/21/20
to weewx-user
1. If you're going to customize your skin (and you should), then it's worth reading through the Customizing Guide. See the section [[TimeFormats]] for how to customize times.
2. On your station, the archive interval is set by the logging interval in your hardware, the VP2. Either change it through the console, or use the wee_device utility with the --set-interval option. Be sure to stop weewx first.

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

Tor Tveitane

unread,
Apr 21, 2020, 8:52:09 AM4/21/20
to weewx-user
Thanks!
Reply all
Reply to author
Forward
0 new messages