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 13-06-2014, 02:37   #91
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Sean Depagnier's Plugins

Sean,
I compiled the latest climatology under Win7,with VC10 and wxWidgetst 2.8.12.
I'm using CM93.2
With OpenGL on (just the tick set, nothing else done in the extra options ) climatology crashes O:
It seems to load all right. Then I move the mouse on the climatology Window to select the month and
set the tick at "Wind". This still works fine, but as soon as I move the mouse onto the chart
(leaving the boundaries of the climatology window) O crashes.
This is reproducable.
With OpenGL turned off, I get a message that the overlay may can only be displayed with OpenGL on,
but O doesn't crash (and wind data for the cursor position on the map is shown in the climatology window).
BR,
Tom
tom_BigSpeedy is offline   Reply With Quote
Old 13-06-2014, 02:38   #92
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Sean Depagnier's Plugins

Sean,
I have a question concerning the "current" files for climatology. I'd like to enhance them manually
to add the static currents of the area I'm sailing in (Adriatic sea). There quite a bit of constant current
which is not based on tidal activity. But it's not included in the distributed current files.
There exist monthly maps over the year (as PDF), and I'd like to extract the data and add the info to the "current" files.
Manually, if necessary.

The background is in fact, that I'd like to test and use the weather routing module, but not having any current info,
"weather routing" would have sent me directly into the counter current during that race last week.
Which I obviously didn't follow ...
How are these files compressed and do you have a description of the file format ?
I guess you have, as you're "reading" them :-)
Any help (even an internet link) is appreciated.
BR,
Tom
tom_BigSpeedy is offline   Reply With Quote
Old 13-06-2014, 04:38   #93
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Developer's Handbook
Plugin File Naming Format
Different Plugin API Versions | Official OpenCPN Homepage

FYI
Quote:
Plugin File Naming Format
lib_[PluginName]_[OSdesignation]_pi[Plugin-API]_v[VersionNumber]_pi.dll
eg: lib_aisradar_win32_pi18_v

"lib" is the designation for a released plugin. Beta Versions of plugins will not have the [LIB] prefix.
"PluginName" is the name of the plugin.
"OSdesignation" is Operating system designation "win32" or "win64", etc.
"Plugin-API" is the Plugin API number required by this PlugIn "18", 19", "10", etc. which also equates to designated main Ocpn program API numbers. See chart below.
"VersionNumber" is the private version number of the PlugIn itself, controlled by the PlugIn developer.
".dll" Means that the plugin is a Windows version of the plugin, probably compiled using MSVC
Since these plugins are not yet officially released, we have not been using the "lib" -This is up to Sean and he needs your help testing!! Thanks. Also I have been adding _ov331731 [opencpn version currently used] because I've found it helpful when going back.
rgleason is offline   Reply With Quote
Old 13-06-2014, 04:47   #94
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

It might be very useful to have the NSIS Installer Packager command "Cpack" do the renaming work if possible. A command something like:
Quote:
Cpack --rename climatology_win32_pi-0.9_v0.8_ov331731_pi
would make the installer exe and rename both the dll and the exe installer accordingly.
rgleason is offline   Reply With Quote
Old 13-06-2014, 12:51   #95
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

WeatherRouting_pi has changed.

Go to Opencpn Beta File Thing
Opencpn Beta File Thingie 2.5.7
use rguser rgpass
in the 3.3.1731 folder
rgleason is offline   Reply With Quote
Old 13-06-2014, 13:22   #96
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Sean's plugins have all been updated current to now, except WMM as there were no changes.
Go to
Opencpn Beta File Thingie 2.5.7
use rguser rgpass
in the 3.3.1731 folder
rgleason is offline   Reply With Quote
Old 17-06-2014, 03:03   #97
Registered User

Join Date: Dec 2011
Boat: MC-Tec, Akilaria 950
Posts: 242
Re: Sean Depagnier's Plugins

Climatology doesn't compile anymore after the last code changes under Win7, VC2010, wxWidgets 2.8.12. This is the relevant compiler output :
----------------------
...
4> ClimatologyOverlayFactory.cpp
4>..\src\ClimatologyOverlayFactory.cpp(1749): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4>..\src\ClimatologyOverlayFactory.cpp(1782): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4>..\src\ClimatologyOverlayFactory.cpp(1782): error C2668: 'floor' : ambiguous call to overloaded function
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(567): could be 'long double floor(long double)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(519): or 'float floor(float)'
4> c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\math.h(136): or 'double floor(double)'
4> while trying to match the argument list '(int)'
4> climatology_pi.cpp
4> ClimatologyUI.cpp
4> ClimatologyDialog.cpp
4> ClimatologyConfigDialog.cpp
4>..\src\ClimatologyConfigDialog.cpp(260): warning C4800: 'long' : forcing value to bool 'true' or 'false' (performance warning)
4> zuFile.cpp
4> IsoBarMap.cpp
4> icons.cpp
4> jsonval.cpp
4> jsonreader.cpp
4> jsonwriter.cpp
4> Generating Code...
5>------ Rebuild All started: Project: ALL_BUILD, Configuration: Release Win32 ------
5> Building Custom Rule C:/git/climatology/climatology_pi/CMakeLists.txt
5> CMake does not need to re-run because C:\git\climatology\climatology_pi\build\CMakeFiles \generate.stamp is up-to-date.
5> Build all projects
========== Rebuild All: 4 succeeded, 1 failed, 0 skipped ==========

----

Thomas
tom_BigSpeedy is offline   Reply With Quote
Old 17-06-2014, 03:15   #98
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
Re: Sean Depagnier's Plugins

Quote:
Originally Posted by tom_BigSpeedy View Post
Sean,
I have a question concerning the "current" files for climatology. I'd like to enhance them manually
to add the static currents of the area I'm sailing in (Adriatic sea). There quite a bit of constant current
which is not based on tidal activity. But it's not included in the distributed current files.
There exist monthly maps over the year (as PDF), and I'd like to extract the data and add the info to the "current" files.
Manually, if necessary.
It would be technically possible add them but maybe not the best option. The current data in climatology is in a 1/3rd degree grid of the entire earth. This means the resolution is 20 nautical miles which is rather sparse (but the best I could find for the entire world)
Quote:
The background is in fact, that I'd like to test and use the weather routing module, but not having any current info,
"weather routing" would have sent me directly into the counter current during that race last week.
Which I obviously didn't follow ...
How are these files compressed and do you have a description of the file format ?
I guess you have, as you're "reading" them :-)
Any help (even an internet link) is appreciated.
BR,
Tom
If you look at the source code to climatology, the gendata folder has the programs which generate the data used from the netcdf files (which are many gigabytes) The link to them is in the readme and also in the about tab in the climatology configuration. I suggest that we come up with a system to describe localized currents and possibly provide them as optional downloads to enhance data in localized areas. I also really would like to see support for local tidal currents as this can give very interesting weather routings as well.

Quote:
Originally Posted by tom_BigSpeedy View Post
Sean,
I compiled the latest climatology under Win7,with VC10 and wxWidgetst 2.8.12.
I'm using CM93.2
With OpenGL on (just the tick set, nothing else done in the extra options ) climatology crashes O:
It seems to load all right. Then I move the mouse on the climatology Window to select the month and
set the tick at "Wind". This still works fine, but as soon as I move the mouse onto the chart
(leaving the boundaries of the climatology window) O crashes.
This is reproducable.
With OpenGL turned off, I get a message that the overlay may can only be displayed with OpenGL on,
but O doesn't crash (and wind data for the cursor position on the map is shown in the climatology window).
BR,
Tom
So this only occurs with an overlay map with opengl correct? Can you find where the crash occurs in the debugger? I believe it is the same crash reported by kubek (in the weather routing thread) but I want to make sure. Basically I am using an opengl extension that I didn't need in the previous climatology versions (because I didn't interpolate between months) It is possible (but very slow) to do this instead in software. I am moving toward higher resolution data.. and the future climatology datasets will likely be weekly and/or have interpolation derivatives as well as elnino and other derivatives etc.. so more and more work is likely to be offloaded to the gpu in the future. I have seen the interpolated overlays working on linux and mac (and windows version in wine) but not sure if it can work for all windows users with all graphics drivers.

Please attach your log file so I can see what graphics hardware.
seandepagnier is offline   Reply With Quote
Old 17-06-2014, 03:54   #99
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
Re: Sean Depagnier's Plugins

Quote:
Originally Posted by Gilletarom View Post
Hello Sean,

I have a doubt about how to translate "Ligthning". It could be it storms or lightning itself.

Can you explain a little? Thank you in advance.
The data is derived from a satellite monitoring the flash of light from lightning strikes.. I guess thunder storms would be correct but maybe misleading on how to interpret the data. In this case it is lightning itself.

Quote:
Originally Posted by Gilletarom View Post
Hello Sean,




Give me some time. Before this work can ensure that these pages will not be changed?
The page for climatology is short and is not likely to change much. Celestial navigation is also unlikely to change but a lot longer, so it's up to you if you think it's worth it.

The page for weather routing will continue to change.
Quote:
2° Trying climatology this morning :
When the "Configuration" window is openned, if we click on the icon of climatology in the icon bar, then Climatology is shutdown (normal) but the window "Configuration" does not shutdown.

B.R. Gilletarom.
Thank you for the bug report, I will make it hide this window.
seandepagnier is offline   Reply With Quote
Old 26-06-2014, 06:14   #100
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Compiles and CPACK exe install files of the most recent plugins have been uploaded to Opencpn Beta File Thingies File Thingie 2.5.7 3.3.1824-Plugins directory.
rguser, rgpass

If you are installing to an "advanced setup" quickest way is to type " 3.3.1824 at the end of the path. "C:/Program Files (x86)/Opencpn 3.3.1824"
rgleason is offline   Reply With Quote
Old 26-06-2014, 06:26   #101
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
Re: Sean Depagnier's Plugins

Rick,

Did you try weather routing 1.0 yet?

You might also attempt to edit NSIS.template.in to avoid the manual steps... does the s63 plugin installer have this problem? If not we can copy it from there.
seandepagnier is offline   Reply With Quote
Old 26-06-2014, 12:26   #102
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Sean,
I have git cloned the most recent weather_routing_pi and it is only weather_routing_pi-0.12-win32.exe
--Please advise.

Have tried to run current 3.3.1824 master in MSVC debug mode, but am getting breaks and something with style.h. This is not resolved yet. I have placed debug version of weather_routing_pi-0.12-win32.dll in build/plugins along with data dir etc. but cannot test until I get opencpn debug running.

Have also run into problems trying to get s63_pi to operate same as the 0-plugins from you. Worked on that a little.
rgleason is offline   Reply With Quote
Old 26-06-2014, 12:45   #103
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Pavel helped with s63_pi... got it working.
This installer prompts for the language and then gives the full path name for generic Opencpn ---- this way

Quote:
C:\Program Files (x86)\OpenCPN\plugins\s63_pi
I then just typed in the "[space]3.3.1824"
Quote:
C:\Program Files (x86)\OpenCPN 3.3.1824\plugins\s63_pi
There is no "advanced install" here either. Would have to take an example from the main Opencpn install package.
rgleason is offline   Reply With Quote
Old 26-06-2014, 22:45   #104
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,451
Re: Sean Depagnier's Plugins

I have uploaded packages to: opencpnplugins - Browse Files at SourceForge.net Please test and report any issues.
seandepagnier is offline   Reply With Quote
Old 27-06-2014, 06:03   #105
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 18,088
Images: 2
Re: Sean Depagnier's Plugins

Have compiled and cpack install .exe and uploaded
climatology_pi-0.10-win32.exe
weather_routing_pi-1.0-win32.exe
s63_pi_0.6.0_setup.exe

All the others were done yesterday and are current with github.
https://github.com/seandepagnier?tab=activity

You can download and install from
Opencpn Beta File Thingie - rguser, rgpass
Go to current beta directory 3.3.1824-Plugins-Win-Opencpn.
Mouseover file and right click ...pick save as.

Sean and Pavel are also updating Sourceforge OpencpnPlugins where you will find install files for all platforms. Click on "Files" Tab then pick your plugin.

Sean would you mind explaining to us neophytes what the suffix designations apply to what OS/machines?
_armhf.tar.bz2
_armhf.deb
_amd64.tar.bz2 <--Is this windows x64 bit for 7 and 8?
_amd64.rpm
_amd64.deb
_amd64.tar.xz
-win32.exe <--Install file for Windows XP, 7 or 8

It appears the -win32 install files are not uploaded yet to sourceforge opencpnplugins.
rgleason is offline   Reply With Quote
Reply

Tags
plug

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Advertise Here


All times are GMT -7. The time now is 18:25.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.