Hello Matt,

Thank you for your reply, though I don't fully understand it. 

Have you tried to install XTide v2.15.2 and do you have it working with 
weewx and the forecast extension?

*RE: The environment*
/usr/local/bin/tide already knows where to find harmonics as directed by
/etc/environment wherein is contained:
HFILE_PATH=/usr/local/share/xtide
WVS_DIR=/home/pi/XTide/wvs


XTide was installed from source files and into the associated directories 
following the David Flater's excellent, though sometimes terse, 
instructions.  Weewx got installed automatically through the apt-get 
process.

/usr/share/weewx/weewxd 

In /etc/weewx/weewx.conf under 
[Forecast]
 ...
   [[XTide]]
      prog = /usr/local/bin/tide


*IF* I understand you, 
1) I should create /usr/share/weewx/tide.sh wherein is contained
#!/bin/sh
HFILE_PATH=/usr/local/share/harmonics-dwf-20181227-free.tcd tide "$@"

2) and then, you're saying I should
In /etc/weewx/weewx.conf under 
[Forecast]
 ...
   [[XTide]]
      prog =  /usr/share/weewx/tide.sh
 
*Is this understanding correct?*


FWIW - Found more deprecated droppings from the old deb-package that 
weren't properly removed by sudo apt-get remove xtide-data; i.e., 
/usr/share/xtide/harmonics-initial.tcd - manually removed by
pi@raspberrypi:~ $ sudo rm -r /usr/share/xtide




On Tuesday, March 12, 2019 at 5:04:16 PM UTC-4, V. Kelly Bellis wrote:
>
> RE: Forecasting Extension, RPi, Raspbian, weewx v3.9.1, XTide v2.15.2
> https://github.com/weewx/weewx/wiki/forecasting
>
> The xtide package (sudo apt-get install xtide) is an old, neglected, and 
> abandoned Debian package. How old? It and its related data: xtide 
> v2.13.2-1+b1 and data circa 20100529. The net result is as you would 
> expect, tide heights and times have drifted enough away from current NOAA 
> predictions to be noticeable or worse.
>
> Building XTide from source files on the RPi (including a path statement in 
> /etc/environment, to the harmonics file; i.e., 
> /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd) has xtide working 
> properly by itself; however, when viewing /var/log/syslog I'm seeing 
> STATION_NOT_FOUND.
>
> I was wondering if there might be any documentation written for 
> non-programmers in how weewx and XTide have been integrated? 
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to