Season Year plots only show last day or so

45 views
Skip to first unread message

Roger Lee

unread,
Nov 14, 2021, 9:49:19 PM11/14/21
to weewx-user
http://kazsanta30.viewnetcam.com:33716/weewx/index.html

I moved my weather station to a different Raspberry PI. Moved the data base (I spent hours importing data from WU), also moved the skins directory (I had some changes there).  Everything seems to be working fine -- exempt for the Year plots in the Seasons skin.

Who/what is telling the imagengenerator what data to use? Day, Week, Month work corrctly.

gjr80

unread,
Nov 14, 2021, 10:21:17 PM11/14/21
to weewx-user
Should be in the Seasons skin config file skin.conf under [ImageGenerator] with the possibility of overrides in [StdReport] stanza in weewx.conf. If you cannot solve the problem I suggest you post both your Seasons skin config file and the [StdReport] stanza from weewx.conf. Neither should contain any sensitive info but double check before posting.

Bear in mind that plots that use an aggregate are only generated every aggregate interval seconds. Year plots use a default 24 hour aggregate interval so they are only regenerated every 24 hours. If you added your WU data within the last 24 hours it is quite possible your year plots have not been updated since the data was added. You can force the year plots (or for that matter all plots) to be re-generated on the next report cycle by deleting them from your WeeWX machine or you can wait for the 24 hours to pass. Deleting and forcing re-generation is always a good idea when altering the archive, unless of course you are happy to wait.

Gary

Roger Lee

unread,
Nov 14, 2021, 10:28:26 PM11/14/21
to weewx-user
A snip from syslog
Nov 14 20:00:15 raspberrypiB weewx[657] INFO weewx.manager: Added record 2021-11-14 20:00:00 MST (1636945200) to database 'weewx.sdb'
Nov 14 20:00:15 raspberrypiB weewx[657] INFO weewx.manager: Added record 2021-11-14 20:00:00 MST (1636945200) to daily summary in 'weewx.sdb'
Nov 14 20:00:16 raspberrypiB weewx[657] INFO weewx.restx: CWOP: Published record 2021-11-14 20:00:00 MST (1636945200)
Nov 14 20:00:18 raspberrypiB weewx[657] INFO weewx.restx: PWSWeather: Published record 2021-11-14 20:00:00 MST (1636945200)

Nov 14 20:00:37 raspberrypiB weewx[657] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 21.47 seconds
Nov 14 20:01:21 raspberrypiB weewx[657] INFO weewx.imagegenerator: Generated 30 images for report SeasonsReport in 43.75 seconds
Nov 14 20:01:21 raspberrypiB weewx[657] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Nov 14 20:01:22 raspberrypiB weewx[657] INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 0.88 seconds
Nov 14 20:01:36 raspberrypiB weewx[657] INFO weewx.imagegenerator: Generated 12 images for report SmartphoneReport in 13.93 seconds
Nov 14 20:01:36 raspberrypiB weewx[657] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/smartphone
Nov 14 20:01:37 raspberrypiB weewx[657] INFO weewx.cheetahgenerator: Generated 1 files for report MobileReport in 0.29 seconds
Nov 14 20:01:39 raspberrypiB weewx[657] INFO weewx.imagegenerator: Generated 4 images for report MobileReport in 1.85 seconds
Nov 14 20:01:39 raspberrypiB weewx[657] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx/mobile

 When are files copied to www? If I run wee_reports  I get:
Nov 14 20:22:06 raspberrypiB wee_reports[3216] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 42.53 seconds
Nov 14 20:22:16 raspberrypiB wee_reports[3216] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 9.07 seconds
Nov 14 20:22:16 raspberrypiB wee_reports[3216] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Nov 14 20:22:19 raspberrypiB wee_reports[3216] INFO weewx.cheetahgenerator: Generated 6 files for report SmartphoneReport in 2.80 seconds
Nov 14 20:22:22 raspberrypiB wee_reports[3216] INFO weewx.imagegenerator: Generated 6 images for report SmartphoneReport in 2.52 seconds
Nov 14 20:22:22 raspberrypiB wee_reports[3216] INFO weewx.reportengine: Copied 6 files to /var/www/html/weewx/smartphone
Nov 14 20:22:23 raspberrypiB wee_reports[3216] INFO weewx.cheetahgenerator: Generated 1 files for report MobileReport in 0.82 seconds
Nov 14 20:22:25 raspberrypiB wee_reports[3216] INFO weewx.imagegenerator: Generated 4 images for report MobileReport in 1.99 seconds
Nov 14 20:22:25 raspberrypiB wee_reports[3216] INFO weewx.reportengine: Copied 2 files to /var/www/html/weewx/mobile




Roger Lee

unread,
Nov 14, 2021, 10:36:44 PM11/14/21
to weewx-user
Thanks Gary, maybe I'll wait 24 hours to see what happens.  The plots made and copied after wee_reports are still wrong.

Roger Lee

unread,
Nov 15, 2021, 4:02:44 AM11/15/21
to weewx-user
All is good now! There is some magic about midnight.  The Year plots were updated with correct data. The gaps in the month plots are when my SD card died and I started using weeWX instead of wview. 

Thanks to the authors and contributors for this new program.
 
Reply all
Reply to author
Forward
0 new messages