Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-05-2016, 04:38   #916
Registered User

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

Quote:
Originally Posted by rgleason View Post
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
Hi

It's not only the version checking, the new grib record format is really incompatible with weather routing, you have to copy and paste GribRecord.cpp and GribRecord.h from grib plugin.

Anyway I think Weather Routing is still getting grib current wrong (it adds when it should subtract current vectors).

Until Sean is back I'll try to publish a modified version on github.
__________________

__________________
did-g is offline   Reply With Quote
Old 09-05-2016, 05:48   #917
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: Weather Routing

Rick...
You don't have to build anything, ever, we need testing of *released* versions - Exactly what Littlechay did.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 09-05-2016, 06:31   #918
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Well, Pavel, I did build it, just now and tested it, the plugin runs, but it will not do routing with two gribs (saildocs+current), probably wx-routing is confused by the overlapping grib+current files.

Quote:
weather_routing_pi.cpp line 206
static bool shown_warnings;
if(!shown_warnings) {
shown_warnings = true;

int grib_version = v[_T("GribVersionMajor")].AsInt() * 1000 + v[_T("GribVersionMinor")].AsInt();
if(grib_version < 2003 || grib_version > 3000) {
wxMessageDialog mdlg(m_parent_window,
_("Grib plugin version not supported."),
_("Weather Routing"), wxOK | wxICON_WARNING);
mdlg.ShowModal();
}
}

GribVersionMajor=4 and GribVersionMinor=1 so the number is 4001
Therefore line 206 weather_routing_pi.cpp "3000" should change to "5000"
Opencpn v4.2.1706 hangs up (sometime black screen with menus) and round blue processing circle, and I have to restart. Also the last routing is wiped off the configuration file when O hangs.

See screenshots below. I can upload the files I used later, and I can mess with it after I get boot top painted and ready to splash. Pavel will probably have it working by then though!
Attached Thumbnails
Click image for larger version

Name:	Wx-Route-Baltic-Grib+Current.jpg
Views:	64
Size:	79.7 KB
ID:	123949   Click image for larger version

Name:	Wx-Route-Gitb+Current-2ndTime.jpg
Views:	61
Size:	62.7 KB
ID:	123950  

Click image for larger version

Name:	Wx-Route-v4.2.1706-Black.jpg
Views:	62
Size:	31.1 KB
ID:	123951  
__________________
rgleason is online now   Reply With Quote
Old 09-05-2016, 06:43   #919
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,556
Re: Weather Routing

Rick,

Can you simply concatenate the two grib files into one single file and load that with the grib plugin?
__________________
boat_alexandra is offline   Reply With Quote
Old 09-05-2016, 06:52   #920
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Sean! You're on line. Welcome back! Good to hear from you. What port? = I' ll try concatinate tonight. We have first good day to paint in a week.
__________________
rgleason is online now   Reply With Quote
Old 10-05-2016, 05:47   #921
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Sean, I built Pavel's version which you merged 21 hours later.
Wx-route still has issues. It's pretty basic, can't run a simple Saildocs GFS routing, O fails. See
https://github.com/seandepagnier/wea...ting_pi/issues

Sorry, its not fixed yet.
__________________
rgleason is online now   Reply With Quote
Old 25-05-2016, 23:16   #922
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Sean, I was going to try to compile a new version of wx-routing that supports grib2, but I think I read thatyou are working on it. Should I wait?
__________________
rgleason is online now   Reply With Quote
Old 07-06-2016, 12:52   #923
Registered User

Join Date: Jan 2016
Posts: 3
Re: Weather Routing

Hello, sorry if these questions are already covered somewhere on these 62 pages, but...

1. I try to make a route from Falmouth to LasPalmas with climatology. It ony gives state:failed on configurations window. Any advice on how to make this work?

2. Some difficulty to make sensible polars. Sofar, i just added boat data, pressed "compute" so it gives drag estimates, and slided "Eta" somewhere to 0.01 so that 15 knots gives 6 knots close hauled and 8kn downwind. Is this anywhere on the right track?
Is there "instruction manual" for editing boat.xml somewhere yet? opencpn man page doesn't seem to address this yet.

Cheers, JCF
__________________
JCFlander is offline   Reply With Quote
Old 07-06-2016, 15:39   #924
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

JCflander, OS ? OpenCPN version ? Weather_routing version ?.

I am unable at present to make this work with 4.2.0 upwards due to WxRouting problems & bugs.

I also tried an earlier version 4.0 but I believe the 3.2 version of climatology does not work with it as I get errors.
I believe there should be a 4.0 version of climatology.

It should work.
__________________
rgleason is online now   Reply With Quote
Old 08-06-2016, 05:03   #925
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 199
Re: Weather Routing

I have the same problem with the current being in a separate Grib file.

But sorry guys, manually concatenating Grib files each time is worth a trial, but not a solution.

Despite the fact that it exludes the majority of all windows users (due to the lack of shell command abilities like cat grib_a grib_b > grib_c) I wonder if weather routing would handle the concatenated file correctly if both gribs come in different zip file formats ... ?
Didn't try that yet ...

I'd love to see an option to load a second grib file, which is handled (e.g.) with priority B in case of concurrent data sets ...

Thomas
__________________
tom_BigSpeedy is online now   Reply With Quote
Old 08-06-2016, 06:08   #926
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Thomas, I am finding that Sean's new Weather-Routing version 1.10 which is built for Opencpn v4.2.1 is failing both Climatology and Grib in the Windows version.

I have been trying to run the Debug version in MSVC++ with Grib_pi and unfortunately it fails but no messages except failed. I think I need to put breaks in somewhere to determine what is happening, but I don't know where...

Are you using Linux or Windows? If I were to put a built version of Sean's current weather-routing up on file thingie, could you test it? I am hoping to find a Windows user to confirm my findings.
__________________
rgleason is online now   Reply With Quote
Old 08-06-2016, 07:52   #927
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

After trying to get Sean's recent changes to weather-routing_pi working for OpenCPN v4.2.1 with little success in Windows10,
I thought I'd try Pavel's fork, which is behind, just to find out if I am not crazy. It's very nice to find this plugin works for me in v4.2.0 for both Gribs and Climatology.
Attached are some screenshots.
Falmouth to LasPalmas 6/8, today 4 days 2 hours Climatology, 4 days 9 hours recent grib. This was using a very fast boat polar 60ft_Multi_3.pol

I am going to upload it to File Thingie for others to use in OpenCPN version 4.2.0 until Sean's gets running.
Attached Thumbnails
Click image for larger version

Name:	Wx-Route-1.83-Nohal-fork-Ov4.2.0-Falmouth-LasPalmas-Grib.jpg
Views:	39
Size:	93.3 KB
ID:	125773   Click image for larger version

Name:	Wx-Route-1.83-Nohal-fork-Ov4.2.0-Falmouth-LasPalmas-Clim.jpg
Views:	49
Size:	104.2 KB
ID:	125774  

__________________
rgleason is online now   Reply With Quote
Old 08-06-2016, 10:43   #928
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,828
Re: Weather Routing

Git fetched and built weather_routing_pi from Sean's repos branch:master
https://github.com/seandepagnier/wea...7d3fd55518b3dc

In OpenCPN v4.2.1 with Win10 Tried it with the same grib file and climatology. Same setup and it failed for both Grib and Climatology.
Attached Thumbnails
Click image for larger version

Name:	wx-rte-Sean-unnamed-v4.2.1-fail.jpg
Views:	33
Size:	70.3 KB
ID:	125781  
__________________
rgleason is online now   Reply With Quote
Old 08-06-2016, 11:37   #929
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 199
Re: Weather Routing

Quote:
Originally Posted by rgleason View Post
Are you using Linux or Windows? If I were to put a built version of Sean's current weather-routing up on file thingie, could you test it? I am hoping to find a Windows user to confirm my findings.
Rick,

I just compiled latest sources from weather routing in Win7 64 bit, wxWidgets 3 and VSC 13

I don't get it running with an existing route from my race (which did work then).
I also tried downloading a new zygrib file and set time to "now".

I only get "Failed", nothing more.

I do not use Climatatology as backup source.

Thomas

PS : I backed up the old dll, which I will restore now

Update :
Just to confirm, I just tested my "restore" sucessfully.
The "old plugin version" I compiled with sources from May 27th does calculate exactly the same route with the same grib correctly.
__________________
tom_BigSpeedy is online now   Reply With Quote
Old 08-06-2016, 13:29   #930
Registered User

Join Date: Jul 2015
Location: Plano, Texas
Posts: 66
Re: Weather Routing

Quote:
Originally Posted by rgleason View Post
Git fetched and built weather_routing_pi from Sean's repos branch:master
https://github.com/seandepagnier/wea...7d3fd55518b3dc

In OpenCPN v4.2.1 with Win10 Tried it with the same grib file and climatology. Same setup and it failed for both Grib and Climatology.
Rick,
Your not crazy. I couldn't get the github version to work either. It either hangs or says "fail" with no further explanation. I was waiting on Jon to get us a new version before I tried again.

Regards,
Doug
__________________

__________________
dwoodall 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 16:57
SSB Weather info VirtualVagabond General Sailing Forum 8 15-01-2016 09:40
Optimum SSB/satphone combo setup tulsag Marine Electronics 33 30-04-2012 08:19
MaxSea Weather Routing Revelations Weather | Gear, Reports and Resources 12 10-10-2011 02:08
Sea Myths and Sayings Mariners The Sailor's Confessional 5 29-09-2011 14: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 08:32.


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.