Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 20-12-2013, 20:12   #436
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

I'm attaching a weather routing done with the Shannon38-opencpn.CSV and related XML file. The crossing starting June 1 from Brenton Light to Lizard, Eng in 15 days seems a little short, but the same route calculated with no Polar file, but with the Boat characteristics (38'loa, 34'lwl, 22000 lb displacement, etc) is longer, about 25 days.

Quote:
Brenton Light, RI ---> LIzard, England June 1, 2014 3057nm 14.5 days
Using Climatology wind and currents with date set to June 1
The route approximates the Jim Cornell route and dips down further to catch the Gulf Stream.
When currents are turned off, the route does not drop as low and it takes a day longer.

The BrentonLight-Lizard.gps is attached, it shows a pretty fast pace in certain places, perhaps due to favorable current?

Also attached are the Jim Cornell Routes in color with dashed and dotted lines.
The routings do roughly follow Jim Cornell's routes. Also included is a 10 day and 7 day route to Horta and Falmouth using the same Shannon38 Polars
Quote:
Brenton Light to Horta Azores 10 days + 2 day layover
Horta Azores to Falmouth England 7 days 4 hours

Note that using the builtin VPP for a 38' boat instead of the boat polars, the route to Horta is 15 days.
The weather_routing does not mimic the Jim Cornell dogleg to England.

The polar files do work! They must be formatted correctly and loaded, which sometimes takes some persistence. Try closing the plugin and closing Opencpn and starting over if you are having trouble, it helps to reset things back to normal.

Would like others thoughts on the amount of time calculated for the voyage.
Attached Thumbnails
Click image for larger version

Name:	BrentonLight,RI - Lizard, England  -Start June 1  14 days - Using Shannon38 polars.png
Views:	137
Size:	270.3 KB
ID:	72503   Click image for larger version

Name:	BrentonLight,RI - Horta, Azores  -Start June 1 Using Shannon38 Polars- 10 days 17hrs.png
Views:	116
Size:	259.7 KB
ID:	72504  

Click image for larger version

Name:	BrentonLight,RI - Hoorta, Azores  -Start June  Using builtin VPP - 15 days.png
Views:	119
Size:	261.3 KB
ID:	72505   Click image for larger version

Name:	Horta, Azores - Falmouth England  Start june 13 (2day layover) 7 days 4 hours.png
Views:	114
Size:	256.4 KB
ID:	72506  

__________________

__________________
rgleason is offline   Reply With Quote
Old 17-01-2014, 16:02   #437
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

MSVC++ OUTPUT
for Weather_Routing_pi. It does not compile anymore.

Code:
20>...opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(86):       error C2065: 'NAN' : undeclared identifier
      20>..opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(86):       error C2065: 'NAN' : undeclared identifier
      20>..opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(87):       error C2065: 'NAN' : undeclared identifier
      20>..\opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(87):       error C2065: 'NAN' : undeclared identifier
      20>..opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(88):       error C2065: 'NAN' : undeclared identifier
      20>..\opencpn-git\plugins\weather_routing_pi\src\BoatPlan.h(88):       error C2065: 'NAN' : undeclared identifier
      20>..\opencpn-git\plugins\weather_routing_pi\src\RouteMapOverlay.h(71):       warning C4800: 'RouteMapOverlayThread *' : forcing value to bool       'true' or 'false' (performance warning)
      20>..\..\..\plugins\weather_routing_pi\src\SettingsDialog.cpp(114):       error C2065: 'Bool' : undeclared identifier
      20>..\..\..\plugins\weather_routing_pi\src\SettingsDialog.cpp(114):       error C2146: syntax error : missing ';' before identifier       'AlternatesForAll'
      20>..\..\..\plugins\weather_routing_pi\src\SettingsDialog.cpp(114):       error C2065: 'AlternatesForAll' : undeclared identifier
      20>..\..\..\plugins\weather_routing_pi\src\SettingsDialog.cpp(115):       error C2065: 'AlternatesForAll' : undeclared identifier
      20>..\..\..\plugins\weather_routing_pi\src\SettingsDialog.cpp(123):       warning C4800: 'int' : forcing value to bool 'true' or 'false'       (performance warning)
__________________

__________________
rgleason is offline   Reply With Quote
Old 23-01-2014, 08:46   #438
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

Sean has weather_routing working very nicely now.
1/23/14 Weather_Routing Pi 0.09 git clone git://github.com/seandepagnier/weather_routing_pi.git

The various windows are in order of opening:

  • Climatology Plugin
  • Grib Plugin
  • Weather_routing Plugin
    • Route Manager (after Export Route is selected to create new Track in RM)
    • Rename new Track in RM and Pick Properties to see..
    • Track Properties
    • Statistics - for the Weather_Routing Plugin
    • Plot - shows various conditions along the predicted route
This plugin seems to working much much better. Need to check the Edit Boat setting and try some real boat polar files next.

Please remove doc and unzip. Don't forget about data directoriies. Works with 3.3.1303

Thank you Sean!


Attached Thumbnails
Click image for larger version

Name:	weather_routing_pi_works_1-23-14t.jpg
Views:	104
Size:	234.3 KB
ID:	74491   Click image for larger version

Name:	Weather_Routing_Export_Route-800.png
Views:	95
Size:	82.5 KB
ID:	74492  

Attached Files
File Type: doc weather_routing_win32_pi110_v09_ov331303_pi.zip.doc (226.3 KB, 50 views)
__________________
rgleason is offline   Reply With Quote
Old 23-01-2014, 08:49   #439
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

While I think of it, in Weather_routing, I would like to have a Hide/Show eye for the route list, so that the plugin will skip those calcs and not show those last completed routes on the chart when "Run" is hit. ...Saves time.
__________________
rgleason is offline   Reply With Quote
Old 25-01-2014, 03:18   #440
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,133
Re: Weather Routing

I'm sorry to interfere with Rick's monologue .....

Sean

I get a segfault when trying to the "Edit" button for a "Boat".
A boat was assigned.

Click image for larger version

Name:	route-boat-edit.png
Views:	117
Size:	40.3 KB
ID:	74581

Thomas
__________________
cagney is offline   Reply With Quote
Old 25-01-2014, 03:50   #441
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

Thomas, sorry about monologue. nice to see someone else uses. Thread. Don't know if anyone reads it. Sean does sometimes.

Did you try starting out with the standard boat.xml? I will upload it in an hour. Sometimes that helps. It would be very nice to get polar files sorted out and file operations related to edit boat working better. Your help and testing is appreciated.
If you don't hear from sean you might pm.him with a link to your post. Thanks. Better not a monologue.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 27-01-2014, 00:26   #442
Registered User

Join Date: Apr 2012
Location: Opua, New Zealand
Boat: Van der Stadt Samoa 48
Posts: 118
Re: Weather Routing

Hi Rick,

For me OpenCPN closes when i hit the edit button after loading the polar for my boat. The same polar works fine in Qtvlm.

Regards,

Lars
__________________
Taarnskov is offline   Reply With Quote
Old 27-01-2014, 15:16   #443
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mčtres
Posts: 2,156
Re: Weather Routing

Hello Sean,

Trying weatherRouting, with my french language file, I see many items that are not translated.

Here join some screens copy. You can see where are the not translated
items.

List of items :

Add at boat, New, Batch, Export All, Plot, View.
Configuration batch, Start time, Boats, Staring, For, day(s), Spaced, day(s), hour(s), Apart
Auto connect, Within, Connect, Disconnect all, Generate,
Configuration batch, No weather route selected,
Filter routes
Category, Reser All, Done,
Empty route, Nothing to export,
Weather routing settings, Cursor route color, Destination route color, Route thickness, Iso chron thickness, Alternates routes thickness, Squares at sail changed, Filter routes by climatology, Computation,
Number of concurrents threads, Help,
New source, Enter name,
Weather routing statistics, Overall, Run time, Current route, UUpwind, Port/Starboard, Average wind, Average wave, State, Stopped, Iso chrons, Rotes, InvRoutes, skip positions, Positions.

Some of these items are in the actual pot file, many other are not in the actual pot file.

Here join, a french language file just for test.

B.R. Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items.jpg
Views:	81
Size:	56.4 KB
ID:	74796   Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_2.jpg
Views:	76
Size:	20.5 KB
ID:	74797  

Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_3.jpg
Views:	70
Size:	11.9 KB
ID:	74798   Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_4.jpg
Views:	76
Size:	38.8 KB
ID:	74800  

Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_5.jpg
Views:	79
Size:	21.8 KB
ID:	74801   Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_6.jpg
Views:	86
Size:	24.5 KB
ID:	74802  

Click image for larger version

Name:	2014-01-27_WeatherRouting_No_translate_items_7.jpg
Views:	87
Size:	10.7 KB
ID:	74803  
Attached Files
File Type: doc Weather-routing_pi_fr_B.po.doc (38.4 KB, 27 views)
__________________
Gilletarom is offline   Reply With Quote
Old 27-01-2014, 23:16   #444
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,553
Re: Weather Routing

Quote:
Originally Posted by cagney View Post
I'm sorry to interfere with Rick's monologue .....

Sean

I get a segfault when trying to the "Edit" button for a "Boat".
A boat was assigned.

Attachment 74581

Thomas
I have seen this one as well.. It's been a while since I worked on this plugin. In any case, is there any specific case to make this occur, or does it always happen?
__________________
boat_alexandra is offline   Reply With Quote
Old 28-01-2014, 05:49   #445
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

Weather Routing

Quote:
I get a segfault when trying to the "Edit" button for a "Boat".
A boat was assigned.
Thomas, did you try putting the boat.xml file in the data directory?
See Weather Routing

boat.xml.doc attached below, remove the doc and put in the ProgramData/Opencpn directory please. Sorry did not upload earlier.
Attached Files
File Type: doc boat.xml.doc (380 Bytes, 29 views)
__________________
rgleason is offline   Reply With Quote
Old 28-01-2014, 06:01   #446
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

For those trying to use their own POLAR files, I have have not completely finished my "monologue" about Polar files and have more work to do, but perhaps this will help.

Weather Routing
Quote:
Sometimes the plugin is picky about these files. If it is close the plugin and opencpn and reopen, to reset it. Then try again.
The two sample files are shown below. They are paired. If you load the XML file the referenced polar file will be loaded if it is in the path and the correct format.

Shannon38-opencpn-roundtrip.XML [This is the <boat>.XML file]

... and further down
Shannon38-opencpn.CSV [This is the <boat polar>.csv file.]
You cannot use a qtVLM polar file (although that would be nice) because there are subtle differences... please compare the qtVLM Polar and Weather_routing polar for the Shannon38 in this post.

I am going to attach the two Shannon38 files that worked for me, perhaps you can get those working?

These files should have doc removed and be placed in the ProgramData/Opencpn directory. Give them a try please
Attached Files
File Type: txt Shannon38-opencpn.CSV.txt (583 Bytes, 40 views)
File Type: txt Shannon38-opencpn-roundtrip.XML.txt (406 Bytes, 22 views)
__________________
rgleason is offline   Reply With Quote
Old 29-01-2014, 15:54   #447
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

Just tried another routing using the "Shannon38-opencpn.xml" file and the companion polar file "Shannon38-opencpn.csv"

The owner of the Shannon has advised that the polars need some adjustment (this routing is overly optimistic), but effort is a dry run to make sure things work. Once I had the files, all that was necessary to Configure > Boat > Browse and pick the Shannon38-opencpn.xml file (located in C:/ProgramData/Opencpn/ for windows users). This file will automatically looks for the polar file Shannon38-opencpn.csv also in the same directory. If it is not found, there is an error.

Weather_routing_pi Polar format is NOT the same as your boats qtVLM polar and must be converted. Please see the post above for how the formats differ. Hopefully the Windows program "Polauto" by Patrick Tiersp will be able to convert from qtVLM to Weather_routing_pi, please give it a try (that is still in beta testing).

Once the routing is done, first with a 12 hour interval to test, then with 6 hours (using Climatology only with Wind and Current on) also Detect Land and only Climatology Grib was checked, the routing can be saved to the Route Manager. This new track will appear as an unmaned track under the track tab in Route Manager RM. Using Track Properties edit the title and and export as a GPX file if you wish.
Attached Thumbnails
Click image for larger version

Name:	NorthStar-BrentonReef-Falmouth-As.jpg
Views:	94
Size:	233.2 KB
ID:	74925  
Attached Files
File Type: doc Shannon38-opencpn.XML.doc (406 Bytes, 17 views)
File Type: doc Shannon38-opencpn.CSV.doc (583 Bytes, 25 views)
File Type: gpx BrentonReef-Falmouth-30094nm-June1-16d-3hrs.gpx (7.6 KB, 16 views)
__________________
rgleason is offline   Reply With Quote
Old 29-01-2014, 16:00   #448
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

Discussion about the differences between qtVLM and Weather_Routing_pi POLARS is found here Weather Routing

The Windows Polar program which may be able to convert various polar files is here.
Test Polauto by using OpenCpn w/o instruments The conversion piece is relatively new, and I noticed some differences last time I used it. This is still in beta for conversions, but give it a try. There is more information about various Polars in this thread.
__________________
rgleason is offline   Reply With Quote
Old 29-01-2014, 17:41   #449
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,817
Re: Weather Routing

The Shannon38-opencpn.csv polar has not had some big reductions in accord with the owner's experience, and is now called Shannon38-opencpn-Ted.csv with the companion Boat.xml file being called Shannon38-opencpn-Ted.XML.

Running the routing from Brenton Reef, Newport RI to Falmouth Eng using Climatology wind and currents enabled, starting June 1 using these files, it appears 3 days are added. Weather_routing_pi shows 18 days 10hrs. - Of course I don't believe this is how long it will take, and I am expecting more like 30 days, so I still think this is optimistic.

Here are the values used in the polar which appear to me to be pretty reasonable.
Shannon38-Opencpn-Ted.csv

twa/tws;6;9;13;20
0;0.00;0.00;0.00;0.00
35;2.50;3.80;4.50;6.00
45;3.50;4.00;5.80;6.70
120;4.00;4.80;6.60;7.50
150;3.50;4.00;5.80;7.20
180;3.00;3.50;5.00;7.00

Included are
Three screenshots (Route+Polar, route+Plot, route+Track),
the polar and xml boat files (remove the doc),
and the gpx file, which is the track giving you estimated speed for each leg.
Attached Thumbnails
Click image for larger version

Name:	NorthStar-BrentonReef-Falmouth-RouteRM-Tracks.jpg
Views:	80
Size:	233.2 KB
ID:	74941   Click image for larger version

Name:	NorthStar-BrentonReef-Falmouth-B-RM-Plot.jpg
Views:	97
Size:	181.6 KB
ID:	74942  

Click image for larger version

Name:	NorthStar-BrentonReef-Falmouth-B-RM-Polar.jpg
Views:	97
Size:	185.0 KB
ID:	74943  
Attached Files
File Type: doc Shannon38-opencpn-Ted.XML.doc (410 Bytes, 33 views)
File Type: doc Shannon38-opencpn-Ted.CSV.doc (163 Bytes, 27 views)
File Type: gpx BrentonReef-Falmouth-3076nm-18d10h-TedPolars.gpx (8.9 KB, 32 views)
__________________
rgleason is offline   Reply With Quote
Old 29-01-2014, 18:26   #450
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,553
Re: Weather Routing

if it is "optimistic" then it is either the polar is optimistic (and you can fix that), or not taking into account factors like swell (which should eventually be integrated) because it slows the boat beating and speeds up (surfing) running. Any ideas for how to deal with swell in some sense that is actually useful?
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

Tags
paracelle, weather

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
Yachts in transit - new system for weather, blogging, diving, walking tracking sail-fish Navigation 13 22-05-2016 16:57
SSB Weather info VirtualVagabond General Sailing Forum 8 15-01-2016 09:40
Optimum SSB/satphone combo setup tulsag Marine Electronics 33 30-04-2012 08:19
MaxSea Weather Routing Revelations Weather | Gear, Reports and Resources 12 10-10-2011 02:08
Sea Myths and Sayings Mariners The Sailor's Confessional 5 29-09-2011 14:51


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:00.


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.