Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 18-12-2022, 19:02   #46
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Harmonic Files ...

Your wish noted, now we just have to wait for someone willing to fullfill it. Sorry, but if there was such a harmonic file freely available, it very likely would have been already included in the OpenCPN package...
nohal is offline   Reply With Quote
Old 18-12-2022, 19:07   #47
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

Quote:
Originally Posted by nohal View Post
Your wish noted, now we just have to wait for someone willing to fullfill it. Sorry, but if there was such a harmonic file freely available, it very likely would have been already included in the OpenCPN package...
Thanks Nohal - I have searched everywhere to no avail. As I said, I am happy to do the editing if someone could show me how to change feet to meters for the affected stations.
kevinvh is offline   Reply With Quote
Old 18-12-2022, 19:10   #48
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Harmonic Files ...

All we have is the documentation already linked above. And I really can't read it for you. I know tide and current prediction looks like science. It is probably caused by the fact that it is kind of science.
nohal is offline   Reply With Quote
Old 18-12-2022, 20:52   #49
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

Quote:
Originally Posted by nohal View Post
All we have is the documentation already linked above. And I really can't read it for you. I know tide and current prediction looks like science. It is probably caused by the fact that it is kind of science.
OK, I have worked it out. Use a text editor to change the HARMONICS_NO_US file for the reference station, in my case, "Tarawa".
1. Replace "feet" with "meters"
2. Multiply the 3.3000 x 0.3048 = 1.00584 and replace the old value
3. Multiply the Amplitude values x 0.3048 for K1, K2, L2, M2, N2, 2N2, O1, P1, Q1, S2, and NU2, and replace the old values with the new values (Amplitudes are the first row of numbers in each constituent)
4. Save the file
5. Remove the old HARMONICS_NO_US file in Options/Charts/Tides & Currents and replace with the modified file just created
6. Exit Options with "OK" and reboot OpenCPN.

The exact conversion factor for feet to meters is 0.3048

You can do the reverse to convert from Meters to Feet; ie divide by 0.3048
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2022-12-19 at 04.56.05.png
Views:	55
Size:	279.1 KB
ID:	268924   Click image for larger version

Name:	Screen Shot 2022-12-19 at 05.06.24.png
Views:	46
Size:	273.8 KB
ID:	268926  

kevinvh is offline   Reply With Quote
Old 19-12-2022, 13:45   #50
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

OK, done a lot more research into tide predictions and how they are calculated in OpenCPN.

NOAA publish the Harmonic Constituents for tide stations under their control - https://tidesandcurrents.noaa.gov/ha...ml?id=1814060#

The University of Notre Dame publish a Global Database of Harmonic Constituents - https://sites.nd.edu/william-pringle...auge-database/

Another website for obtaining Harmonic Constituents - https://doi.pangaea.de/10.1594/PANGAEA.896587

A database of Worldwide Mean Sea Levels can be found at - https://psmsl.org

The 1st three websites give you the Harmonic Constituents that determine the tidal wave form and amplitude. The https://psmsl.org website gives you the Mean Sea Level of each tide station relative to a common datum for the World.

From the above mentioned, the HARMONICS and HARMONICS.IDX files used by OpenCPN can be updated - it is a massive job and one that I am not willing to undertake. However, I will update the files for the Gilbert Islands in Kiribati, which is were I am currently sailing. Perhaps someone else with a lot more programming skills can update all tide stations relatively easily?
kevinvh is offline   Reply With Quote
Old 19-12-2022, 17:08   #51
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

For those interested, attached are my modified Harmonics files - see Change Notes inside the files for details.

Note that I have set the MSL Reference Level to zero for the Tarawa and Abaiang Atoll, because all I am interested in is the relative tide changes (ie. difference between high and low tides). The official MSL Reference Level for these stations can be extracted from https://psmsl.org and replace the zero value for each station if you want the official tide levels.

Don't forget to remove ".pdf" from the file extension of 221220_Harmonics_KVH.zip.pdf before trying to expand the zip file.
Attached Files
File Type: pdf 221220_Harmonics_KVH.zip.pdf (1.09 MB, 33 views)
kevinvh is offline   Reply With Quote
Old 23-12-2022, 12:25   #52
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

For those interested, I have updated my Harmonics files for OpenCPN. The updates include:
# Added new station for Port Vila, Vanuatu from gesla.uhslc (31/12/2012)
# Updated Suva Harmonic Constituents from gesla.uhslc (31/12/2012)
# Added new station for Lautoka, Viti Levu, Fiji Islands from gesla.uhslc (31/12/2012)
# Changed Betio Harmonics Constituents to University of Hawaii numbers (gesla.uhslc)(31/12/2012), and 1.000 meter MSL (NOAA)
# Added new secondary stations for Betio and Bairiki, Tarawa, Gilbert Islands (gesla.uhslc) (31/12/2012)
# Added new secondary station for Taburao, Abaiang Atoll, Gilbert Islands
# Removed old secondary station for Tarawa, Gilbert Islands
# Set above stations to display in "meters" and set MSL reference level to 1.000 meter MSL (NOAA)

The ZIP file is attached - don't forget to remove the ".pdf" extension before trying to unzip.
Attached Files
File Type: pdf 221223_Harmonics_KVH.zip.pdf (1.09 MB, 26 views)
kevinvh is offline   Reply With Quote
Old 27-12-2022, 15:18   #53
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,989
Re: Harmonic Files ...

Quote:
Originally Posted by kevinvh View Post
For those interested, I have updated my Harmonics files for OpenCPN. The updates include:
# Added new station for Port Vila, Vanuatu from gesla.uhslc (31/12/2012)
# Updated Suva Harmonic Constituents from gesla.uhslc (31/12/2012)
# Added new station for Lautoka, Viti Levu, Fiji Islands from gesla.uhslc (31/12/2012)
# Changed Betio Harmonics Constituents to University of Hawaii numbers (gesla.uhslc)(31/12/2012), and 1.000 meter MSL (NOAA)
# Added new secondary stations for Betio and Bairiki, Tarawa, Gilbert Islands (gesla.uhslc) (31/12/2012)
# Added new secondary station for Taburao, Abaiang Atoll, Gilbert Islands
# Removed old secondary station for Tarawa, Gilbert Islands
# Set above stations to display in "meters" and set MSL reference level to 1.000 meter MSL (NOAA)

The ZIP file is attached - don't forget to remove the ".pdf" extension before trying to unzip.

File usage test: Ok.

Data validity: I can't say anything.
Gilletarom is offline   Reply With Quote
Old 29-12-2022, 14:01   #54
Registered User

Join Date: Jul 2015
Posts: 83
Re: Harmonic Files ...

Quote:
Originally Posted by kevinvh View Post
This is way beyond my capabilities. I just want a Harmonics.idx file with all data in METERS. Currently, it is a mixture of meters and feet.

I would be happy to edit the file if I knew what factors to apply at each station to change from Feet to Meters. Seems that it is not as simple as multiplying feet by 0.3048 to get meters.
Irish tidal data

Real time water levels for some Irish ports can be accessed online, and links can be embedded on the OpenCPN screen to be accessed when within mobile phone range on approaching that port. These data are uploaded automatically from tide gauges every 5 mins, and historical archives are available from these sources to allow harmonic calculation. The example in the attached screen grab has a mark using the Sea-DepthA-Red symbol near the entrance to a shallow channel thru' shifting sandbars, with direct links to water level gauges, including to data for that port's Irish Marine Institute's tide gauge at Tidal Observations | Marine Institute. Tidal height predictions there using UK tidal harmonics are usually out by from 20 to 50 mins, as well as full tide depth errors. VTS in large commercial ports convey readings from their local tide gauges to ships via VHF, and in many cases their gauges are also online.

In the link mentioned by Nohal the only source mentioned is an agency which looks after, inter alia, inland flooding, and so has gauges in some estuaries. On the other hand, the Marine Institute has more marine specific data, and also uploads IMOS weather buoy data, and high resolution 3 day tidal gribs the seas around Ireland and the English Channel, see Ocean Forecasts | Marine Institute.

Another marine agency with realtime online info is Irish Lights whose weather buoys report on Twitter every 20 mins, see: https://www.irishlights.ie/technolog...an-charts.aspx. These buoys are charted so links can be embedded on the OpenCPN screen beside them, and a similar process should work with any modern coastal weather stations elsewhere.
Attached Thumbnails
Click image for larger version

Name:	HarmonicsIMI.jpg
Views:	49
Size:	399.5 KB
ID:	269291  
Maelruan is offline   Reply With Quote
Old 29-12-2022, 17:18   #55
Registered User

Join Date: Feb 2011
Posts: 1,108
Re: Harmonic Files ...

I have done the analysis of more than 40 stations in Ireland and the results seems OK to me. As I don't want to come in conflict with your Institute, I can not give it at large. So if you think it is better to use their data so be it.
So long.
P_Dub is offline   Reply With Quote
Old 29-12-2022, 17:21   #56
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,635
Images: 2
Re: Harmonic Files ...

Quote:
Originally Posted by P_Dub View Post
I have done the analysis of more than 40 stations in Ireland and the results seems OK to me. As I don't want to come in conflict with your Institute, I can not give it at large. So if you think it is better to use their data so be it.
So long.

P_Dub please elaborate more. Your statement is too short to properly comprehend. Perhaps a little more context would help. Thanks so much.
rgleason is offline   Reply With Quote
Old 29-12-2022, 17:31   #57
Registered User

Join Date: Feb 2011
Posts: 1,108
Re: Harmonic Files ...

In the past the leader of OpenCpn and those doing the harmonic file had to removed the Europeen data, in order not to come in conflict with tidal Institutes of other countries predictions, so we have to be careful with that.
Happy New Year 2023 Rick.
P_Dub is offline   Reply With Quote
Old 30-12-2022, 06:46   #58
Registered User

Join Date: Jul 2015
Posts: 83
Re: Harmonic Files ...

Quote:
Originally Posted by P_Dub View Post
In the past the leader of OpenCpn and those doing the harmonic file had to removed the Europeen data, in order not to come in conflict with tidal Institutes of other countries predictions, so we have to be careful with that.
Happy New Year 2023 Rick.
Please see: https://www.marine.ie/site-area/data...ta/access-data
"The MI Data Policy seeks to promote access to its data archives, subject to conditions under which data has been collected. In this context, we are working to make as much data available online as possible."
Maelruan is offline   Reply With Quote
Old 31-12-2022, 15:37   #59
Registered User
 
fxykty's Avatar

Join Date: Apr 2016
Location: Indonesia
Boat: Outremer 55L
Posts: 3,851
Re: Harmonic Files ...

Hopefully this isn’t a thread hijack, so here goes. If it is, sorry.

OpenCPN seems to encourage and be happy with multiple harmonic files. What does it do when the same tide station is in both data sets? Is there an ordering based on which set is higher in the list?

I’m currently using the default dataset (great that it now contains more international stations) and I’ve added the Terry’s Topics dataset. They seem to play nicely together. Or am I setting myself up for failure?
fxykty is offline   Reply With Quote
Old 31-12-2022, 15:51   #60
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Harmonic Files ...

So long as the harmonics files have a different lat/long, they will appear in seperate locations on the chart. Don't know what will happen if they have the same lat/long. I will do a test.

What are the Terry's Topics files you mentioned?
kevinvh is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload .kmz Files Palarran Forum Tech Support & Site Help 3 23-02-2011 10:21
GRIB Files: Getting them and Reading them Tspringer Navigation 17 31-01-2011 01:00
Updated / Completed mo/po Files Netsurfer OpenCPN 1 27-05-2010 14:05
Looking for GPX Files for Testing Netsurfer OpenCPN 3 10-02-2010 03:18
Large Email files 2divers Marine Electronics 16 27-04-2006 05:38

Advertise Here


All times are GMT -7. The time now is 21:33.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.