tides forecasting can't find London

137 views
Skip to first unread message

Cycle London

unread,
Feb 2, 2018, 7:19:06 AM2/2/18
to weewx-user
Hi.
I have my weather station running nicely, and decided to go ahead and install the 'forecast' extension.  I also grabbed the 'nonfree' data as I'm located near London in the UK...

  root@weather:~# history | grep apt
  505  apt-get install xtide
  506  apt-get install xtide-data
  507  apt-get install xtide-data-nonfree

I have an API key from the UK Met Office, and am ready to rock.   First, I decide to test xtide...

root@weather:~# tide -l London
Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London

OK, so there's a problem.  No luck with 'London, UK' either.  Or 'London, England'.  I google and find a thread on this group from 2014, and one of the responses in there is to test with 'Bangor'. 

root@weather:~# tide -l "Bangor, Northern Ireland"
Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
Bangor, Northern Ireland - READ flaterco.com/pol.html
54.6650° N, 5.6690° W

2018-02-02  5:02 PM GMT   Sunset
2018-02-02  6:28 PM GMT   0.27 meters  Low Tide
2018-02-02  7:52 PM GMT   Moonrise
2018-02-03 12:46 AM GMT   3.37 meters  High Tide
2018-02-03  6:48 AM GMT   0.58 meters  Low Tide
2018-02-03  8:08 AM GMT   Sunrise
2018-02-03  9:39 AM GMT   Moonset
2018-02-03  1:01 PM GMT   3.77 meters  High Tide
2018-02-03  5:04 PM GMT   Sunset
2018-02-03  7:15 PM GMT   0.32 meters  Low Tide
2018-02-03  9:12 PM GMT   Moonrise
2018-02-04  1:35 AM GMT   3.30 meters  High Tide
2018-02-04  7:35 AM GMT   0.63 meters  Low Tide
2018-02-04  8:06 AM GMT   Sunrise
2018-02-04 10:01 AM GMT   Moonset
2018-02-04  1:47 PM GMT   3.73 meters  High Tide
2018-02-04  5:07 PM GMT   Sunset
2018-02-04  8:02 PM GMT   0.41 meters  Low Tide
2018-02-04 10:29 PM GMT   Moonrise
2018-02-05  2:22 AM GMT   3.22 meters  High Tide
2018-02-05  8:04 AM GMT   Sunrise
2018-02-05  8:22 AM GMT   0.70 meters  Low Tide
2018-02-05 10:22 AM GMT   Moonset
2018-02-05  2:34 PM GMT   3.63 meters  High Tide
2018-02-05  5:09 PM GMT   Sunset
2018-02-05  8:50 PM GMT   0.55 meters  Low Tide
2018-02-05 11:43 PM GMT   Moonrise
2018-02-06  3:10 AM GMT   3.14 meters  High Tide
2018-02-06  8:02 AM GMT   Sunrise
2018-02-06  9:10 AM GMT   0.80 meters  Low Tide
2018-02-06 10:43 AM GMT   Moonset


Yep, that works.  So I look for 'weewx predict tides' in google and get this site: http://tides.mobilegeographics.com/

I search in there for London, and get several responses (see screenshot).  I tried the first three of them, but get an error with each.  I even tried 'harmonics.world    51.5000° N, 0.0833° W', and the coordinates.  Every time, I try with double quotes and single quotes.  Nothing seems to work.

This is going to be really easy, and I'll kick myself when someone points it out to me....

Thanks.


mwall

unread,
Feb 3, 2018, 4:00:57 PM2/3/18
to weewx-user
On Friday, February 2, 2018 at 7:19:06 AM UTC-5, Cycle London wrote:
This is going to be really easy, and I'll kick myself when someone points it out to me....


perhaps try a more recent harmonics file?  dwf no longer dos the world harmonics, but this one is more recent than the one you tried:


m
 

Cycle London

unread,
Feb 5, 2018, 3:48:23 AM2/5/18
to weewx...@googlegroups.com
Hi.
I grabbed that file, unzipped it and put it into /usr/share/xtide. 

root@weather:/usr/share/xtide# ls -alrt
total 2828
-rw-r--r--   1 root root 1737203 May 30  2010 harmonics-dwf-20100529-free.tcd
-rw-r--r--   1 root root  509808 May 31  2010 harmonics-dwf-20100529-nonfree.tcd
-rw-r--r--   1 root root  509808 Dec 31  2011 harmonics-dwf-20111230-nonfree.tcd
-rw-r--r--   1 root root  120041 Oct 24  2014 harmonics-initial.tcd
drwxr-xr-x 204 root root    4096 Feb  2 11:25 ..
drwxr-xr-x   2 root root    4096 Feb  5 08:43 .


Ran tide -l London (with various attempts to use the correct country) with and without quotes...

root@weather:/usr/share/xtide# tide -l London
Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...

Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London

root@weather:/usr/share/xtide# tide -l London, UK
XTide Fatal Error:  BAD_OR_AMBIGUOUS_COMMAND_LINE
The command line could not be rationalized.  Probably you have provided an
unrecognized switch or invalid argument.  However, you can also get this
error by using ambiguous syntax.  For example, the shorthand -lw5 could mean
"set the line width to 5" (-lw 5) or it could mean "load the location
named w5" (-l w5).

root@weather:/usr/share/xtide# tide -l "London, UK"
Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...

Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London, UK

root@weather:/usr/share/xtide# tide -l "London, England"
Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...

Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London, England
 



--
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/pf1lJVztTdA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Milner

unread,
Feb 5, 2018, 4:23:44 AM2/5/18
to weewx-user
Try London Bridge instead of London
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Cycle London

unread,
Feb 5, 2018, 4:25:59 AM2/5/18
to weewx...@googlegroups.com
Still no luck.  Tried with 'UK', 'England' and with no country.

[root@weather~]\ [ $\ 09:24] tide -l "London Bridge"
-----------------------------------------------------------------------------
            XTide 2   Copyright (C) 1998 root Flater.

This software is provided under the terms of the GNU General Public
License, either version 3 of the License, or (at your option) any later
version.

Although the package as a whole is GPL, some individual source files
are public domain.  Consult their header comments for details.

                        NOT FOR NAVIGATION

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  The author
assumes no liability for damages arising from use of this program OR
of any 'harmonics data' that might be distributed with it.  For details, see
the verbose documentation at http://www.flaterco.com/xtide/.

This obnoxious message will go away permanently if you click "Don't show
this again" in the disclaimer window of the X windows client (xtide), or
if you create a file in your home directory called ".disableXTidedisclaimer".
-----------------------------------------------------------------------------


Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London Bridge

[root@weather~]\ [ $\ 09:24] tide -l "London Bridge, UK"
-----------------------------------------------------------------------------
            XTide 2   Copyright (C) 1998 root Flater.

This software is provided under the terms of the GNU General Public
License, either version 3 of the License, or (at your option) any later
version.

Although the package as a whole is GPL, some individual source files
are public domain.  Consult their header comments for details.

                        NOT FOR NAVIGATION

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  The author
assumes no liability for damages arising from use of this program OR
of any 'harmonics data' that might be distributed with it.  For details, see
the verbose documentation at http://www.flaterco.com/xtide/.

This obnoxious message will go away permanently if you click "Don't show
this again" in the disclaimer window of the X windows client (xtide), or
if you create a file in your home directory called ".disableXTidedisclaimer".
-----------------------------------------------------------------------------


Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London Bridge, UK

[root@weather~]\ [ $\ 09:24] tide -l "London Bridge, England"
-----------------------------------------------------------------------------
            XTide 2   Copyright (C) 1998 root Flater.

This software is provided under the terms of the GNU General Public
License, either version 3 of the License, or (at your option) any later
version.

Although the package as a whole is GPL, some individual source files
are public domain.  Consult their header comments for details.

                        NOT FOR NAVIGATION

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  The author
assumes no liability for damages arising from use of this program OR
of any 'harmonics data' that might be distributed with it.  For details, see
the verbose documentation at http://www.flaterco.com/xtide/.

This obnoxious message will go away permanently if you click "Don't show
this again" in the disclaimer window of the X windows client (xtide), or
if you create a file in your home directory called ".disableXTidedisclaimer".
-----------------------------------------------------------------------------


Indexing /usr/share/xtide/harmonics-dwf-20100529-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20111230-nonfree.tcd...
Indexing /usr/share/xtide/harmonics-dwf-20100529-free.tcd...
Indexing /usr/share/xtide/harmonics-initial.tcd...
XTide Error:  STATION_NOT_FOUND
The specified station was not found in any harmonics file.

Error details:
Could not find: London Bridge, England

[root@weather~]\ [ $\ 09:24]


To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

Andrew Milner

unread,
Feb 5, 2018, 4:44:21 AM2/5/18
to weewx-user
it looks to me as though xtide no longer supports locations outside usa since ukho took offence

maybe u need a different source for the data??

Cycle London

unread,
Feb 5, 2018, 4:48:51 AM2/5/18
to weewx...@googlegroups.com
I was aware of that, but the wiki (https://github.com/weewx/weewx/wiki/forecasting) says..

"Tide data for Canada, Germany, and the UK are in a separate package:

sudo apt-get install xtide-data-nonfree"
I thought that by installing that, it would work.

Oh well.  i'll have to dtop the ride part.

Thanks for the help.  I'll try to get 'regular' predictions working.

As a citizen of the most corrupt, greediest and sickest country on the face of the planet, allow me to apologise for the behaviour of the greedy MFs over at the UKHO.

To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages