Forecast XTide error

128 views
Skip to first unread message

zListserv

unread,
Apr 12, 2019, 6:30:55 PM4/12/19
to weewx...@googlegroups.com
Does anyone know how to fix this error? I'm using forecast version 3.4.0rc1

cmpweewx weewx[21000]: forecast: XTideThread: XTide: forecast failure: invalid literal for int() with base 10:

It was working and stopped.

tide -l "site name" works from the console (with site name replaced by the actual name)

mwall

unread,
Apr 12, 2019, 7:03:51 PM4/12/19
to weewx-user
the only way we can work magic is if you provide more information.

what does the log say (more explicitly, we need to see the stack trace from the 'forecast failure')?

what location?

which version of harmonics?

m

ABZ

unread,
Apr 13, 2019, 10:25:49 AM4/13/19
to weewx-user
Appreciate your prompt reply.  Not sure what you mean by stack trace.  Here's the log:

Apr 13 10:15:15 cmpweewx weewx[21000]: manager: Added record 2019-04-13 10:15:00 EDT (1555164900) to database 'weewx.sdb'

Apr 13 10:15:15 cmpweewx weewx[21000]: manager: Added record 2019-04-13 10:15:00 EDT (1555164900) to daily summary in 'weewx.sdb'

Apr 13 10:15:15 cmpweewx weewx[21000]: forecast: DSThread: DS: downloading forecast from 'https://api.darksky.net/forecast/XXXXXXXXXXXXXXXXXXXXXXXXXXXX630a/38.9345,-74.9647?exclude=currently,minutely,hourly,alerts,flags&lang=en&units=us'

Apr 13 10:15:15 cmpweewx weewx[21000]: forecast: XTideThread: XTide: generating tides from 2019-04-13 00:00:00 EDT (1555128000) to 2019-05-11 00:00:00 EDT (1557547200)

Apr 13 10:15:15 cmpweewx weewx[21000]: forecast: DSThread: DS: forecast failure: initial_value must be unicode or None, not str

Apr 13 10:15:15 cmpweewx weewx[21000]: forecast: XTideThread: XTide: forecast failure: invalid literal for int() with base 10: 'Cape May Point, Sunset Beach, Delaware Bay, New Jersey'

Apr 13 10:15:20 cmpweewx weewx[21000]: cheetahgenerator: Generated 15 files for report StandardReport in 4.82 seconds

Apr 13 10:15:21 cmpweewx weewx[21000]: imagegenerator: Generated 12 images for StandardReport in 1.39 seconds



Also, here's the tide command:


$ tide -l "Cape May Point, Sunset Beach, Delaware Bay, New Jersey"

Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...

Indexing /usr/share/xtide/harmonics-initial.tcd...

Cape May Point, Sunset Beach, Delaware Bay, New Jersey

38.9467° N, 74.9717° W


2019-04-13 12:57 PM EDT   Moonrise

2019-04-13  4:05 PM EDT   4.18 feet  High Tide

2019-04-13  7:34 PM EDT   Sunset

....


How do I determine the harmonics file version? 

ABZ

unread,
Apr 13, 2019, 11:35:11 AM4/13/19
to weewx-user
p.s.  I replaced the harmonics file with the most recent version.  I didn't expect it to make a difference and apparently, it didn't:

Apr 13 11:30:15 cmpweewx weewx[21000]: forecast: XTideThread: XTide: generating tides from 2019-04-13 00:00:00 EDT (1555128000) to 2019-05-11 00:00:00 EDT (1557547200)

Apr 13 11:30:15 cmpweewx weewx[21000]: forecast: DSThread: DS: forecast failure: initial_value must be unicode or None, not str

Apr 13 11:30:16 cmpweewx weewx[21000]: forecast: XTideThread: XTide: forecast failure: invalid literal for int() with base 10: 'Cape May Point, Sunset Beach, Delaware Bay, New Jersey'


XTides still works:


tide -l "Cape May Point, Sunset Beach, Delaware Bay, New Jersey"

Indexing /usr/share/xtide/harmonics-dwf-20181227-free.tcd...

Indexing /usr/share/xtide/harmonics-initial.tcd...

Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd-hold...

Cape May Point, Sunset Beach, Delaware Bay, New Jersey

38.9467° N, 74.9717° W


2019-04-13 12:57 PM EDT   Moonrise

2019-04-13  4:05 PM EDT   4.18 feet  High Tide

2019-04-13  7:35 PM EDT   Sunset

....


mwall

unread,
Apr 14, 2019, 8:59:31 AM4/14/19
to weewx-user
On Saturday, April 13, 2019 at 10:25:49 AM UTC-4, ABZ wrote:
Appreciate your prompt reply.  Not sure what you mean by stack trace.

please set debug=1 in your weewx configuration file, then restart weewx.  post the log output from the time that weewx starts until the first archive interval.
 

ABZ

unread,
Apr 14, 2019, 9:45:02 AM4/14/19
to weewx-user
Apr 14 09:39:34 cmpweewx weewx[31848]: engine: Initializing weewx version 3.9.1
Apr 14 09:39:34 cmpweewx weewx[31848]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]
Apr 14 09:39:34 cmpweewx weewx[31848]: engine: Platform Linux-4.9.59-v7+-armv7l-with-debian-9.8
Apr 14 09:39:34 cmpweewx weewx[31848]: engine: Locale is 'en_US.UTF-8'
Apr 14 09:39:34 cmpweewx weewx[31848]: engine: pid file is /var/run/weewx.pid
Apr 14 09:39:34 cmpweewx weewx[31836]: Starting weewx weather system: weewx.
Apr 14 09:39:34 cmpweewx systemd[1]: Started LSB: weewx weather system.
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Using configuration file /etc/weewx/weewx.conf
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Debug is 1
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Initializing engine
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading station type Vantage (weewx.drivers.vantage)
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: Driver version is 3.1.1
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: Hardware type is 16
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: ISS ID is 1
Apr 14 09:39:34 cmpweewx weewx[31852]: vantage: Hardware name: Vantage Pro2
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdTimeSynch
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdTimeSynch
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdConvert
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: StdConvert target unit is 0x1
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdConvert
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdCalibrate
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdCalibrate
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdQC
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdQC
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.wxservices.StdWXCalculate
Apr 14 09:39:34 cmpweewx weewx[31852]: 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
Apr 14 09:39:34 cmpweewx weewx[31852]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.wxservices.StdWXCalculate
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdArchive
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Archive will use data binding wx_binding
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Record generation will be attempted in 'hardware'
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Using archive interval of 300 seconds (specified by hardware)
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Use LOOP data in hi/low calculations: 1
Apr 14 09:39:34 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Apr 14 09:39:34 cmpweewx weewx[31852]: manager: Starting backfill of daily summaries
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdArchive
Apr 14 09:39:34 cmpweewx weewx[31852]: engine: Loading service user.forecast.ZambrettiForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: Zambretti: forecast version 3.4.0rc1
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: Zambretti: last forecast issued 2019-04-14 09:00:00 EDT (1555246800), requested 2019-04-14 09:00:00 EDT (1555246800)
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: Zambretti: interval=600 max_age=604800 winddir_period=1800 pressure_period=10800 hemisphere=NORTH lower_pressure=950.0 upper_pressure=1050.0
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.ZambrettiForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Loading service user.forecast.NWSForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: NWS: forecast version 3.4.0rc1
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: NWS: last forecast issued 2019-04-14 06:37:00 EDT (1555238220), requested 2019-04-14 07:05:16 EDT (1555239916)
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: NWS: interval=10800 max_age=604800 lid=NJZ025 foid=PHI
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.NWSForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Loading service user.forecast.WUForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: WU: forecast version 3.4.0rc1
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: WU: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX5431 location=38.9345,-74.9647 fc=hourly10day
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.WUForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Loading service user.forecast.OWMForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: OWM: forecast version 3.4.0rc1
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: OWM: last forecast issued 2019-04-14 07:00:15 EDT (1555239615), requested 2019-04-14 07:00:15 EDT (1555239615)
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: OWM: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXb06a location=38.9345,-74.9647 fc=5day3hour
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.OWMForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Loading service user.forecast.UKMOForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: UKMO: forecast version 3.4.0rc1
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: UKMO: API key (api_key) is not specified
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: UKMO: location is not specified
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: UKMO: forecast will not be run
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.UKMOForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: engine: Loading service user.forecast.AerisForecast
Apr 14 09:39:35 cmpweewx weewx[31852]: forecast: MainThread: Aeris: forecast version 3.4.0rc1
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: Aeris: last forecast issued 2018-08-13 08:15:17 EDT (1534162517), requested 2018-08-13 08:15:17 EDT (1534162517)
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: Aeris: client identifier (client_id) is not specified
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: Aeris: client secret (client_secret) is not specified
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: Aeris: forecast will not be run
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.AerisForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service user.forecast.WWOForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: WWO: forecast version 3.4.0rc1
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: WWO: API key (api_key) is not specified
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: WWO: forecast will not be run
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.WWOForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service user.forecast.DSForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: DS: forecast version 3.4.0rc1
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: DS: interval=10800 max_age=604800 api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXX630a location=38.9345,-74.9647 fc=daily
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.DSForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service user.forecast.XTideForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: XTide: forecast version 3.4.0rc1
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: XTide: last forecast issued 2019-03-27 19:25:15 EDT (1553729115), requested 2019-03-27 19:25:15 EDT (1553729115)
Apr 14 09:39:36 cmpweewx weewx[31852]: forecast: MainThread: XTide: interval=1209600 max_age=2419200 location='Cape May Point, Sunset Beach, Delaware Bay, New Jersey' duration=2419200
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service user.forecast.XTideForecast
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdStationRegistry
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: StationRegistry: Station will be registered.
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdStationRegistry
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdWunderground
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: WU essentials: {}
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: Wunderground-RF: Data for station KNJCAPEM2 will be posted
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdWunderground
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdPWSweather
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: PWSWeather: Data for station CMPWX will be posted
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdPWSweather
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdCWOP
Apr 14 09:39:36 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:36 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: CWOP: Data for station DW5057 will be posted
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdCWOP
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdWOW
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: WOW: Data for station cmpwx will be posted
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdWOW
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.restx.StdAWEKAS
Apr 14 09:39:36 cmpweewx weewx[31852]: restx: AWEKAS: Data will be uploaded for user abzawekas
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.restx.StdAWEKAS
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdPrint
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdPrint
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Loading service weewx.engine.StdReport
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Finished loading service weewx.engine.StdReport
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Starting up weewx version 3.9.1
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Clock error is -0.64 seconds (positive is fast)
Apr 14 09:39:36 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Getting archive packets since 2019-04-14 09:35:00 EDT (1555248900)
Apr 14 09:39:36 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:39:36 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Retrieving 0 page(s); starting index= 0
Apr 14 09:39:36 cmpweewx weewx[31852]: engine: Starting main packet loop.
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Requesting 200 LOOP packets.
Apr 14 09:39:36 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Getting archive packets since 2019-04-14 09:35:00 EDT (1555248900)
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Retrieving 1 page(s); starting index= 0
Apr 14 09:40:15 cmpweewx weewx[31852]: manager: Added record 2019-04-14 09:40:00 EDT (1555249200) to database 'weewx.sdb'
Apr 14 09:40:15 cmpweewx weewx[31852]: manager: Added record 2019-04-14 09:40:00 EDT (1555249200) to daily summary in 'weewx.sdb'
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: Zambretti: starting thread
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: generating forecast for 2019-04-14 09:00:00 EDT (1555246800)
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: NWS: not yet time to do the forecast
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: using winddir from 2019-04-14 08:30:00 EDT (1555245000) to 2019-04-14 09:00:00 EDT (1555246800)
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: WU: starting thread
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: using pressure from 2019-04-14 06:00:00 EDT (1555236000) to 2019-04-14 09:00:00 EDT (1555246800)
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: WUThread: WU: download forecast from 'http://api.wunderground.com/api/XXXXXXXXXXXXXXXXXXXXXXXXXXXX5431/hourly10day/q/38.9345,-74.9647.json'
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: OWM: not yet time to do the forecast
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: DS: starting thread
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: MainThread: XTide: starting thread
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: XTideThread: XTide: generating tides from 2019-04-14 00:00:00 EDT (1555214400) to 2019-05-12 00:00:00 EDT (1557633600)
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: XTideThread: XTide: running command '/usr/bin/tide -fc -df'%Y.%m.%d' -tf'%H:%M' -l'Cape May Point, Sunset Beach, Delaware Bay, New Jersey' -b'2019-04-14 00:00' -e'2019-05-12 00:00''
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: DMPAFT complete: page timestamp 2019-04-05 12:25:00 EDT (1554481500) less than final timestamp 2019-04-14 09:40:00 EDT (1555249200)
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Catch up complete.
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Running reports for latest time in the database.
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Requesting 200 LOOP packets.
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Report 'SeasonsReport' not enabled. Skipping.
Apr 14 09:40:15 cmpweewx weewx[31852]: vantage: Gentle wake up of console successful
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Report 'MobileReport' not enabled. Skipping.
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Running report 'StandardReport'
Apr 14 09:40:15 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: units=1 winddir=135.0 pressure=30.013027027 first_p=30.022 last_p=30.005
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: pressure=1016.35759335 month=3 winddir=6 trend=-0.191895329 north=True
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: code is O
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: generated 1 forecast record
Apr 14 09:40:15 cmpweewx weewx[31852]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report 'StandardReport'
Apr 14 09:40:15 cmpweewx weewx[31852]: restx: CWOP: Connected to server cwop.aprs.net:14580
Apr 14 09:40:15 cmpweewx weewx[31852]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: WUThread: WU: error in response: keynotfound: this key does not exist
Apr 14 09:40:15 cmpweewx weewx[31852]: forecast: WUThread: WU: got 0 forecast records
Apr 14 09:40:15 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:40:16 cmpweewx weewx[31852]: restx: WOW: Bad login; waiting 60.0 minutes then retrying
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: DSThread: DS: forecast failure: initial_value must be unicode or None, not str
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: WUThread: WU: saving 0 forecast records
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: saving 1 forecast records
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: XTideThread: XTide: got 222 lines of output
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: WUThread: WU: saved 0 forecast records
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: WUThread: WU: deleting forecasts prior to 1554644416
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: XTideThread: XTide: forecast failure: invalid literal for int() with base 10: 'Cape May Point, Sunset Beach, Delaware Bay, New Jersey'
Apr 14 09:40:16 cmpweewx weewx[31852]: Traceback (most recent call last):
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 1224, in do_forecast
Apr 14 09:40:16 cmpweewx weewx[31852]:     records = self.get_forecast(event)
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 2133, in get_forecast
Apr 14 09:40:16 cmpweewx weewx[31852]:     compression=self.use_compression)
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 2204, in download
Apr 14 09:40:16 cmpweewx weewx[31852]:     buf = StringIO(response.read())
Apr 14 09:40:16 cmpweewx weewx[31852]: TypeError: initial_value must be unicode or None, not str
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: DSThread: DS: terminating thread
Apr 14 09:40:16 cmpweewx weewx[31852]: Traceback (most recent call last):
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 1224, in do_forecast
Apr 14 09:40:16 cmpweewx weewx[31852]:     records = self.get_forecast(event)
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 3953, in get_forecast
Apr 14 09:40:16 cmpweewx weewx[31852]:     records = self.parse(lines, self.location)
Apr 14 09:40:16 cmpweewx weewx[31852]:   File "/usr/share/weewx/user/forecast.py", line 3989, in parse
Apr 14 09:40:16 cmpweewx weewx[31852]:     record['dateTime'] = int(now)
Apr 14 09:40:16 cmpweewx weewx[31852]: ValueError: invalid literal for int() with base 10: 'Cape May Point, Sunset Beach, Delaware Bay, New Jersey'
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: XTideThread: XTide: terminating thread
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: WUThread: WU: deleted forecasts prior to 1554644416
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: WUThread: WU: terminating thread
Apr 14 09:40:16 cmpweewx weewx[31852]: manager: Added record 2019-04-14 09:40:00 EDT (1555249200) to database 'forecast.sdb'
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: saved 1 forecast records
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: deleting forecasts prior to 1554644416
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: deleted forecasts prior to 1554644416
Apr 14 09:40:16 cmpweewx weewx[31852]: forecast: ZambrettiThread: Zambretti: terminating thread
Apr 14 09:40:31 cmpweewx weewx[31852]: cheetahgenerator: Generated 15 files for report StandardReport in 15.27 seconds
Apr 14 09:40:31 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:40:32 cmpweewx weewx[31852]: imagegenerator: Generated 12 images for StandardReport in 1.43 seconds
Apr 14 09:40:32 cmpweewx weewx[31852]: copygenerator: copied 14 files to /var/www/html/weewx
Apr 14 09:40:32 cmpweewx weewx[31852]: reportengine: Running report 'forecast'
Apr 14 09:40:32 cmpweewx weewx[31852]: reportengine: Found configuration file /etc/weewx/skins/forecast/skin.conf for report 'forecast'
Apr 14 09:40:32 cmpweewx weewx[31852]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']
Apr 14 09:40:32 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:40:52 cmpweewx weewx[31852]: cheetahgenerator: Generated 12 files for report forecast in 19.96 seconds
Apr 14 09:40:52 cmpweewx weewx[31852]: copygenerator: copied 87 files to /var/www/html/weewx/forecast
Apr 14 09:40:52 cmpweewx weewx[31852]: reportengine: Running report 'exfoliation'
Apr 14 09:40:52 cmpweewx weewx[31852]: reportengine: Found configuration file /etc/weewx/skins/exfoliation/skin.conf for report 'exfoliation'
Apr 14 09:40:53 cmpweewx weewx[31852]: cheetahgenerator: using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 'user.forecast.ForecastVariables']
Apr 14 09:40:53 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:40:56 cmpweewx weewx[31852]: cheetahgenerator: Skip 'forecast.html': last_mod=1555247455.02 age=1801.47124553 stale=3570
Apr 14 09:41:07 cmpweewx weewx[31852]: cheetahgenerator: Generated 8 files for report exfoliation in 14.86 seconds
Apr 14 09:41:07 cmpweewx weewx[31852]: manager: Daily summary version is 2.0
Apr 14 09:41:10 cmpweewx weewx[31852]: imagegenerator: Generated 18 images for exfoliation in 3.17 seconds
Apr 14 09:41:11 cmpweewx weewx[31852]: copygenerator: copied 92 files to /var/www/html/weewx/exfoliation
Apr 14 09:41:11 cmpweewx weewx[31852]: reportengine: Report 'FTP' not enabled. Skipping.
Apr 14 09:41:11 cmpweewx weewx[31852]: reportengine: Running report 'RSYNC'
Apr 14 09:41:11 cmpweewx weewx[31852]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report 'RSYNC'
Apr 14 09:41:12 cmpweewx weewx[31852]: rsyncupload: rsync'd 257 files (1,067,140 bytes) in 1.51 seconds

mwall

unread,
Apr 14, 2019, 6:44:39 PM4/14/19
to weewx-user
please use forecast.py version 3.4.0rc2, not 3.4.0rc1.


if that link does not work, you can find 3.4.0rc2 in this thread in a posting made 05apr2019:


'real work' is sucking up a lot of my time at the moment, but i'm trying to get the new WU forecasts, UK met fixes, and possibly one or two additional forecast sources into the 3.4.0 release of forecast extension.  until then, please use rc2.

m


zListserv

unread,
Apr 14, 2019, 7:26:27 PM4/14/19
to weewx...@googlegroups.com
Many thanks. I give it a try and await the updated version.
> --
> You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/-xC0miZ8rY4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

V. Kelly Bellis

unread,
Apr 16, 2019, 8:19:45 AM4/16/19
to weewx-user
Thanks Matt for all of your donated labors for the weewx community; it is very much appreciated!

When you've time, one other forecast request; i.e.

[Forecast]
  [[needed_fixes]]
  •     WU new API keys and commands - already mentioned
  •     NWS new Point-n-Click product
The old NWS 3-letter forecast office identifier (foid, also referred to as HADS) and 6-character location identifier (lid) are being phased out; this is the NWS so-called PFM product. It has been replaced with the Point-n-Click product (quasi-official product name) allowing for more localized forecasts from a gridded database. More on that here: https://www.weather.gov/mdl/ndfd_home

Thanks again for fixing the XTide v2.15.2 issue!

Kind regards,

Kelly
Reply all
Reply to author
Forward
0 new messages