Tides

Post Reply
User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Tides

Post by John B » Sun Dec 31, 2017 11:49 pm

This probably specific to Sydney - Kirribilli.

The last couple of days the block has not been reporting correctly. I suspect that it's because of a change on the source URL

https://www.tide-forecast.com/locations ... des/latest

The image below shows the block and the second a portion of the reference URL.

I am aware that you are extremely busy, Jáchym. I am not desperate; it can wait a few weeks.

For those in a different time zone, the block image is for 2018-01-01.

JB
Attachments
Tides Sydney - Kirribilli.jpg
Tides Sydney - Kirribilli.jpg (24.65 KiB) Viewed 11063 times
Sydney tides - Kirribille.jpg
Sydney tides - Kirribille.jpg (96.95 KiB) Viewed 11063 times

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Tides

Post by Jachym » Mon Jan 01, 2018 11:15 am

Hi John,
the only difference I can tell on their site is that they moved to https. However that should not have an effect now. It could also be some problem with the transition to a new year. I will wait 2-3 days and remind me again if it does not fix itself.

User avatar
meteocaldas
Language Admin
Language Admin
Posts: 111
Joined: Fri Aug 25, 2017 7:56 pm
Location: Caldas da Rainha, Portugal
Station model: OS WMR-88A
Software: Cumulus
Contact:

Re: Tides

Post by meteocaldas » Mon Jan 01, 2018 5:15 pm

Same problem here, but as far as I can remember, it is the second time such issue is happening, so it will probably be solved in the next 2 or 3 days as it was solved before.
Image

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Tides

Post by John B » Mon Jan 01, 2018 9:40 pm

Thanks, to you both. Let's hope it's not broken - though your comments are reassuring.

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: Tides

Post by Jachym » Tue Jan 02, 2018 9:35 am

Hi,
either it is just a temporary issue (like last yr) or they made some changes. This plugin/block uses HTML scraping, always the worst and most unreliable method because a single change in the HTML and it falls apart. Unfortunately they dont have an api that would provide this in machine readable format

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Tides

Post by John B » Wed Jan 03, 2018 12:20 am

Fingers crossed, it appears that you were right. The block is now behaving as it should.

Thanks.

JB

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Tides

Post by John B » Tue Jan 15, 2019 5:52 am

Tides, again. This, I might add, could have been the case for ever and a day but I only noticed it a few days ago.

The problem, if there really is one, is that the tide times and heights for my selected location 'Today' is normally within a few minutes and heights of forecast published by the local Bureau of Meteorology. However the times shown for 'Tomorrow' are just plain wrong. When 'Tomorrow' becomes 'Today' they will, suddenly, be acceptably close.

Looking at the source site shows the more-or-less accurate readings for 'Tomorrow' as forecast by the local bureau.

To me, this seems to indicate that either the 'scraping' of data from the source site is wrong or that the subsequent 'massaging' of those data is faulty.

Has anyone else noticed this anomaly? If so, did you manage to fix it?

Regards to all,
John

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Tides

Post by John B » Thu Jan 17, 2019 9:17 am

Further to my post of a couple of days ago:

I was looking at my site today and for some strange reason thought that the forecast for 'tomorrow' was similar to that before. Fortunately I had made a note of the previous details - they are identical.

So now I have no idea. I shall do my best tomorrow (it's mid-evening here) to trawl through Jáchym's coding to see if I can sort out the problem.

Cheers,
John

User avatar
John B
Forecaster
Forecaster
Posts: 211
Joined: Sun Aug 20, 2017 11:59 pm
Location: Blaxland, N.S.W., Australia
Station model: La Crosse WS2355
Software: Weather Display
Contact:

Re: Tides

Post by John B » Tue Feb 26, 2019 4:06 am

Well, it seems to have sorted out itself. Readings are now as expected.

Why? I have no idea.

fourwatt
Newbie
Newbie
Posts: 1
Joined: Mon Jun 24, 2019 4:15 am
Station model: Davis Vantage Pro2+
Software: Weather Display

Re: Tides

Post by fourwatt » Sat Jul 06, 2019 5:45 pm

This is not working for myself in Nikiski Alaska.
Is there a possible update for this coming up ?
If not is there a way to use the Weather Display tideprediction.html file for this ?
a Sample can be found here.
https://www.kenaiweather.com/tideprediction.html
This time of year this is the main information used on my site.

The Meteotemplate in use is at
https://www.kenaiweather.com/nikiski/index.html

Post Reply