Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-04-2017, 14:21   #106
Registered User

Join Date: Mar 2017
Location: Perros-Guirec, France
Boat: Dufour 31
Posts: 97
Re: Weather Routing Plug In - Does it Actually Work

Found it !

The problem is in the file contours/!?!home!?!stelian!?!.opencpn!?!plugins!?!weather_r outing!?!boat_dufour31.csv.contours

This file seems to be updated when you click on "save boat", but not when you only change the polar and click on "save" in the "spreadsheet" dialog.

So here are the content of the previous file which was causing the routing to fail:
52.000000, 20.003906, 52.000000, 0.003906, 150.000000, 0.003906, 150.003906, 19.875000,;

If I click on "save boat", the new 50 kts column in the polar gets taken into account, and the file contents becomes:
52.000000, 39.996094, 51.996094, 0.125000, 150.000000, 0.003906, 150.003906, 39.750000,;

And now the route calculation is OK.

I think a bug fix is needed:
- either the polar is not saved by the "spreadsheet" dialog, and it gets saved only when clicking "save boat" in the previous dialog
- or the "contours" file should be regenerated as soon as the "save" is clicked in the "spreadsheet" dialog.

I don't know what exactly the numbers in the contours file mean, so maybe this can cause other bugs except the one I've seen.
__________________

__________________
stelian is offline   Reply With Quote
Old 28-04-2017, 14:26   #107
Registered User

Join Date: Sep 2010
Posts: 134
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by rramsey View Post
As far as I can tell, the polar will fail if the wind in the Grib is stronger than the strongest wind in the polar. The supplied polars go up to 20kts so if winds are stronger it fails. Add lines for stronger winds.

A polar is made with a .pol text file table. By clicking "save boat" (which doesn't always seem to work) a .XML is created that points to the .pol file. A bit iffy though.

Also sometimes a configuration seems broken and cannot be made to work again. Delete it and start with a fresh configuration, works for me. This specifically if the computation succeeds but the route is totally weird.

Lastly I have discovered that "export" converts the weather route into a track. Convert the track into a route and all is great - waypoints and all. So kudos to the developer there - real easy to use. I export it to .gpx, airdrop it to my iPad where iNavx automatically picked it up and displays it. Cool!
Thanks for help! :-)

I have added a column with 25 & 30 kt and it helps.

Kubek
__________________

__________________
kubek is offline   Reply With Quote
Old 29-04-2017, 07:44   #108
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,790
Re: Weather Routing Plug In - Does it Actually Work

Hi,

Sorry for the obscure bug.

The contours complicate things a lot but they are needed to support multiple polars for different sail plans. This is very useful as you can see sail changes as well.


I will work on keeping the contours syncronized, if a polar file timestamp is newer than the contour file (cached calculations because it takes a while to compute with many polars) then it must be regenerated.
__________________
boat_alexandra is offline   Reply With Quote
Old 30-04-2017, 07:06   #109
Registered User

Join Date: Mar 2017
Location: Perros-Guirec, France
Boat: Dufour 31
Posts: 97
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by boat_alexandra View Post
I will work on keeping the contours syncronized, if a polar file timestamp is newer than the contour file (cached calculations because it takes a while to compute with many polars) then it must be regenerated.
This looks like a good solution indeed.

Something completly different : I noticed that the French translation needs some serious update (some strings are missing, in at least one place upwind / downwind are swaped etc). Before updating the texts, could you please regenerate the pot and the po files ?

(I tried to do it using 'make weather_routing-pot-update', then 'make weather_routing-po-update' but for some reason the french .po file I obtain does not contain the file references anymore (like #: src/StatisticsDialog.cpp:62), only the msdid/msgstr are present in the resulting file, in alphabetical order.)
__________________
stelian is offline   Reply With Quote
Old 08-05-2017, 14:49   #110
Registered User

Join Date: Dec 2016
Location: Ireland
Boat: B50
Posts: 3
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by rramsey View Post

Lastly I have discovered that "export" converts the weather route into a track. Convert the track into a route and all is great - waypoints and all. So kudos to the developer there - real easy to use. I export it to .gpx, airdrop it to my iPad where iNavx automatically picked it up and displays it. Cool!
This reminder me to submit this issue bug.

The Export works perfectly on my Linux machine but not on my MAC with MacOS where OpenCPN crashes with no warning. Currently running 4.6.1 on Sierra 10.12.4 but the problem was present also with OpenCPN 4.4.

Anyone has the same problem?

Regs
__________________
Lambay is offline   Reply With Quote
Old 09-05-2017, 03:08   #111
Registered User
 
rramsey's Avatar

Join Date: Apr 2017
Location: IJmuiden, NL
Boat: Beneteau Oceanis 500 Clipper
Posts: 30
Re: Weather Routing Plug In - Does it Actually Work

I had the same and got a solution from the developer that solves the problem:
Rob,

If you want to test the fix you can find an OSX version here:
https://github.com/ptulp/weather_rou...es/tag/v1.10.4

Peter
It then works like a charm.
__________________
rramsey is offline   Reply With Quote
Old 09-05-2017, 03:10   #112
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by Lambay View Post
This reminder me to submit this issue bug.

The Export works perfectly on my Linux machine but not on my MAC with MacOS where OpenCPN crashes with no warning. Currently running 4.6.1 on Sierra 10.12.4 but the problem was present also with OpenCPN 4.4.

Anyone has the same problem?

Regs
The problem was posted here:
4.6.1 crashing with weather routing

The problem is fixed in the source, but until a new release is issued you can test the fix here:
https://github.com/ptulp/weather_rou...es/tag/v1.10.4

Peter
__________________
ptulp is offline   Reply With Quote
Old 14-05-2017, 06:33   #113
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 28
Re: Weather Routing Plug In - Does it Actually Work

Hi,

I am not trying to hijack this thread, but I think my issue fits in this thread.

Last year I used the WR plugin with success. I did not have a polar diagram for my boat, because there aren't any.
But there was a way to get around this by filling in different kinds of characteristics and measures of the boat. Perhaps this was not very accurate, but it worked for me.

In the recent WR plugin this possibility seems to have gone. You got to have a polar diagram.
I tried to create a polar diagram in OCPN with the Polar-plugin, but it is not complete yet.
Is there still a way to use the WR plugin without a polar diagram?

Peter
__________________
titaantje is offline   Reply With Quote
Old 14-05-2017, 07:46   #114
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 28
Re: Weather Routing Plug In - Does it Actually Work

Eventually I found the answer to my question myself.
__________________
titaantje is offline   Reply With Quote
Old 15-05-2017, 07:56   #115
Marine Service Provider

Join Date: Feb 2017
Posts: 9
Re: Weather Routing Plug In - Does it Actually Work

About creating a nearly accurate polar for your boat, there are existing solution for free or to be paid a bit

1. With Squid desktop, you receive some polar files for more than 50 boats ... may be yours in the list => Squid - The Best Weather Data Provider

2. There is a mobile app that can produce a polar based on your boat spec : iPolar .... This module is integrated into Adrena

3. look in forums and google about a polar file for your sailboat.


Anyway, do not underestimate the added value of an accurate polar for your boat as it is one of the essential point of success of weather routing

fair winds
__________________

__________________
mdelatte is offline   Reply With Quote
Reply

Tags
plug, 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
Changes on the Plug-in Download page & new plug-in packages nohal OpenCPN 8 04-07-2014 08:15
Composting toilets, do they actually work? Orrjames General Sailing Forum 33 19-05-2013 17:30
Does This Actually Work ? Cheechako Navigation 4 03-05-2012 06:56



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:53.


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.