Cruisers Forum
 


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 18-02-2018, 13:00   #1396
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Weather Routing

Quote:
Originally Posted by stelian View Post
Ok, I will be coding something along these lines in the next days.
Never leave for tomorrow what you can do today, right ?

What do you think of this (wording, additional choices etc) ?
Attached Thumbnails
Click image for larger version

Name:	Capture du 2018-02-18 21-58-37.png
Views:	55
Size:	85.6 KB
ID:	164380  
stelian is offline   Reply With Quote
Old 18-02-2018, 13:33   #1397
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Weather Routing

A side question: since commit 12454d "Replace the time selection controls with wxTimePickerCtrl. Fixes #139" I can no longer open WeatherRouting.fbp in wxformbuilder, I get instead an error saying "Component for wxTimePickerCtrl not found! <visualeditor.cpp@745>"

My wxformbuilder is locally built from git master.

What sort of configuration or build option am I missing ? Google doesn't say anything obvious about this.
stelian is offline   Reply With Quote
Old 18-02-2018, 13:38   #1398
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,690
Images: 2
Re: Weather Routing

I think this wording would make me think that if I have created new boat.xml and polar files with unique names and had some configurations that I wanted to keep, that they will get overwritten. I don't believe that is the intent.

The intent is to add new example boat.xml and polars and configurations that will work "out of the box" and to properly configure the plugin so that it using the correct user programdata/opencpn/plugins/weatherouting/ (boats, polars, etc) directories that are writeable.

All new users of the plugin should accept this!
rgleason is offline   Reply With Quote
Old 18-02-2018, 13:45   #1399
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,690
Images: 2
Re: Weather Routing

Stelian, I think the choices are good.
Maybe, "Import new example configs, boats and polars." assuming the previous installation is working properly.
"Import default config, boat and polar files" for all new users or to reset the entire configuration.
rgleason is offline   Reply With Quote
Old 18-02-2018, 13:47   #1400
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,690
Images: 2
Re: Weather Routing

Sorry this is so involved.
rgleason is offline   Reply With Quote
Old 18-02-2018, 13:56   #1401
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,690
Images: 2
Re: Weather Routing

I suppose a third choice could be "Leave my config, boat and polar files alone." Where you must pick one of the three.
rgleason is offline   Reply With Quote
Old 18-02-2018, 13:56   #1402
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Weather Routing

Quote:
Originally Posted by rgleason View Post
I think this wording would make me think that if I have created new boat.xml and polar files with unique names and had some configurations that I wanted to keep, that they will get overwritten. I don't believe that is the intent.
You're correct. Feel free to suggest an alternative wording (I'm not a native English speaker after all).

Quote:
Originally Posted by rgleason View Post
The intent is to add new example boat.xml and polars and configurations that will work "out of the box"
New boat and polars who may be updated, and "example configurations" that will work out of the box

Quote:
Originally Posted by rgleason View Post
and to properly configure the plugin so that it using the correct user programdata/opencpn/plugins/weatherouting/ (boats, polars, etc) directories that are writeable.
This should be ok even if you choose CANCEL, because, if the boats or polars directory doesn't exist, the plugin will still copy the files to the correct place.

Quote:
Originally Posted by rgleason View Post
All new users of the plugin should accept this!
I could check the boxes by default if the plugin has never been used (since the introduction of the test, that's it). How's that ?
stelian is offline   Reply With Quote
Old 18-02-2018, 15:36   #1403
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,223
Re: Weather Routing

Quote:
Originally Posted by stelian View Post
A side question: since commit 12454d "Replace the time selection controls with wxTimePickerCtrl. Fixes #139" I can no longer open WeatherRouting.fbp in wxformbuilder, I get instead an error saying "Component for wxTimePickerCtrl not found! <visualeditor.cpp@745>"

My wxformbuilder is locally built from git master.

What sort of configuration or build option am I missing ? Google doesn't say anything obvious about this.
The latest wxFormbuilder master, including https://github.com/wxFormBuilder/wxFormBuilder/pull/351 should definitely work. It is what I used to edit that file. But building wxFormbuilder correctly may get tricky...
nohal is online now   Reply With Quote
Old 18-02-2018, 15:44   #1404
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Weather Routing

Quote:
Originally Posted by stelian View Post
Never leave for tomorrow what you can do today, right ?

What do you think of this (wording, additional choices etc) ?
Can I suggest the following:

A new version of the Weather Route plugin has been installed.

"Import new boats and polars" will overwrite your existing boat and polar configurations with newer data. If you have created your own polars and want to retain them, copy those polars to your desktop before selecting this option. You can copy them back to your polar folder after the update.

"Do not overwrite boats and polars" will not update boats and polars and you will be asked to choose again when OpenCPN is next launched.

O Import new boats and polars
O Do not overwrite boats and polars

Cancel OK
kevinvh is offline   Reply With Quote
Old 18-02-2018, 16:20   #1405
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,223
Re: Weather Routing

A little experiment to allow saving screen estate: https://github.com/seandepagnier/wea...ng_pi/pull/148
nohal is online now   Reply With Quote
Old 18-02-2018, 16:43   #1406
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Weather Routing

Quote:
Originally Posted by nohal View Post
I like that Pavel - almost as good as having a Window menu to select the preferred window on top. Are you fixing the column width format as well?
kevinvh is offline   Reply With Quote
Old 18-02-2018, 16:47   #1407
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,223
Re: Weather Routing

Quote:
Originally Posted by kevinvh View Post
Are you fixing the column width format as well?
No, this has nothing to do with column widths, they adjust automatically. And since https://github.com/seandepagnier/wea...9b279eb94eb95b differently than before, but automatically.
nohal is online now   Reply With Quote
Old 18-02-2018, 17:22   #1408
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,419
Re: Weather Routing

Quote:
Originally Posted by kevinvh View Post
Can I suggest the following:

A new version of the Weather Route plugin has been installed.

"Import new boats and polars" will overwrite your existing boat and polar configurations with newer data. If you have created your own polars and want to retain them, copy those polars to your desktop before selecting this option. You can copy them back to your polar folder after the update.

"Do not overwrite boats and polars" will not update boats and polars and you will be asked to choose again when OpenCPN is next launched.

O Import new boats and polars
O Do not overwrite boats and polars

Cancel OK
It's a nice idea, but I want to understand why this is such an issue.

It shouldn't overwrite any polars you made with unique names. If you edit a polar, but use the existing filename, then it may be overwritten. I would suggest users save their own polars in a unique place anyway.

I think it's more important we modify the existing polars to define speeds with wind speeds up to 60 knots (rather than only 20) Not sure how to do it, as many boats cannot beat against the wind in these conditions at all.
seandepagnier is offline   Reply With Quote
Old 19-02-2018, 02:06   #1409
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Weather Routing

Quote:
Originally Posted by nohal View Post
The latest wxFormbuilder master, including https://github.com/wxFormBuilder/wxFormBuilder/pull/351 should definitely work. It is what I used to edit that file. But building wxFormbuilder correctly may get tricky...
Ok, it works now. For some reason the build did generate a binary named "output/bin/wxformbuilder-30" instead of overwriting the old one called "output/bin/wxformbuilder"...
stelian is offline   Reply With Quote
Old 19-02-2018, 02:19   #1410
Registered User

Join Date: Mar 2017
Location: Brittany, France
Boat: First 18
Posts: 323
Re: Weather Routing

Quote:
Originally Posted by boat_alexandra View Post
It's a nice idea, but I want to understand why this is such an issue.

It shouldn't overwrite any polars you made with unique names.
And it doesn't. kevinvh wording is misleading indeed, how about:

A new version of the Weather Route plugin has been installed.

"Import new boats and polars" will overwrite the provided boats and polars with newer data. If you have modified this data by yourself, your modifications will be lost, so be sure to backup them. If you have added new polars or boats, they will be kept untouched.

"Import example configurations" will overwrite your route configurations with a sample set showing you how WeatherRouting works. Backup your existing configurations if you need.

Pressing "OK" will apply the selected changes, pressing "Cancel" will do nothing and you will be asked again on the next launch.

O Import new boats and polars
O Import example route configurations

(there are checkboxes not exclusive choices !)
stelian is offline   Reply With Quote
Reply

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

Advertise Here


All times are GMT -7. The time now is 05:19.


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.