[weewx-user] Re: Forecast XTide error

2019-04-16 Thread V. Kelly Bellis
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



On Sunday, April 14, 2019 at 6:44:39 PM UTC-4, mwall wrote:
>
> '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.
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Forecast XTide error

2019-04-14 Thread zListserv
Many thanks.  I give it a try and await the updated version.

> On 2019-04 -14, at 18:44, mwall  wrote:
> 
> please use forecast.py version 3.4.0rc2, not 3.4.0rc1.
> 
> https://groups.google.com/group/weewx-user/attach/639775dd1c899/forecast-3.4.0rc2.py
> 
> if that link does not work, you can find 3.4.0rc2 in this thread in a posting 
> made 05apr2019:
> 
> https://groups.google.com/forum/#!topic/weewx-user/CEs-qlhj69U
> 
> '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
> 
> 
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forecast XTide error

2019-04-14 Thread mwall
please use forecast.py version 3.4.0rc2, not 3.4.0rc1.

https://groups.google.com/group/weewx-user/attach/639775dd1c899/forecast-3.4.0rc2.py

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

https://groups.google.com/forum/#!topic/weewx-user/CEs-qlhj69U

'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


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forecast XTide error

2019-04-14 Thread ABZ
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 

[weewx-user] Re: Forecast XTide error

2019-04-13 Thread ABZ
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



>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forecast XTide error

2019-04-13 Thread ABZ
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/630a/38.9345,-74.9647?exclude=currently,minutely,hourly,alerts,flags=en=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? 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Forecast XTide error

2019-04-12 Thread mwall
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

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.