 |
|
30-03-2016, 14:57
|
#901
|
Registered User
Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 32
|
Re: Weather Routing
I have issues with WR plugin 1.82 in OCPN 4.2.1.
Every time I try to create a route I get an error: "grib plugin version not supported".
The grib plugin is version 4.1.
Is there a way to solve this?
__________________
__________________
|
|
|
30-03-2016, 15:11
|
#902
|
Registered User
Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,396
|
Re: Weather Routing
Yes, you have to modify https://github.com/seandepagnier/wea...ng_pi.cpp#L206 and recompile the weather routing plugin to use it with 4.2.1, which is not even a regular beta release. The official package for the WR plugin will be upgraded once the GRIB2 stuff settles down and gets to a generally releasable state.
Pavel
__________________
__________________
|
|
|
30-03-2016, 17:28
|
#903
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 10,424
|
Re: Weather Routing
Quote:
int grib_version = v[_T("GribVersionMajor")].AsInt() * 1000 + v[_T("GribVersionMinor")].AsInt();
if(grib_version < 2003 || grib_version > 3000) {
|
Grib_pi is version 4.1
Major =4
Minor =1
So 4*1000=4000 which is greater than 3000.
So you could change 3000 to 5000 and it would compile for Windows, but should I do it?
By the way, Climatology works.
__________________
|
|
|
07-05-2016, 12:39
|
#904
|
Registered User
Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 16
|
Re: Weather Routing
Hello guys,
Finally got a chance to spend some time with the new version. Much improved - well done!
Of course, always more...
1. Under View/Plot. The data values shown below the graph are for the position of the cursor on the graph, not for the conditions at a given point in time. This is a bit subtle, but very confusing. Suggestion: make the numbers shown apply to the specific time.
2. The issue of importing a separate current grib file (current as in water moving, not more recent) has been raised before. It would be great if this could be incorporated. This is the only plugin that would use it, so (I think) it can be a very localized feature without impacting the rest of OpenCPN.
3. The documentation now needs a bit of updating. For example, the use of different sail plans, switch plan rules, and optimized tacking is a mystery.
But, nevertheless, congratulations on a great job!
__________________
|
|
|
07-05-2016, 12:53
|
#905
|
Registered User
Join Date: Mar 2011
Location: Harlingen, The Netherlands
Boat: Woods Mira 35 Catamaran
Posts: 749
|
Re: Weather Routing
Little on the side.
How about using the current data which the tide/current plugin uses?
Current gribs are not available everywhere.
Maybe have the user choose between the two?
Would be awesome to include that feature! No idea how complicated that will be though.
www.ladyrover.jimdo.com
|
|
|
07-05-2016, 13:24
|
#906
|
Registered User
Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 16
|
Re: Weather Routing
Good point Franzisca, had not thought of that...
There could then be three choices: currents from grib, tidal data, or climatology. Also no clue how complicated this might be to implement...
__________________
|
|
|
08-05-2016, 11:53
|
#907
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 10,424
|
Re: Weather Routing
Mgh,
Can you please make this post into a Tracker item under the Weather_routing Project??
Tracker Register: http://willkamp.com/opencpn/flyspray...hp?do=register
Tracker Login: http://willkamp.com/opencpn/flyspray/
Quote:
Finally got a chance to spend some time with the new version. Much improved - well done!
1. Under View/Plot. The data values shown below the graph are for the position of the cursor on the graph, not for the conditions at a given point in time. This is a bit subtle, but very confusing. Suggestion: make the numbers shown apply to the specific time.
2. The issue of importing a separate current grib file (current as in water moving, not more recent) has been raised before. It would be great if this could be incorporated. This is the only plugin that would use it, so (I think) it can be a very localized feature without impacting the rest of OpenCPN.
3. The documentation now needs a bit of updating. For example, the use of different sail plans, switch plan rules, and optimized tacking is a mystery.
But, nevertheless, congratulations on a great job!
|
By the way, we could use some help with documentation. If you are computer savvy it is not too hard to give us a big hand with the User Documentation in particular Weather_Routing_pi
1. Register on Opencpn.org website and then login.
Edit the User Manual | Official OpenCPN Homepage
3. Edit
Edit the User Manual | Official OpenCPN Homepage
Thanks
__________________
|
|
|
08-05-2016, 15:09
|
#908
|
Registered User
Join Date: Jun 2015
Posts: 251
|
Re: Weather Routing
Quote:
Originally Posted by mgh
Hello guys,
2. The issue of importing a separate current grib file (current as in water moving, not more recent) has been raised before. It would be great if this could be incorporated. This is the only plugin that would use it, so (I think) it can be a very localized feature without impacting the rest of OpenCPN.
|
It's done with grib v2, you can now open multiple files with the grib plugin, in the dialog box use your OS key for selection multiple files, shift/crtl whatever.
If there's current data in grib, weather routing will use it.
__________________
|
|
|
08-05-2016, 16:02
|
#909
|
Registered User
Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 16
|
Re: Weather Routing
Rick,
Thanks for the instructions - I have registered and added item 1 (view/plot) to flyspray.
Re Item 2, I will test current again based on did-g's reply. I still think Franziska's idea of providing an option for use of tidal current data is a good one.
Re documentation, happy to try to help. Let me look into this, but would for sure need input re some of the functions that I don't understand yet.
__________________
|
|
|
08-05-2016, 17:34
|
#910
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 10,424
|
Re: Weather Routing
Did-g,
Thank you for letting us know, I did not realize this! I'll try it out, and can probably close two feature requests!
Quote:
It's done with grib v2, you can now open multiple files with the grib plugin, in the dialog box use your OS key for selection multiple files, shift/crtl whatever.
If there's current data in grib, weather routing will use it.
|
__________________
|
|
|
08-05-2016, 17:40
|
#911
|
Registered User
Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 16
|
Re: Weather Routing
Rick,
Please let me know if you are successful. I could not open two files at once (under Windows 7, with stock OCPN 4.2). It would only allow me to select one file (I dd try shift/ctrl options...).
__________________
|
|
|
08-05-2016, 18:37
|
#912
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 10,424
|
Re: Weather Routing
Yes, you can open two gribs. Click on file open and highlight the two files. Then open them. See attached. In my experience with weather_routing, if Grib_pi can handle it, weather_routing will see both the saildocs + current grib files!
This is great, now two Tracker tasks can be closed and we can do better routing & planning. - Added to User Docs, Grib_pi manual.
__________________
|
|
|
08-05-2016, 18:46
|
#913
|
Registered User
Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,396
|
Re: Weather Routing
Rick...
Did you actually test that the current weather_routing_pi is compatible with grib_pi and we won't have to patch it's version check again?
Pavel
__________________
|
|
|
09-05-2016, 01:02
|
#914
|
Registered User
Join Date: May 2011
Posts: 847
|
Re: Weather Routing
Quote:
Originally Posted by nohal
Rick...
Did you actually test that the current weather_routing_pi is compatible with grib_pi and we won't have to patch it's version check again?
Pavel
|
I did. It's not compatible.
Fails with GRIB plugin version not supported error
__________________
|
|
|
09-05-2016, 03:05
|
#915
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 10,424
|
Re: Weather Routing
No I did not check. Its the version checking. Can build for win tonight if that will help, but it will be 10 hours before I can do it
__________________
__________________
|
|
|
 |
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|