RTGD Zambretti Forecast Blank

99 views
Skip to first unread message

MikeQ

unread,
Jun 10, 2019, 1:17:56 PM6/10/19
to weewx-user
I installed a SteelSeries page this weekend and installed RTGD to create and upload gauge-data.txt.  All that is working fine.  I also have the Forecast extension installed and that is working fine.  At this point, the only forecast I am trying to use on the SteelSeries page is Zambretti.  I have that configured in RTGD but when I look in gauge-data.txt it is blank so I must be missing something.

Here is the log info:

At weewx service start:

Jun 10 09:41:11 weatherpi weewx[973]: forecast: MainThread: Zambretti: forecast version 3.3.2
Jun 10 09:41:11 weatherpi weewx[973]: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0

Jun 10 09:41:11 weatherpi weewx[973]: rtgd: RealTimeGaugeData scroller text will use Zambretti forecast data
Jun 10 09:41:11 weatherpi weewx[973]: rtgdthread: '/home/weewx/public_html/gauge-data.txt' wil be generated. min_interval is None


At regular report interval:


Jun 10 09:45:26 weatherpi weewx[973]: forecast: ZambrettiThread: Zambretti: generated 1 forecast record
Jun 10 09:45:28 weatherpi weewx[973]: forecast: ZambrettiThread: Zambretti: saved 1 forecast records
Jun 10 09:45:28 weatherpi weewx[973]: forecast: ZambrettiThread: Zambretti: deleted forecasts prior to 1559580328


From the forecast sample html page:


Zambretti

The forecast is Fairly fine, showers likely
Issued at 10-Jun-2019 09:45


And this is what I have in gauge-data.txt.  The ss page is reading this properly because the forecast is blank and not forecast missing:


"forecast":"",


I searched the group messages and I don't see anyone else having this same problem in the past. Thanks.



gjr80

unread,
Jun 10, 2019, 9:30:19 PM6/10/19
to weewx-user
Hi,

Could you edit weewx.conf, set debug=2 and then restart WeeWX. There will be a lot of log entries but can you post a log extract from when WeeWX was restarted through until a couple of gauge-data.txt files have been generated.

Gary

MikeQ

unread,
Jun 11, 2019, 4:15:20 PM6/11/19
to weewx-user
Gary -

Here is the requested info

Thanks,
Mike

Jun 11 13:03:45 weatherpi systemd[1]: Starting LSB: weewx weather system...
Jun 11 13:03:46 weatherpi weewx[4882]: engine: Initializing weewx version 3.9.1
Jun 11 13:03:46 weatherpi weewx[4882]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Jun 11 13:03:46 weatherpi weewx[4882]: engine: Platform Linux-4.14.79-v7+-armv7l-with-debian-9.8
Jun 11 13:03:46 weatherpi weewx[4882]: engine: Locale is 'en_US.UTF-8'
Jun 11 13:03:46 weatherpi weewx[4882]: engine: pid file is /var/run/weewx.pid
Jun 11 13:03:46 weatherpi weewx[4870]: Starting weewx weather system: weewx.
Jun 11 13:03:46 weatherpi systemd[1]: Started LSB: weewx weather system.
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Using configuration file /etc/weewx/weewx.conf
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Debug is 2
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Initializing engine
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading station type Vantage (weewx.drivers.vantage)
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: Driver version is 3.1.1
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: Gentle wake up of console successful
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: Hardware type is 16
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: ISS ID is 1
Jun 11 13:03:46 weatherpi weewx[4886]: vantage: Hardware name: Vantage Pro2
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdTimeSynch
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdTimeSynch
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdConvert
Jun 11 13:03:46 weatherpi weewx[4886]: engine: StdConvert target unit is 0x1
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdConvert
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdCalibrate
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdCalibrate
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdQC
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdQC
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.wxservices.StdWXCalculate
Jun 11 13:03:46 weatherpi weewx[4886]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Jun 11 13:03:46 weatherpi weewx[4886]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.wxservices.StdWXCalculate
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdArchive
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Archive will use data binding wx_binding
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Record generation will be attempted in 'hardware'
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Using archive interval of 300 seconds (specified by hardware)
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Use LOOP data in hi/low calculations: 1
Jun 11 13:03:46 weatherpi weewx[4886]: manager: Daily summary version is 2.0
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jun 11 13:03:46 weatherpi weewx[4886]: manager: Starting backfill of daily summaries
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdArchive
Jun 11 13:03:46 weatherpi weewx[4886]: engine: Loading service user.forecast.ZambrettiForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Zambretti: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Zambretti: last forecast issued 2019-06-11 09:00:00 PDT (1560268800), requested 2019-06-11 09:00:00 PDT (1560268800)
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.ZambrettiForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.NWSForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: NWS: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: NWS: last forecast issued 2019-06-11 05:29:00 PDT (1560256140), requested 2019-06-11 12:20:27 PDT (1560280827)
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: NWS: interval=10800 max_age=604800 lid=CARSON CITY-CARSON CITY NV foid=REV
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.NWSForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.WUForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WU: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WU: API key (api_key) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WU: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.WUForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.OWMForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: OWM: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: OWM: API key (api_key) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: OWM: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.OWMForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.UKMOForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: UKMO: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: UKMO: API key (api_key) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: UKMO: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.UKMOForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.AerisForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Aeris: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Aeris: client identifier (client_id) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Aeris: client secret (client_secret) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: Aeris: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.AerisForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.WWOForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WWO: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WWO: API key (api_key) is not specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: WWO: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.WWOForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.DSForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: DS: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: DS: last forecast issued 2019-06-11 12:30:27 PDT (1560281427), requested 2019-06-11 12:30:27 PDT (1560281427)
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: DS: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXabc1 location=39.033,-119.706 fc=daily
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.DSForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.forecast.XTideForecast
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: XTide: forecast version 3.3.2
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: XTide: location (location) has not been specified
Jun 11 13:03:47 weatherpi weewx[4886]: forecast: MainThread: XTide: forecast will not be run
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.forecast.XTideForecast
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdStationRegistry
Jun 11 13:03:47 weatherpi weewx[4886]: restx: StationRegistry: Registration not requested.
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdStationRegistry
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdWunderground
Jun 11 13:03:47 weatherpi weewx[4886]: restx: Wunderground: Posting not enabled.
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdWunderground
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdPWSweather
Jun 11 13:03:47 weatherpi weewx[4886]: restx: PWSweather: Posting not enabled.
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdPWSweather
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdCWOP
Jun 11 13:03:47 weatherpi weewx[4886]: restx: CWOP: Data for station DW9477 will be posted
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdCWOP
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdWOW
Jun 11 13:03:47 weatherpi weewx[4886]: restx: WOW: Posting not enabled.
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdWOW
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.restx.StdAWEKAS
Jun 11 13:03:47 weatherpi weewx[4886]: restx: AWEKAS: Posting not enabled.
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.restx.StdAWEKAS
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdPrint
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdPrint
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service weewx.engine.StdReport
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service weewx.engine.StdReport
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Loading service user.rtgd.RealtimeGaugeData
Jun 11 13:03:47 weatherpi weewx[4886]: manager: Daily summary version is 2.0
Jun 11 13:03:47 weatherpi weewx[4886]: manager: Daily summary version is 2.0
Jun 11 13:03:47 weatherpi weewx[4886]: rtgd: RealTimeGaugeData scroller text will use Zambretti forecast data
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: '/home/weewx/public_html/gauge-data.txt' wil be generated. min_interval is None
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Finished loading service user.rtgd.RealtimeGaugeData
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Starting up weewx version 3.9.1
Jun 11 13:03:47 weatherpi weewx[4886]: manager: Daily summary version is 2.0
Jun 11 13:03:47 weatherpi weewx[4886]: manager: Daily summary version is 2.0
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Gentle wake up of console successful
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Clock error is 3.49 seconds (positive is fast)
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Getting archive packets since 2019-06-11 13:00:00 PDT (1560283200)
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Gentle wake up of console successful
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Retrieving 0 page(s); starting index= 0
Jun 11 13:03:47 weatherpi weewx[4886]: engine: Starting main packet loop.
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: windrose data calculated
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: loop packet cache initialised
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Gentle wake up of console successful
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Requesting 200 LOOP packets.
Jun 11 13:03:47 weatherpi weewx[4886]: vantage: Gentle wake up of console successful
Jun 11 13:03:47 weatherpi weewx[4886]: rtgd: queued loop packet (1560283428)
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: received loop packet (1560283428)
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: created cached loop packet (1560283428)
Jun 11 13:03:47 weatherpi weewx[4886]: rtgd: queued loop packet (1560283428)
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: Successfully posted data
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: gauge-data.txt (1560283428) generated in 0.01794 seconds
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: received loop packet (1560283428)
Jun 11 13:03:47 weatherpi weewx[4886]: rtgdthread: created cached loop packet (1560283428)
Jun 11 13:03:48 weatherpi weewx[4886]: rtgdthread: Successfully posted data
Jun 11 13:03:48 weatherpi weewx[4886]: rtgdthread: gauge-data.txt (1560283428) generated in 0.02085 seconds
Jun 11 13:03:49 weatherpi weewx[4886]: rtgd: queued loop packet (1560283429)
Jun 11 13:03:49 weatherpi weewx[4886]: rtgdthread: received loop packet (1560283429)
Jun 11 13:03:49 weatherpi weewx[4886]: rtgdthread: created cached loop packet (1560283429)
Jun 11 13:03:49 weatherpi weewx[4886]: rtgdthread: Successfully posted data
Jun 11 13:03:49 weatherpi weewx[4886]: rtgdthread: gauge-data.txt (1560283429) generated in 0.01908 seconds

Message has been deleted

MikeQ

unread,
Jun 11, 2019, 4:48:23 PM6/11/19
to weewx-user
I copied over forecast.sdb and here are the last few rows from SQLite Browser
Selection_001.png

MikeQ

unread,
Jun 12, 2019, 3:45:22 PM6/12/19
to weewx-user
I put a Dark Sky API Key into the RTGD config section and changed the scroller source to DS.  That works fine, so it looks like this is just a Zambretti forecast problem.  Using Dark Sky solves my problem since I just needed some kind of forecast in that box at the top of my SteelSeries page instead of an empty box.

gjr80

unread,
Jun 12, 2019, 9:35:48 PM6/12/19
to weewx-user
Thanks for the info. I could see nothing in the log extract that indicated an obvious error, what is missing though are any rtgd entries indicating that a (Zambretti) forecast data packet was received by rtgd. This leads me to think that the rtgd Zambretti thread is silently dying. The challenge now is to work out why. I guess you have solved the immediate problem by using the Darksky forecast, I'll try to get a VM running here over the next day or two and see if I can replicate the problem.

Gary

Andrew Milner

unread,
Jun 12, 2019, 9:56:31 PM6/12/19
to weewx-user
I dont know if this is relevant - but isnt the zambretti forecast only done once per day at 0900 I think - so there is likely to be no forecast initially available.

gjr80

unread,
Jun 14, 2019, 3:44:37 AM6/14/19
to weewx-user
I don’t know, I don’t think so. rtgd just pulls the last Zambretti forecast from the forecast database, so if there is no Zambretti forecast in the forecast database it would return nothing (None). This could have been the case with the first log extract but definitely not the case with the debug=2 log extract.

Gary
Reply all
Reply to author
Forward
0 new messages