Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-02-2017, 13:04   #61
Registered User

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

Hi! I don't have a Polar file nor I know how to make one. Could anyone please send me an example?

thxs.

Duck.-
__________________

__________________
duckpaint is offline   Reply With Quote
Old 05-02-2017, 13:09   #62
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,314
Re: Weather Routing Plug In - Does it Actually Work

The weather_routing plugin has many polar files that can be used.
What OS are you using?
__________________

__________________
rgleason is online now   Reply With Quote
Old 06-02-2017, 15:21   #63
Registered User

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

Quote:
Originally Posted by rgleason View Post
The weather_routing plugin has many polar files that can be used.
What OS are you using?
I'm using Mac OSx. The directory doesn't have any .xml or polar files.
__________________
duckpaint is offline   Reply With Quote
Old 06-02-2017, 16:04   #64
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,314
Re: Weather Routing Plug In - Does it Actually Work

In windows the polar files are found under
C:\ProgramData\opencpn\plugins\weather_routing\Pol ars

Also for Opencpn4.4 I found
C:\Program Files (x86)\OpenCPN 4.4.0\plugins\weather_routing_pi\data\polars
and there were lots of them.

However Sean was changing things and I don't know if the installation has changed.

I have absolutely no idea how Mac OS works. Where is your User data kept?
Do some searches. on 60ft_mono.pol or Alberg35.pol
__________________
rgleason is online now   Reply With Quote
Old 07-02-2017, 04:03   #65
Registered User

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

Quote:
Originally Posted by duckpaint View Post
I'm using Mac OSx. The directory doesn't have any .xml or polar files.
On OSX the polars for weatherrouting are here:

Applications/OpenCPN/Contents/SharedSupport/plugins/weather_routing_pi/data/polars

Peter
__________________
ptulp is offline   Reply With Quote
Old 07-02-2017, 08:46   #66
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by ptulp View Post
On OSX the polars for weatherrouting are here:

Applications/OpenCPN/Contents/SharedSupport/plugins/weather_routing_pi/data/polars

Peter
Which is absolutely the wrong place for such files done by developers not knowing the Apple Mac OS.
Same as any other OS such things should never stored in Application folder but in the user Preferences folder. The correct place in macOS is:
~/Library/Preferences/opencpn/plugins/Plugin-Name/

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 07-02-2017, 16:24   #67
Registered User

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

Quote:
Originally Posted by CarCode View Post
Which is absolutely the wrong place for such files done by developers not knowing the Apple Mac OS.
Same as any other OS such things should never stored in Application folder but in the user Preferences folder. The correct place in macOS is:
~/Library/Preferences/opencpn/plugins/Plugin-Name/

Gerhard
Bingo! The polars were found where Peter said, but the problem was that the Application was looking for them where Gerhard said ;-)

Now, the problem is that the polar files are not recognized. I tried with a lot of them without any luck :-(

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2017-02-07 at 20.08.23.png
Views:	28
Size:	103.4 KB
ID:	140873  
__________________
duckpaint is offline   Reply With Quote
Old 07-02-2017, 17:38   #68
Registered User
 
boat_alexandra's Avatar

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

Not sure why the polars failed to load... Can you open them with a text editor? Did any polar work?

as for the polar location... so the open polar went to ~/Library/Preferences/opencpn/plugins/Plugin-Name/ by default?


It's difficult to deal with mac specific problems as I don't own one, but we can try.
__________________
boat_alexandra is offline   Reply With Quote
Old 08-02-2017, 06:39   #69
Registered User

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

Yes, the files are ok, I was able to open them in a text editor and they are just fine. It seems that something is happening within the plugin, that it doesn't recognize them as valid polar files.
__________________
duckpaint is offline   Reply With Quote
Old 08-02-2017, 07:39   #70
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by boat_alexandra View Post
Not sure why the polars failed to load... Can you open them with a text editor? Did any polar work?

as for the polar location... so the open polar went to ~/Library/Preferences/opencpn/plugins/Plugin-Name/ by default?


It's difficult to deal with mac specific problems as I don't own one, but we can try.
Yes, that is the correct place in a Mac OS for such files.
The problem is the lack of some guidance for plugin developers. So each developer is coding the best way he knows. The resulting plugins all have a different look-and-feel therefore. Very chaotic and unprofessional...

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 08-02-2017, 07:47   #71
Registered User

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

I've installed OpenCPN and weather Routing Plugin in a Windows PC (at work) and I have the same problem with the polar. I think that the plugin is expecting an XML file and the polar files are .txt and .pol

Can anybody please send me the polar file that he/she is using? It would be very useful to have them as an example.

Many many thxs! -

Duck.
Attached Thumbnails
Click image for larger version

Name:	polar.jpg
Views:	32
Size:	39.6 KB
ID:	140889  
__________________
duckpaint is offline   Reply With Quote
Old 08-02-2017, 16:14   #72
Registered User
 
boat_alexandra's Avatar

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

There are a few files:

WeatherRoutingConfiguration.xml

This defines the configurations and routes etc... it may refer to various boat.xml files for each configuration.

Boat.xml

This defines an individual boat, it points to at least one polar file, but there may be
several polars, one for each sail plan.

You are trying to open the polar file as a boat. Instead you should edit the boat and add the polar. What version of the plugin do you have?
__________________
boat_alexandra is offline   Reply With Quote
Old 09-02-2017, 06:25   #73
Registered User

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

Quote:
Originally Posted by CarCode View Post
Which is absolutely the wrong place for such files done by developers not knowing the Apple Mac OS.
Same as any other OS such things should never stored in Application folder but in the user Preferences folder. The correct place in macOS is:
~/Library/Preferences/opencpn/plugins/Plugin-Name/

Gerhard
Gerhard,

Do you know a way how we can store the files in the users Library directory with the Packages program?. I can't find a way how to do that.
Or is there another program that can build a PKG where the files can be put in the users directory?

Thanks,
Peter
__________________
ptulp is offline   Reply With Quote
Old 09-02-2017, 06:35   #74
Registered User

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

Quote:
Originally Posted by boat_alexandra View Post
There are a few files:

WeatherRoutingConfiguration.xml

This defines the configurations and routes etc... it may refer to various boat.xml files for each configuration.

Boat.xml

This defines an individual boat, it points to at least one polar file, but there may be
several polars, one for each sail plan.

You are trying to open the polar file as a boat. Instead you should edit the boat and add the polar. What version of the plugin do you have?
Bingo! it worked! wow, I can't believe it. It is really difficult! It would be very usefull to have a Manual or some help in order to get it going! (If you use the help menu, it redirects to a URL that does not exist)

I will try now to use the polars for my own boat (I disagree that you may have different polars for the same boat, the polars from the ORC certificate are the maximum speed for each wind/angle combination, assuming that you made the necessary changes in your sails)

Regards.

Duck.-
__________________
duckpaint is offline   Reply With Quote
Old 09-02-2017, 07:24   #75
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Weather Routing Plug In - Does it Actually Work

Quote:
Originally Posted by ptulp View Post
Gerhard,

Do you know a way how we can store the files in the users Library directory with the Packages program?. I can't find a way how to do that.
Or is there another program that can build a PKG where the files can be put in the users directory?

Thanks,
Peter
Years ago I have pointed the developers to:
WhiteBox - Packages
and most of them used it for their plugins however as a script version.
I use the gui version creating a project with 2 packages, one for the application and one for the files in the user library. Both compile to one installer file with the Packages software. No problem to install this way a complete Mac version of OpenCPN with all resonable settings, plugins and so on. So even a newcomer to Mac OSX is able to install it.

Because I'm not a scripting kiddy but a gui guy I also dont't use cmake and such things but Xcode. A Mac is better using a gui, a mouse or even speech (Siri is helping you) nowadays.

Gerhard
__________________

__________________
CarCode 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 22:55.


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.