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 03-05-2014, 17:54   #466
Registered User
 
rgleason's Avatar

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

Sean Thanks very much will try it in the morning!! Oh boy.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 04-05-2014, 06:24   #467
Registered User
 
rgleason's Avatar

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

I tried it several times using Standalone setup with the attached results.

The full output file from cmake --build . --config release was cut off probably due to memory use. I can attach an output file from an attempt to build with MSVC if that will help...(it has the full ouput, but may be somewhat different because of the cmake files, you'd be the one to advise.)
Attached Files
File Type: doc Standalone compile Wx-Routing_cmake--build output.doc (36.9 KB, 58 views)
rgleason is offline   Reply With Quote
Old 04-05-2014, 06:32   #468
Registered User
 
rgleason's Avatar

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

Standalone WMM_pi has compiled using MSVC command line and does run in Opencpn!
rgleason is offline   Reply With Quote
Old 06-05-2014, 04:25   #469
Registered User
 
rgleason's Avatar

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

Today I tried standalone compile of Weather_Routing using opencpn.lib from version 3.3.1618 The results are attached, fewer errors but still too many.

Should I be using opencpn.lib from the Optimized version????

It seems like tinyxml.h does not have 1401 lines!! So something might be wrong with that file?
rgleason is offline   Reply With Quote
Old 06-05-2014, 04:41   #470
Registered User
 
rgleason's Avatar

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

Ok I got on sourceforge for tinyxml and the tinyxml.h file is 64kb instead of 9kb and it has line 1401 plus many others. Copied that to my wx_route src/tinyxml/ dir and the number of errors was reduced. I downloaded tinyxml 2.6.2 I believe. I hope that is correct. It is the most current.
rgleason is offline   Reply With Quote
Old 06-05-2014, 04:56   #471
Registered User
 
rgleason's Avatar

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

Ok by copying over using Sourceforge tinyxml v2.6.2 tinyxml.h and tinyxmlparser.cpp files to the src/tinyxml/ directory, I go it to compile successfully.

There are 30 unreferenced local variable errors. What are those and is that something you should know about?

I will test separately. Attached are the two tinyxml files used, plus output.doc
Attached Files
File Type: doc tinyxml.h.doc (63.3 KB, 46 views)
File Type: doc tinyxmlparser.cpp.doc (36.4 KB, 49 views)
File Type: doc weather_routing_pi_Successful_30_unreferenced_local_vars.doc (16.5 KB, 68 views)
rgleason is offline   Reply With Quote
Old 06-05-2014, 05:24   #472
Registered User
 
rgleason's Avatar

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

Ok, after copying the compiled (attached) weather_routing_pi.dll to plugins directory for compiled Opencpn 3.3.1618 I ran a recent grib with the compiled release grib_pi v3.3.1608) and Dashboard release v3.3.1608.

The message after "Compute" is "Grib Failed"
Sean please explain what this means, so we can get it fixed.
Does it have something to do with the "Moving Grib" implementation in Grib_pi? Should we test earlier grib_pi versions to see if one will work with the current weather_routing_pi?

Thanks

Tried to attach grib_pi.dll and weather_routing_pi.dll and the grib used, but they are too large. Please see the Opencpn 3.3.1618 directory on the Opencpn Beta File thingie here: File Thingie 2.5.7 rguser, rgpass I will upload shortly. (take doc off)
rgleason is offline   Reply With Quote
Old 06-05-2014, 05:44   #473
Registered User
 
rgleason's Avatar

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

It is VERY nice to have it actually compile. It actually feels like we are getting somewhere, but I do wish it did not result in "Grib Failure"!

Matt, Neptunes Gear also noticed and asked about this.
rgleason is offline   Reply With Quote
Old 06-05-2014, 12:06   #474
Registered User
 
rgleason's Avatar

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

I just tried a Grib without a moving vector, and with only WIND. It still fails with "Grib Failure"
rgleason is offline   Reply With Quote
Old 06-05-2014, 16:09   #475
Registered User
 
rgleason's Avatar

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

By going back to previous gribs, I think we have found somewhat of an answer.

grib_win32_pi17_v220_ov331419_pi.dll Version 2.2 Lists 4 basic data types and it works.

grib_win32_pi_v22_ov331606_pi.dll.doc Versions 2.2 Lists 12 basic data types and does not work.

grib_win32_pi_v22_ov331618_pi.dll.doc Version 2.2 Lists 12 basic data types and does not work.

First I think we definitely need to have successive version numbers or even sub versions to keep the straight when loaded in program.

Perhaps Ptizef can make the huge enhancements to Grib_pi be compatible with weather_routing with this information? Weather_routing just uses wind and wave data basically, maybe it has something to do with record order or something. Some discussion with Sean would help I think, but we know the problem is associated with the new data types.

You will have to go to Opencpn Beta File Thing
File Thingie 2.5.7
use rguser rgpass
because the file grib_win32_pi17_v220_ov331419_pi.dll is too big.
You want Folder 3.3.1419 Plugins-Win-Opencpn

I do hope this can be fixed easily.
rgleason is offline   Reply With Quote
Old 06-05-2014, 16:55   #476
Registered User

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

Interesting that copying sourceforge tinyxml works. Good job.


I already explained that pitzef inadvertently broke weather routing, but I fixed the problem in the optimum branch, so you can use the grib plugin from there.
seandepagnier is offline   Reply With Quote
Old 06-05-2014, 17:03   #477
Registered User
 
rgleason's Avatar

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

Thanks Sean, I will get that running too!

Summary: For now because of the incompatibility between current v3331618 grib_pi and current weather_routing you can do the following:
Opencpn 3.3.1618 (beta) download or compile
Weather_routing_pi for 3.3.1618 (found on Opencpn Beta File Thing (see above)
Grib_pi earlier version from 3.3.1418 (also found on Opencpn Beta File Thing)

Sean would like to see us using Optimized O'cpn where he has a working combo for weather_routing all set up.
rgleason is offline   Reply With Quote
Old 07-05-2014, 02:24   #478
Registered User
 
spiv's Avatar

Join Date: Jun 2008
Location: Circumnavigating, currently in Turkey
Boat: Ex Salina 48, now Lagoon 380
Posts: 402
Send a message via Skype™ to spiv
Re: Weather Routing

Hello there,

Many thanks for working on this plugin and reading and replying to my message.

I'd like to test this useful plugin.

Any one there that can give me a link to the latest release and a quick readme on how to install it on a win8 64 laptop?
__________________
Keep smiling
Stefano - WhatsApp: +61478916411
Web: https://learn2sailcats.com/
spiv is offline   Reply With Quote
Old 07-05-2014, 05:57   #479
Registered User
 
rgleason's Avatar

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

Download OpenCPN | Official OpenCPN Homepage

and Opencpn Beta File Thing for the plugins (as above)
Please see the Opencpn 3.3.1618 directory on the Opencpn Beta File thingie here: Opencpn Beta File Thing rguser, rgpass (Take doc off)

You need the following:
Opencpn 3.3.1618 (beta) download or compile
Weather_routing_pi for 3.3.1618 (found on Opencpn Beta File Thing (see above)
Grib_pi earlier version from 3.3.1418 (also found on Opencpn Beta File Thing)
Take the "doc" off these are dlls.

See Getting Started | Official OpenCPN Homepage
Opencpn is 32 bit so it installs in Program Files (x86)

Put the plugins in the plugin directory.
You'll need charts download from Noaa or look at these sources
http://opencpn.org/ocpn/All_About_Charts
Good luck.
rgleason is offline   Reply With Quote
Old 07-05-2014, 10:51   #480
Registered User
 
spiv's Avatar

Join Date: Jun 2008
Location: Circumnavigating, currently in Turkey
Boat: Ex Salina 48, now Lagoon 380
Posts: 402
Send a message via Skype™ to spiv
Re: Weather Routing

Thank you Rgleason,

I am an OCPN old time user (5y) and already using the latest version.
I will download and install the plugin and get back to you with results.

BTW, the latest Beta on the site is 3.3.1606 ???
__________________
Keep smiling
Stefano - WhatsApp: +61478916411
Web: https://learn2sailcats.com/
spiv 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 07:55.


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.