Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - 28 November 2014
Latest Cumulus MX release v3.0.0 build 3046 - 02 January 2019. See the Wiki for download

Highcharts Tides

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Highcharts Tides

Post by mcrossley » Fri 21 Dec 2012 5:57 pm

Tony (HRVistaWeather) and I have been working on presenting tide data via Highcharts, here is my first implementation...

http://weather.wilmslowastro.com/highcharts/tides.htm

There is a bit of a problem in that if you select 7 days or more in the lower master chart it blows up - to be investigated!

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Highcharts Tides

Post by steve » Fri 21 Dec 2012 6:50 pm

Nice; I'd find that useful (although I tend to go here: http://www.tidetimes.org.uk/kettletoft-pier-tide-times) but data isn't directly available for here. I understand you can configure a subsidiary station, but I don't know how accurate that is.
Steve

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Tides

Post by mcrossley » Sat 22 Dec 2012 10:02 am

I wondered if you would be interested, there are a few other members who live near the coast/ports.

From what I remember from when I wrote a tide program for the Psion (remember them) years ago, there are primary ports, secondary ports/stations - for which the harmonics may be a little less accurate as they were sampled less frequently, or not at all since the initial data was collected - and then subsidiary stations which were based on interpolation between the nearest primary/secondary stations. So better than nothing, but they take no account of the local coastal topography.

Now the problem is most of the UK data is based on harmonics obtained by the old hydrographic office and subject to Crown Copyright (which is horrendously restrictive), the HO was disbanded and 'privatised' and the rights to this data is now 'owned' by various parties, but still covered by crown copyright. These companies will not allow you to use the harmonics without paying a fee.

Same old problem that we always have in the UK, the taxpayer pays the bill to collect the data, then we are charged to use it! The US model were anything publically funded is publically owned is much better, but don't me get started on that or I'll start on the Ordnance Survey as well.

Anyway after that ramble/rant, wxtide32 had to remove most of the UK stations from its database under threat of court action. There are only 44 left I believe. So finding somewhere local may be a problem. I do still have all the UK harmonics, but to put data from them up on your website would be to invite a 'desist' email from some heavy lawyers - nice country.

Mapantz
Posts: 559
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: null
Operating System: null
Location: null

Re: Highcharts Tides

Post by Mapantz » Sat 22 Dec 2012 12:25 pm

mcrossley wrote:Tony (HRVistaWeather) and I have been working on presenting tide data via Highcharts, here is my first implementation...

http://weather.wilmslowastro.com/highcharts/tides.htm

There is a bit of a problem in that if you select 7 days or more in the lower master chart it blows up - to be investigated!

That is absolutely awesome!!
I live in between two rivers, both are tidal from Poole Harbour so this kind of thing would be ideal!
I have no idea how you do it though, it's quite a way beyond my skills.

Great work though!

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Tides

Post by mcrossley » Sat 22 Dec 2012 1:17 pm

I'll put a package together for the Wiki - eventually. The > 7 day issue is fixed now as well.

thekow
Posts: 53
Joined: Wed 05 Dec 2012 8:39 am
Weather Station: w1080
Operating System: Virtualbox XP environment
Location: Australia
Contact:

Re: Highcharts Tides

Post by thekow » Sat 22 Dec 2012 8:01 pm

Could this be used in Australia? I would chuck it on my site if it could :)

User avatar
robynfali
Posts: 1075
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Fine Offset
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: Highcharts Tides

Post by robynfali » Sat 22 Dec 2012 11:24 pm

2 miles from me :D

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Tides

Post by mcrossley » Sun 23 Dec 2012 12:03 pm

thekow wrote:Could this be used in Australia? I would chuck it on my site if it could :)
Yes, see this example
robynfali wrote:2 miles from me :D
I haven't actually checked the times are correct Rob, I'd do that ;)

User avatar
robynfali
Posts: 1075
Joined: Sat 31 Jul 2010 10:34 pm
Weather Station: Fine Offset
Operating System: Windows XP
Location: Anglesey, North Wales, UK
Contact:

Re: Highcharts Tides

Post by robynfali » Sun 23 Dec 2012 12:17 pm

Seems to tally up ok mate, the problem we have here locally is that because of it being an island we are affected by several different tide times

User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Tides

Post by mcrossley » Sun 23 Dec 2012 12:53 pm

I do have the harmonics for several locations around Anglesey, but I can't use them without the risk of being slung in jail :evil:

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Highcharts Tides

Post by steve » Sun 23 Dec 2012 12:56 pm

mcrossley wrote:I do have the harmonics for several locations around Anglesey, but I can't use them without the risk of being slung in jail :evil:
Wuss :lol:
Steve

sbuckler
Posts: 35
Joined: Thu 27 Dec 2012 4:10 pm
Weather Station: Davis vantage Pro2 Plus
Operating System: Win 7
Location: Cape Cod, MA USA
Contact:

Re: Highcharts Tides

Post by sbuckler » Wed 06 Mar 2013 5:14 pm

Is this available somewhere? I've been trying to implement a tide page for days now and have not liked what I came up with.. I really liked the Port Huon - Tasmania page.

Stan
Image

raposu
Posts: 12
Joined: Sat 24 Jan 2009 4:56 pm
Weather Station: Vantage Vue
Operating System: IOS
Location: Soto de Llanera (Asturias) Spain
Contact:

Re: Highcharts Tides

Post by raposu » Sun 28 Apr 2013 11:39 am


User avatar
mcrossley
Posts: 5315
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Highcharts Tides

Post by mcrossley » Mon 09 Dec 2013 11:20 am

raposu wrote:Also possible with highstock

http://isocero.com/mareas/tabla-de-mareas.html
I like that! (belatedly) Great minds think alike. Yep, if I were doing this again I think HighStock would probably be a better choice

User avatar
SpaceWalker
Posts: 67
Joined: Sun 04 Mar 2012 2:54 am
Weather Station: Davis Vantage
Operating System: Windows XP
Location: Eastern-Canada
Contact:

Re: Highcharts Tides

Post by SpaceWalker » Mon 09 Dec 2013 1:00 pm

Mark...
mcrossley wrote:I'll put a package together for the Wiki - eventually.
That was almost a year ago... :D

Any chances of getting such a package before the end of year 2013... :lol:

Post Reply