Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-03-2016, 14:57   #901
Registered User
 
titaantje's Avatar

Join Date: Jan 2012
Location: Netherlands
Boat: North Beach 24
Posts: 23
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?
__________________

__________________
titaantje is offline   Reply With Quote
Old 30-03-2016, 15:11   #902
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
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
__________________

__________________
nohal is offline   Reply With Quote
Old 30-03-2016, 17:28   #903
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
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.
__________________
rgleason is offline   Reply With Quote
Old 07-05-2016, 12:39   #904
mgh
Registered User

Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 14
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!
__________________
mgh is offline   Reply With Quote
Old 07-05-2016, 12:53   #905
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Harlingen, The Netherlands
Boat: Woods Mira 35 Catamaran
Posts: 506
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
Franziska is offline   Reply With Quote
Old 07-05-2016, 13:24   #906
mgh
Registered User

Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 14
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...
__________________
mgh is offline   Reply With Quote
Old 08-05-2016, 11:53   #907
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
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
__________________
rgleason is offline   Reply With Quote
Old 08-05-2016, 15:09   #908
Registered User

Join Date: Jun 2015
Posts: 133
Re: Weather Routing

Quote:
Originally Posted by mgh View Post
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.
__________________
did-g is offline   Reply With Quote
Old 08-05-2016, 16:02   #909
mgh
Registered User

Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 14
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.
__________________
mgh is offline   Reply With Quote
Old 08-05-2016, 17:34   #910
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
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.
__________________
rgleason is offline   Reply With Quote
Old 08-05-2016, 17:40   #911
mgh
Registered User

Join Date: Feb 2015
Location: Boston area, MA USA
Posts: 14
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...).
__________________
mgh is offline   Reply With Quote
Old 08-05-2016, 18:37   #912
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
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.
Attached Thumbnails
Click image for larger version

Name:	Saildocs+Current.jpg
Views:	48
Size:	93.3 KB
ID:	123932  
__________________
rgleason is offline   Reply With Quote
Old 08-05-2016, 18:46   #913
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
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
__________________
nohal is offline   Reply With Quote
Old 09-05-2016, 01:02   #914
Registered User

Join Date: May 2011
Posts: 847
Re: Weather Routing

Quote:
Originally Posted by nohal View Post
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
__________________
Littlechay is offline   Reply With Quote
Old 09-05-2016, 03:05   #915
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,007
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
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
paracelle, 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
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 Revelations 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


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:26.


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.