Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-02-2011, 16:17   #1
Registered User

Join Date: Feb 2010
Posts: 619
OpenCPN Route Planning with Time and Tide

I tweaked the Route Properties dialog into a prototype Passage Plan. I aimed at minimizing the growth of user interface, while hopefully providing useful info.

In return for providing a fixed Departure Date the user obtains now for route waypoints along the way:

- specific ETA at each WP
- altitude of Sun (day, twilight, night, sunrise, sunset)
- state of tide

Time display/entry can be selected between UT, current timezone of the PC, or Local Mean Time of target waypoints (for advance planning those remote passages).

Tide display has two modes:

- if a Tide Curve Window is open on screen, tide data for this station (the most recently opened one) will be tabulated at all Route WPs
- otherwise, if WP name contains a name of a tide station, data for this station only will appear at this WP ETA

I plan to resolve the selection between identical names for different stations just by choosing the most nearby one.

Todo :

- allow different plan speed for each leg
- include a polar speed diagram and GRIB forecast into the plan
- include the currents data as well...
- ...

Piotr
Attached Thumbnails
Click image for larger version

Name:	dover_tides_s.jpg
Views:	392
Size:	187.6 KB
ID:	23518  
__________________

__________________
PjotrC is offline   Reply With Quote
Old 06-02-2011, 06:26   #2
Registered User

Join Date: Nov 2010
Posts: 62
Images: 2
This looks very useful. Do you enter cruising hours per day? For someone simply using Windows 7 is there (going to be) a way to import your mods as a patch or does this all have to be compiled under Linux etc?
__________________

__________________
ktcanuck is offline   Reply With Quote
Old 06-02-2011, 11:54   #3
Registered User

Join Date: Feb 2010
Posts: 619
I started thinking about making a route-based Voyage Plan, i.e. planning for extended stopover times, but it seems that this is not necessary. It should be sufficient to stay with one route -> one passage.

In a couple of days I will stop testing and post the patch to flyspray.

I build under Windows only, but this should be portable to other platforms as well.
__________________
PjotrC is offline   Reply With Quote
Old 07-02-2011, 07:02   #4
Registered User

Join Date: Jun 2010
Location: St. Petersburg, Florida
Boat: Gemini 3200
Posts: 702
Quote:
Originally Posted by PjotrC View Post
In return for providing a fixed Departure Date the user obtains now for route waypoints along the way:

- specific ETA at each WP
- altitude of Sun (day, twilight, night, sunrise, sunset)
- state of tide

Time display/entry can be selected between UT, current timezone of the PC, or Local Mean Time of target waypoints (for advance planning those remote passages).
Neat idea. I'll be looking forward to trying it out when it is incorporated into a beta version.

Quote:
Originally Posted by PjotrC View Post
Todo :

- allow different plan speed for each leg
- include a polar speed diagram and GRIB forecast into the plan
- include the currents data as well...
- ...

Piotr
That will be very nice when you get it working.

Fabbian
__________________
fgd3 is offline   Reply With Quote
Old 10-02-2011, 07:00   #5
Registered User
 
jonasaberg's Avatar

Join Date: Jul 2008
Location: Kristiansand, Norway
Boat: Wasa 410
Posts: 305
Quote:
Originally Posted by PjotrC View Post
Todo :

- include a polar speed diagram and GRIB forecast into the plan

Piotr
I think there was a post about weather routing earlier (much earlier) where someone had programmed it into a webapp or application... I am pretty sure the author volunteered to release the code on request. Need some digging into old posts...
Maybe this could be a good starting point for this very useful addition for distance sailing.
In my experience weather routing works well for sailing in (good) prognosticated weather over distances longer than a couple of tens of NM.

/Jonas
__________________
jonasaberg is offline   Reply With Quote
Old 12-02-2011, 13:33   #6
Registered User

Join Date: Feb 2010
Posts: 619
I posted the patch for basic route planning to flyspray feature requests.

Below is an example of the selective interface to tide tabulation, and specification of stopover at a route waypoint.

Enjoy,

Piotr
Attached Thumbnails
Click image for larger version

Name:	belleile.jpg
Views:	338
Size:	195.9 KB
ID:	23727  
__________________
PjotrC is offline   Reply With Quote
Old 13-02-2011, 06:38   #7
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Nice Piotr.. and perfect for my upcoming Brittany cruise
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 15-02-2011, 03:49   #8
Registered User
 
jonasaberg's Avatar

Join Date: Jul 2008
Location: Kristiansand, Norway
Boat: Wasa 410
Posts: 305
Interesting WR link

Weather routing links:
Weather routing
Describes the principle quite well

Sailing Simulator: Home
A fast implementation of WR.

Unfortunately not open source...

/J
__________________
jonasaberg is offline   Reply With Quote
Old 16-02-2011, 04:18   #9
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Yes I chatted to zezo dude back in the day, he sort of said he might contribute code to a real life WR solution - you can check on the zezo.org forums
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 16-02-2011, 06:44   #10
Registered User
 
jonasaberg's Avatar

Join Date: Jul 2008
Location: Kristiansand, Norway
Boat: Wasa 410
Posts: 305
ok, I was sure I read something somewhere. Your post explains that

Maybe it would be best if Pjotr or someone up for the coding took the contact...

Weather routing in CPN would be seriously cool.

/Jonas
__________________
jonasaberg is offline   Reply With Quote
Old 19-02-2011, 19:07   #11
Registered User

Join Date: Dec 2010
Posts: 15
Beautiful job, Piotr!! I hope at last we will have a date of arrival for each wp and for the whole route! Something apparently essential for a navigation software that people sailing on many days ocean passages were really missing. Thank you for your work and initiative.
__________________
antxon is offline   Reply With Quote
Old 28-11-2011, 06:14   #12
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: OpenCPN Route Planning with time&tide

Hello PiotrjC

With version 2.5.11.28.

Install : Ok. It seem that it run well ... but ....

The wind direction arrows change when moving a WP! And as for the curves of equal pressure.

Best regards

Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2011-11-28_Before.jpg
Views:	178
Size:	302.9 KB
ID:	34193   Click image for larger version

Name:	2011-11-28_during.jpg
Views:	197
Size:	317.4 KB
ID:	34194  

__________________
Gilletarom is offline   Reply With Quote
Old 28-11-2011, 09:05   #13
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Route Planning with time&tide

Quote:
Originally Posted by Gilletarom View Post

The wind direction arrows change when moving a WP! And as for the curves of equal pressure.
Gilletarom...

This is intended behaviour... when you start dragging a waypoint, the GRIB display synchronizes with the ETA for the starting time of the leg affected. When you stop dragging, the GRIB shows the state as of the ETA of the end of the leg.

In this way you see on screen what should be seen when planning this leg. Of course this is best guess - the nearest GRIB record in the set. If you adjust the waypoints in the natural order - from start to finish of the route, then the barbs (maybe) change only at the end of dragging.

This can be switched off in the GRIB Control Dialog by ticking off "Sync with Route", but then the display is less meaningful... it just shows some point in time...

It gets a little more complicated with Wind&Sea Current together - some GRIBs give wind data every 6 hours and Currents - every hour. I give preference to sailing - so if the Polar is not "none", the display shows only the screens with wind included, but computation behind the scenes takes the best Current prediction available. If the Current is preferred - just set Polar to "none".

Thanks for trying...
Piotr
__________________
PjotrC is offline   Reply With Quote
Old 28-11-2011, 12:59   #14
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: OpenCPN Route Planning with Time and Tide

Whaooooo !

Better and better!
__________________
Gilletarom is offline   Reply With Quote
Old 28-11-2011, 13:11   #15
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Route Planning with Time and Tide

Best of all, by selecting:

- "Polar Selection" = none
- "Sync to Route" = Off
- "Include Drift in VMG" = Off

one gets good old 2.5.0 behaviour, just with tabular presentation of forecast...

Wind data is used if within 24 hrs from timestamp.
Sea current data is used if within 1.5 hrs from timestamp.

P.
__________________

__________________
PjotrC is offline   Reply With Quote
Reply

Tags
opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Time and Tide Clocks sailormoon Navigation 17 04-10-2011 14:45
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 19:14



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 23:59.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.