Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 25-04-2018, 11:32   #16
Registered User

Join Date: Apr 2018
Posts: 18
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by stelian View Post
Joseph, it looks like these are not the correct files, WeatherRoutingConfiguration.xml should contain some information about your route (starting from Italy as I see in your screenshot), but the file you attached contains the default routes (canaries, Lizard, Provincetown etc)
Hi Stelian, thanks for your answer..

before starting the routing ( Compute) I set the start point and the end point by right cick on the map - Weather Route Position and after that I see the starting point and the endind point on the Weather Routing configuration ..
Effectively, now I see the WeatherRoutingConfiguration content and I don't see these points..
I don't know... mybe on the procedure that I'm following to setup the routing there is something wrong..

thanks a lot..
Joseph
joseph79 is offline   Reply With Quote
Old 25-04-2018, 21:54   #17
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: The Weather Routing stops before reaching the destination

Again, it is pretty clear that you used a polar file that doesn't define boat speeds below 6 knots of wind. So it is the reason the routing stops when the wind drops below this level. I suggest you try many different polars and be sure you use one which defines a boat speeds in the winds defined in the grib used.

If you think the plugin is in error we can somehow fix it, but so far from what I have seen the plugin is working exactly as I designed it. You would have to suggest what it should actually do, and how, and I can make it do that if it makes sense.

If you want more feedback, you must post the correct WeatherRoutingConfiguration.xml that you used, not the default one which is in a different directory.
seandepagnier is offline   Reply With Quote
Old 26-04-2018, 00:35   #18
Registered User

Join Date: Apr 2018
Posts: 18
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by boat_alexandra View Post
Again, it is pretty clear that you used a polar file that doesn't define boat speeds below 6 knots of wind. So it is the reason the routing stops when the wind drops below this level. I suggest you try many different polars and be sure you use one which defines a boat speeds in the winds defined in the grib used.

If you think the plugin is in error we can somehow fix it, but so far from what I have seen the plugin is working exactly as I designed it. You would have to suggest what it should actually do, and how, and I can make it do that if it makes sense.

If you want more feedback, you must post the correct WeatherRoutingConfiguration.xml that you used, not the default one which is in a different directory.
Hello Alexandra..,thanks a lot for your prompt feedback and support.. Within two hours I'll post the correct configuration file.. Regarding the polar, I have some doubt.. I'm coming from Expedition and Adrena and I never faced with a similar problem.. General the minimum win speed of the polar is 6 ktns, lower than this value the software interpolates..I can have also a polar with a minimum wind speed of 3 ktns but the wind may be 2ktns..and so on...without interpolation may be always a condition in which the routing stops for this reason...
Anyway I'll post you the correct configuration as soon as possible.. Thanks a lot...
Joseph
joseph79 is offline   Reply With Quote
Old 26-04-2018, 03:41   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: The Weather Routing stops before reaching the destination

Try adding all the example polars the numbers at the end reprsent trie wind speed tws
rgleason is offline   Reply With Quote
Old 26-04-2018, 04:45   #20
Registered User

Join Date: Apr 2018
Posts: 18
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by boat_alexandra View Post
Again, it is pretty clear that you used a polar file that doesn't define boat speeds below 6 knots of wind. So it is the reason the routing stops when the wind drops below this level. I suggest you try many different polars and be sure you use one which defines a boat speeds in the winds defined in the grib used.

If you think the plugin is in error we can somehow fix it, but so far from what I have seen the plugin is working exactly as I designed it. You would have to suggest what it should actually do, and how, and I can make it do that if it makes sense.

If you want more feedback, you must post the correct WeatherRoutingConfiguration.xml that you used, not the default one which is in a different directory.

Dear Alexandra,
which is the correct path of the current file WeatherRoutingConfiguration.xml that I' Using in order to post the correct one?
Regards.
Joseph
joseph79 is offline   Reply With Quote
Old 26-04-2018, 05:14   #21
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by joseph79 View Post
Dear Alexandra,
which is the correct path of the current file WeatherRoutingConfiguration.xml that I' Using in order to post the correct one?
Regards.
Joseph
It's difficult for me to say if you are not using linux, but for linux it's in ~/.opencpn/plugins/weather_routing

Alternately you can Select File->Save from the menu, I hope this helps.

Quote:
Originally Posted by joseph79 View Post
Hello Alexandra..,thanks a lot for your prompt feedback and support.. Within two hours I'll post the correct configuration file.. Regarding the polar, I have some doubt.. I'm coming from Expedition and Adrena and I never faced
Thank you for trying free software.
Quote:
with a similar problem.. General the minimum win speed of the polar is 6 ktns, lower than this value the software interpolates..I can have also a polar with a minimum wind
You do realize that most boats don't behave linearly for wind speed, at least in ocean waves, and especially not at the lowest wind speeds.

This is not interpolation. The plugin does interpolate. What you are describing is extrapolation, and it is dangerous to make these assumptions. The same argument was made for high wind speeds, and it just isn't how boats sail, even if it makes your routing work.

If you want this and it is your intention, then just add a 0.0 boat speed for 0 wind speed column to the polar for all wind speed directions. Don't use "0" because this is interpreted as "not possible". I know this is also very confusing. It would allow you even to avoid sailing against the wind at a higher wind speed, or even dead down wind in light wind which might be very useful, so it's a feature as well.

We recently had a debate, please read about it to continue the discussion:

https://github.com/seandepagnier/wea..._pi/issues/126


Quote:
speed of 3 ktns but the wind may be 2ktns..and so on...without interpolation may be always a condition in which the routing stops for this reason...
Anyway I'll post you the correct configuration as soon as possible.. Thanks a lot...
Joseph
I think maybe it's still a problem but not sure how to solve it. The fact that routing stops outside of the definition of the polar is actually a feature, but often interpreted as a bug.

Maybe you can suggest a better way to handle polars, but simply extrapolating them like expedition or other programs is misleading, so if we decide to do it, it needs to be clear. Maybe an option for it?
seandepagnier is offline   Reply With Quote
Old 26-04-2018, 05:15   #22
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by joseph79 View Post
Dear Alexandra,
which is the correct path of the current file WeatherRoutingConfiguration.xml that I' Using in order to post the correct one?
Regards.
Joseph
On Windows: C:\ProgramData\opencpn\plugins\weather_routing\

On Linux: $HOME/.opencpn/plugins/weather_routing/
stelian is offline   Reply With Quote
Old 26-04-2018, 05:28   #23
Registered User

Join Date: Apr 2018
Posts: 18
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by stelian View Post
On Windows: C:\ProgramData\opencpn\plugins\weather_routing\

On Linux: $HOME/.opencpn/plugins/weather_routing/
Thanks a lot Alexandra,
I hope that now I'm posting the correct files..
Kind regards
Joseph
Attached Thumbnails
Click image for larger version

Name:	WR4.jpg
Views:	55
Size:	47.4 KB
ID:	168745  
Attached Files
File Type: doc WeatherRoutingConfiguration.doc (27.5 KB, 27 views)
File Type: doc GFS20180425082002323.doc (263.8 KB, 45 views)
File Type: doc Boat.doc (227 Bytes, 35 views)
joseph79 is offline   Reply With Quote
Old 26-04-2018, 05:46   #24
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by joseph79 View Post
Thanks a lot Alexandra,
I hope that now I'm posting the correct files..
Kind regards
Joseph
Didier and Sean were right, your polar doesn't allow winds below 6kt, and this is why it fails.

I've modified your boat to use my polars instead: sail if wind 6 kts, motoring if below 6 kts. Add both of the polars to your boat, and your routing will succeed (and if you look closer, you'll notice the small squares on the route, which mean "sail changes", in this case going from sail to motor and backwards.

(you should have one polar per sail configuration -- motoring is just a special sail configuration where you don't have any sails --, in order to tell WR how your boat behaves on a given wind data)
Attached Thumbnails
Click image for larger version

Name:	routing-capture.jpg
Views:	56
Size:	380.9 KB
ID:	168750  
Attached Files
File Type: doc Pasiphae-polar.doc (330 Bytes, 22 views)
File Type: doc Pasiphae-polar-motor.doc (86 Bytes, 42 views)
stelian is offline   Reply With Quote
Old 26-04-2018, 06:02   #25
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by boat_alexandra View Post
If you want this and it is your intention, then just add a 0.0 boat speed for 0 wind speed column to the polar for all wind speed directions. Don't use "0" because this is interpreted as "not possible". I know this is also very confusing. It would allow you even to avoid sailing against the wind at a higher wind speed, or even dead down wind in light wind which might be very useful, so it's a feature as well.
Sean, I've tried to modifiy the polar in order to add a 0 column, but it still fails the routing. Am I doing something wrong ?
Attached Thumbnails
Click image for larger version

Name:	polar-modified.png
Views:	69
Size:	85.0 KB
ID:	168753  
stelian is offline   Reply With Quote
Old 26-04-2018, 08:21   #26
Registered User

Join Date: Apr 2018
Posts: 18
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by stelian View Post
Didier and Sean were right, your polar doesn't allow winds below 6kt, and this is why it fails.

I've modified your boat to use my polars instead: sail if wind 6 kts, motoring if below 6 kts. Add both of the polars to your boat, and your routing will succeed (and if you look closer, you'll notice the small squares on the route, which mean "sail changes", in this case going from sail to motor and backwards.

(you should have one polar per sail configuration -- motoring is just a special sail configuration where you don't have any sails --, in order to tell WR how your boat behaves on a given wind data)
Dear Stelian, thanks a lot for your promt support... with yout polar the Routing reached the destination, also with my polar with additional velocity values related to 4 Ktns and 2 Ktns.

So, now it's clear, the problem is the fact that my polar doesn't show values for wind lower than 6Ktns..

My question is why the software does not interpolate this values uo to 0..?

Just the last question.. I created a no go zone with draw plugin in order to avoid land on routing.. but when I compute the routing an arror message appears as indicated on the jpg file... Where I fails on the setup?

Thansk to all and sorry for this trivial questions... they are trivial but important for me..
Attached Thumbnails
Click image for larger version

Name:	NOgoZone.jpg
Views:	72
Size:	428.7 KB
ID:	168756  
Attached Files
File Type: doc Boat.doc (227 Bytes, 29 views)
File Type: doc WeatherRoutingConfiguration.doc (30.0 KB, 35 views)
joseph79 is offline   Reply With Quote
Old 26-04-2018, 09:02   #27
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by stelian View Post
Sean, I've tried to modifiy the polar in order to add a 0 column, but it still fails the routing. Am I doing something wrong ?
Try adding 0.0 for both min and max windspeed direction, so add 0.0 for 150 degrees. It should now work.

Blank means no data. It will try to interpolate from other values in the polar if possible, but it never tries to extrapolate, at least not yet.

Since 0 is the lowest wind speed it cannot use the higher wind speeds to interpolate, so you would need to at least define 0.0 at 0 degrees, and 0.0 at 150 degrees. Now it could interpolate the other values.

Quote:
Originally Posted by joseph79 View Post
My question is why the software does not interpolate this values uo to 0..?
Again, this is not interpolation but extrapolation. Unless you define that the boat goes zero speed at zero knots, it cannot interpolate values less that 6 knots for that polar.

Now maybe logically, we should make this adjustment, after all, most boats go no where with no wind, so if we are careful not to break polars that do have boat speeds at 0 wind (like motoring) it can work.

So what do you think? Assume zero boat speed at 0 knot of wind if the polar doesn't have a zero wind speed column? I think maybe it can work, but don't want to make a new problem.
Quote:
Just the last question.. I created a no go zone with draw plugin in order to avoid land on routing.. but when I compute the routing an arror message appears as indicated on the jpg file... Where I fails on the setup?
Sorry about this. I didn't test the draw plugin much. You would need to provide your ocpn draw plugin gpx file for the boundary so we can reproduce it.

What version of the draw plugin did you use.
Quote:
Thansk to all and sorry for this trivial questions... they are trivial but important for me..
Actually it's great you are asking. We can improve the software.
seandepagnier is offline   Reply With Quote
Old 26-04-2018, 09:32   #28
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by boat_alexandra View Post
Try adding 0.0 for both min and max windspeed direction, so add 0.0 for 150 degrees. It should now work.

Blank means no data. It will try to interpolate from other values in the polar if possible, but it never tries to extrapolate, at least not yet.

Since 0 is the lowest wind speed it cannot use the higher wind speeds to interpolate, so you would need to at least define 0.0 at 0 degrees, and 0.0 at 150 degrees. Now it could interpolate the other values.
I think something is wrong.

I've added 0.0 at 0 degrees and 0.0 at 150 degrees (see screenshot), then hit "Save", then hit "Save boat".

Route still fails.

And even worse, if I now open the polar dialog again, the entire "0" column is gone (see second screenshot).

(in case it matters, this is with latest WR git and latest OpenCPN git master)
Attached Thumbnails
Click image for larger version

Name:	poledit.png
Views:	64
Size:	84.0 KB
ID:	168760   Click image for larger version

Name:	poledit2.png
Views:	65
Size:	83.8 KB
ID:	168761  

stelian is offline   Reply With Quote
Old 26-04-2018, 09:35   #29
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: The Weather Routing stops before reaching the destination

Quote:
Originally Posted by joseph79 View Post
Just the last question.. I created a no go zone with draw plugin in order to avoid land on routing.. but when I compute the routing an arror message appears as indicated on the jpg file... Where I fails on the setup?
This really looks like a plugin version problem. Maybe ocpn_draw is too old ?

What is the version reported in the main opencpn configuration window, plugins tab ? Mine is 1.4 (well, compiled locally from git but I don't think it matters).
Attached Thumbnails
Click image for larger version

Name:	pluginversion.png
Views:	65
Size:	175.8 KB
ID:	168762  
stelian is offline   Reply With Quote
Old 26-04-2018, 16:43   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: The Weather Routing stops before reaching the destination

Have you updated ocpn_draw to current? Jon G recently updated it.
rgleason is offline   Reply With Quote
Reply

Tags
destination, weather


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
check lists before leaving, on anchorage, before storm at anchorage and on arrival kriskro Seamanship & Boat Handling 23 17-02-2018 17:29
Weather helm when reaching Ryban General Sailing Forum 42 27-07-2017 21:56
Weather Routing captden Atlantic & the Caribbean 12 02-11-2010 16:12
Weather Routing services TabbyCat Navigation 2 24-10-2008 11:59
Weather Routing Services GordMay The Library 0 28-09-2005 06:15

Advertise Here


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


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.