*YAY MATT!! Success at long last :) THANK YOU MATT!!!*
[image: success at long last.PNG]
My notes along the way to success:
10:07 AM Sunday, April 7, 2019 (VKB)
Matt says:
for weewx installed via apt, you want:
PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/forecast.py
On Saturday, April 6, 2019 at 2:21:39 PM UTC-4, V. Kelly Bellis wrote:
>
> Trying next:
> PYTHONPATH=bin python /usr/share/weewx/user/forecast.py --action=parse
> --method=xtide --filename=/var/tmp/ellsworth.txt --debug
>
> Which then reults:
> pi@raspberrypi:/ $ PYTHONPATH=bin python
*Notes on my way to nowhere*
11:41 AM Saturday, April 6, 2019 (VKB)
Matt says:
then i installed the harmonics file:
sudo mkdir /opt/harmonics
cd /opt/harmonics
tar xvf ~/Downloads/harmonics-dwf-20181227-free.tar.bz2
=
1)
Just checking, should permissions be
This is wonderful Matt, thank you so very much!! I will study this and try
implementing this weekend.
FWIW, I followed the procedure as outlined in the section entitled
"*Installation
Guide For New Users of XTide*" that I wrote when I created XTide v2.15.2
Help (b20190309)
/usr/share/weewx/user/forecast.py
@ line 25 "A single table stores all forecast information."
Not sure if I've found the correct database @
/var/lib/weewx/forecast.sdb
If this is the correct file, there aren't any tide forecasts; only NWS,
OWM, and Zambretti
Is this why the syslog includes:
Hi Matt,
Within the entirety of the forecast extension, is forecast.py the only file
that contains the path to tide? Are there compiled versions of forecast
files that may still hold vestiges to tide?
Thank you for any reply.
Kind regards,
Kelly
On Friday, March 22, 2019 at 1:08:39 PM
Wow - the ice is totally gone out of the Charles? Bet the water is still
pretty chilly... though I suppose it wouldn't matter all that much on the
right size boat :)
Whenever you're able to get to it will be just fine; no rush. Maybe me and
my blind man's cane will wander into the reeds.
On Monday, March 25, 2019 at 11:22:28 AM UTC-4, V. Kelly Bellis wrote:
>
> One thought that keeps coming up, are any of your tests being done on a
> system where the only xtide installation is v2.15.2?
>
i have been testing on a raspberry pi and an x64 box, both running some
version of debian.
Matt - How's it going?
One thought that keeps coming up, are any of your tests being done on a
system where the only xtide installation is v2.15.2?
On Friday, March 22, 2019 at 1:08:39 PM UTC-4, mwall wrote:
>
>
> yay! i see exactly the same output when i run tide with those options,
>
Thank you Matt for the help, but still no cigar, unfortunately.
Mar 22 13:40:22 raspberrypi weewx[3297]: manager: Added record 2019-03-22
13:40:00 EDT (1553276400) to database 'weewx.sdb'
Mar 22 13:40:22 raspberrypi weewx[3297]: manager: Added record 2019-03-22
13:40:00 EDT (1553276400) to
Exactly! And was why I questioned that the period isn't matching the
forecast number of days; e.g., 7 days;
-b'2019-03-22 00:00' -e'2019-03-30 00:00'
[image: 7-day example.PNG]
On Friday, March 22, 2019 at 11:52:44 AM UTC-4, Andrew Milner wrote:
>
> in the command you issued you requested tide
in the command you issued you requested tide information for the 4 weeks
from 22 march thru 19 april - so that is why 4 weeks of data was returned.
On Friday, 22 March 2019 17:36:09 UTC+2, V. Kelly Bellis wrote:
>
> It works and produces 4-weeks worth of tide tables - why 4 weeks and not
>
On Friday, March 22, 2019 at 7:55:12 AM UTC-4, V. Kelly Bellis wrote:
>
>
> Mar 22 07:40:21 raspberrypi weewx[16352]: forecast: XTideThread: XTide:
> generating tides from 2019-03-22 00:00:00 EDT (1553227200) to 2019-04-19
> 00:00:00 EDT (1555646400)
> Mar 22 07:40:21 raspberrypi weewx[16352]:
[image: line 3906 in forecast_dot_py.PNG]
Does the weewx.conf call of:
prog = /usr/share/weewx/tide.sh
take precedence over the call at line 3906 in forecast.py?
On Thursday, March 21, 2019 at 9:56:56 AM UTC-4, mwall wrote:
>
>
> the default installation assumes that tide is located at
So far I haven't gotten forecast to run the latest version of tide, but I
understand that you as a developer might want to support tide users of
legacy versions, and I find that refreshing - thank you for helping them! -
and for helping me in trying to get tide to work in forecast.
On
If the forecast interval has been set to n days, should the tide interval;
i.e., -b -e, do likewise?
What does restx accomplish and is it a forecast term, linux, xtide, etc.,
and why is it set to be (71400 < 604800) - whatever that means??
--
You received this message because you are
and just for completeness, here are the two boston harbor cases using tide
2.15.2. as you can see, the output is identical to that of tide 2.11
*/opt/xtide-2.15.2/bin/tide -l'Boston, Boston Harbor' -b'2019-03-21 00:00'
-e'2019-03-22 00:00'*
Indexing /usr/share/xtide/harmonics-initial.tcd...
On Thursday, March 21, 2019 at 7:39:23 AM UTC-4, V. Kelly Bellis wrote:
>
> Mar 21 07:30:26 raspberrypi weewx[566]: forecast: XTideThread: XTide:
> generating tides from 2019-03-21 00:00:00 EDT (1553140800) to 2019-04-18
> 00:00:00 EDT (16)
> Mar 21 07:30:26 raspberrypi weewx[566]:
On Thursday, March 21, 2019 at 7:39:23 AM UTC-4, V. Kelly Bellis wrote:
>
>
> Why in the world would I ever want to have anything but a current version
> of xtide? And moreover, old harmonics data, i.e., circa 20100529 - why
> would I want that added liability? A better question would be: why
On Wednesday, March 20, 2019 at 9:52:17 AM UTC-4, V. Kelly Bellis wrote:
>
>
> Will sudo apt-get purge xtide purge only the old deprecated xtide stuff or
> will frig with all things xtide system-wide?
>
>>
>>
purging xtide will probably not touch your installation at /usr/local
packages
Will sudo apt-get purge xtide purge only the old deprecated xtide stuff or
will frig with all things xtide system-wide?
On Wednesday, March 20, 2019 at 9:48:08 AM UTC-4, mwall wrote:
>
> you might want to purge the debian installation of tide
>
> sudo apt-get purge xtide
>
>
>
--
You
On Wednesday, March 20, 2019 at 9:41:44 AM UTC-4, V. Kelly Bellis wrote:
>
> pi@raspberrypi:~ $ /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd
> tide -l Ellsworth
> bash: /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd: Permission
> denied
>
>
you just tried to execute a
you might want to purge the debian installation of tide
sudo apt-get purge xtide
otherwise there might be config files lingering around that confound your
new xtide installation. ('apt-get remove' removes the software, but leaves
configurations and data behind. 'apt-get purge' is more
The .sh has no luck, but regular tide -l location works.
[image: got nojoy.PNG]
On Wednesday, March 20, 2019 at 9:41:44 AM UTC-4, V. Kelly Bellis wrote:
>
> pi@raspberrypi:~ $ /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd
> tide -l Ellsworth
> bash:
pi@raspberrypi:~ $ /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd
tide -l Ellsworth
bash: /usr/local/share/xtide/harmonics-dwf-20181227-free.tcd: Permission
denied
On Wednesday, March 20, 2019 at 9:38:25 AM UTC-4, mwall wrote:
>
>
>
> On Wednesday, March 20, 2019 at 9:26:06 AM UTC-4,
On Wednesday, March 20, 2019 at 9:26:06 AM UTC-4, V. Kelly Bellis wrote:
>
>
> apparently the environment in which you run weewx is not the same as the
>> environment in which you run tide directly, so when the forecast extension
>> invokes /usr/local/bin/tide, tide cannot find the harmonics.
> apparently the environment in which you run weewx is not the same as the
> environment in which you run tide directly, so when the forecast extension
> invokes /usr/local/bin/tide, tide cannot find the harmonics. the tide.sh
> script ensures that you use the right harmonics by explicitly
On Tuesday, March 19, 2019 at 11:52:49 AM UTC-4, V. Kelly Bellis wrote:
>
>
> The need to update xtide would be predicated on which old version of xtide
> you are using with the latest harmonics, and you're particular need to have
> accurate tide information. In your example listed from the
On Tuesday, March 19, 2019 at 11:52:49 AM UTC-4, V. Kelly Bellis wrote:
>
>
> I'm still not understanding why in /etc/weewx/weewx.conf under
>
> [Forecast]
> ...
>[[XTide]]
> prog = /usr/local/bin/tide
>
> What's wrong with this?
>
> And why the need for the tide.sh?
>
apparently
Hello Matt,
Thank you for your reply.
I'm still not understanding why in /etc/weewx/weewx.conf under
[Forecast]
...
[[XTide]]
prog = /usr/local/bin/tide
What's wrong with this?
And why the need for the tide.sh?
[Forecast]
...
[[XTide]]
prog = /usr/share/weewx/tide.sh
On Tuesday, March 19, 2019 at 9:32:20 AM UTC-4, V. Kelly Bellis wrote:
>
>
> Have you tried to install XTide v2.15.2 and do you have it working with
> weewx and the forecast extension?
>
yes. but there is no need to install the latest xtide - older versions
work just fine with the latest
Hello Matt,
Hope you are well. It's been a few days and I haven't heard back from you
yet.
Have you tried to install XTide v2.15.2 and do you have it working with
weewx and the forecast extension?
And did I understand you correctly? - see previous post.
Kind regards,
Kelly
On Thursday,
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
On Wednesday, March 13, 2019 at 1:08:28 PM UTC-4, V. Kelly Bellis wrote:
>
> Hi Matt,
>
> Thank you for your reply.
>
> Let me know how you make out after you install XTide v2.15.2 and the most
> recent harmonics file.
>
> In answer to your question, and as I previously said, v2.15.2 works
>
On Wednesday, March 13, 2019 at 11:03:43 AM UTC-4, V. Kelly Bellis wrote:
>
>
> Mar 13 10:30:17 raspberrypi weewx[2614]: forecast: XTideThread: XTide: got
> no tidal events
> Mar 13 10:30:17 raspberrypi weewx[2614]: forecast: XTideThread: XTide:
> generate forecast failed: XTide Error:
Matt - Thanks for the reply.
I'm guessing from your response that there is no documentation on xtide
integration.
XTide is running perfectly on the RPi, but the syslog is still indicating
that there is an issue with weewx: forecast: XTide
even after implementing your suggested path update and
On Tuesday, March 12, 2019 at 5:04:16 PM UTC-4, V. Kelly Bellis wrote:
>
> I was wondering if there might be any documentation written for
> non-programmers in how weewx and XTide have been integrated?
>
the forecast extension invokes xtide, parses the output, then stores the
result in the
37 matches
Mail list logo