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 11-06-2013, 02:55   #181
Registered User
 
rgleason's Avatar

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

Quote:
Could you try checking every single check box in the cyclones tab, and selecting all months, and possibly then change min windspeed to 30 or even less. You should see a lot of cyclones.

I have the same two small tracks with those settings.

December isn't a big month in south pacific, and trying to find cases of 60 knots or more there are not a lot.
Okay, thought I had it on All. I did cycle through but will do it again, on ALL.
In MSVC, will try release version too, put Clim on all and checked and unchecked all boxes, turned all on, etc., no other cyclones seen, its not reading them I guess, did you see the log file I sent where two of the files were not read or were not good in some way? I willl post this log file again below. Then there was a break.

Opencpn.log

Code:
...5:43:45 AM: PlugInManager: Loading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll
5:43:45 AM:   C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll Version detected: 109...

Apparently, all cyclone files loaded, found no error message.

5:45:26 AM: Debug: ..\..\src\msw\timer.cpp(198): assert "node != TimerMap().end()" failed in wxTimerWndProc(): bogus timer id in wxTimerProc

In Windows git environment Just tried git pull from the climatology_pi directory and got new code changes... this is really nice. Will compile now.
Attached Thumbnails
Click image for larger version

Name:	Climatology-New-git_Cyclones-cycled all checks-No-Cyclones-other-than-AUS-then-a-break.jpg
Views:	146
Size:	396.1 KB
ID:	62313  
rgleason is offline   Reply With Quote
Old 11-06-2013, 04:32   #182
Registered User
 
rgleason's Avatar

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

Done Git Pull from Climatology_pi diirectory (downloaded changes) and compiled in Windows.

In MSVC Debug, Climatology TABS have reverted back so we cannot get to Wind, Cyclone and About, the Standard Tab seems to dominate. I cannot exercise Cyclone checks, but when I set Months to All, I get only some cyclones over by Aus.

In Windows Release, Opencpn v3.3.424 Climatology_pi TABS have reverted back so Standard Tab dominates. I don't see any cyclones even though month is set to ALL.

In both MSVC and Release the isobars are working much better.

Cut down INI and LOG files below. Found no external setttings for Cyclones here. Was going to try changing those or check them out.
Code:
======================
Opencpn.ini File
======================

[PlugIns]

[PlugIns/Climatology]
bEnabled=1

WindUnits=0
WindEnabled=1
WindOverlayMap=0
WindIsoBars=0
WindIsoBarSpacing=5
WindIsoBarStep=2
WindNumbers=0
WindNumbersSpacing=50
WindDirectionArrows=0
WindDirectionArrowsLengthType=1
WindDirectionArrowsWidth=2
WindDirectionArrowsColor=rgb(0, 34, 255)
WindDirectionArrowsOpacity=205
WindDirectionArrowsSize=10
WindDirectionArrowsSpacing=24

CurrentUnits=0
CurrentEnabled=1
CurrentOverlayMap=0
CurrentIsoBars=0
CurrentIsoBarSpacing=2
CurrentIsoBarStep=2
CurrentNumbers=0
CurrentNumbersSpacing=50
CurrentDirectionArrows=1
CurrentDirectionArrowsLengthType=1
CurrentDirectionArrowsWidth=2
CurrentDirectionArrowsColor=rgb(197, 22, 18)
CurrentDirectionArrowsOpacity=205
CurrentDirectionArrowsSize=7
CurrentDirectionArrowsSpacing=18

SeaLevelPressureUnits=0
SeaLevelPressureEnabled=1
SeaLevelPressureOverlayMap=1
SeaLevelPressureIsoBars=1
SeaLevelPressureIsoBarSpacing=8
SeaLevelPressureIsoBarStep=2
SeaLevelPressureNumbers=0
SeaLevelPressureNumbersSpacing=50

SeaSurfaceTemperatureUnits=1
SeaSurfaceTemperatureEnabled=1
SeaSurfaceTemperatureOverlayMap=1
SeaSurfaceTemperatureIsoBars=1
SeaSurfaceTemperatureIsoBarSpacing=15
SeaSurfaceTemperatureIsoBarStep=2
SeaSurfaceTemperatureNumbers=0
SeaSurfaceTemperatureNumbersSpacing=37

AirTemperatureUnits=1
AirTemperatureEnabled=1
AirTemperatureOverlayMap=1
AirTemperatureIsoBars=0
AirTemperatureIsoBarSpacing=5
AirTemperatureIsoBarStep=2
AirTemperatureNumbers=0
AirTemperatureNumbersSpacing=50

CloudCoverUnits=0
CloudCoverEnabled=1
CloudCoverOverlayMap=1
CloudCoverIsoBars=0
CloudCoverIsoBarSpacing=17
CloudCoverIsoBarStep=2
CloudCoverNumbers=0
CloudCoverNumbersSpacing=50

PrecipitationUnits=0
PrecipitationEnabled=1
PrecipitationOverlayMap=1
PrecipitationIsoBars=0
PrecipitationIsoBarSpacing=4
PrecipitationIsoBarStep=2
PrecipitationNumbers=0
PrecipitationNumbersSpacing=50

RelativeHumidityUnits=0
RelativeHumidityEnabled=1
RelativeHumidityOverlayMap=1
RelativeHumidityIsoBars=1
RelativeHumidityIsoBarSpacing=8
RelativeHumidityIsoBarStep=2
RelativeHumidityNumbers=0
RelativeHumidityNumbersSpacing=50

DepthUnits=0
DepthEnabled=1
DepthOverlayMap=1
DepthIsoBars=1
DepthIsoBarSpacing=1000
DepthIsoBarStep=2
DepthNumbers=1
DepthNumbersSpacing=50


WindOverlayTransparency=0
CurrentOverlayTransparency=0
SeaLevelPressureOverlayTransparency=15
SeaSurfaceTemperatureOverlayTransparency=56
AirTemperatureOverlayTransparency=79
CloudCoverOverlayTransparency=44
PrecipitationOverlayTransparency=40
RelativeHumidityOverlayTransparency=38
DepthOverlayTransparency=30


===========
LOG File
===========



06:31:55: 2013-06-11
06:31:55:  ------- Starting OpenCPN -------
06:31:55: Version 3.3.604 Build 2013-06-04
06:31:55: wxWidgets version: wxWidgets 2.8.12
06:31:55: MemoryStatus:  mem_total: 8106 mb,  mem_initial: 14 mb
06:31:55: Warning: file 'C:\ProgramData\opencpn\opencpn.ini', line 202: key 'bEnabled' was first found at line 200.
06:31:55: Warning: entry 'bEnabled' appears more than once in group '/PlugIns/WMM'

6:31:56 AM: ChartSymbols loaded from C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\s57data\chartsymbols.xml

6:31:58 AM: PlugInManager searching for PlugIns in location C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins

6:31:58 AM:   C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/celestial_navigation_pi.dll Version detected: 108
6:31:58 AM: PlugInManager: Loading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll

6:31:58 AM: PlugInManager: Loading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/rtlsdr_pi.dll
6:31:58 AM:   C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/rtlsdr_pi.dll Version detected: 108
6:31:58 AM: Error: Execution of command 'ais_rx.py -d -r 256000 -e 50 ' failed (error 2: the system cannot find the file specified.)

6:31:58 AM: PlugInManager: Loading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/wmm_pi.dll
6:31:58 AM:   C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/wmm_pi.dll Version detected: 108
6:31:58 AM: Warning: WMM model data file C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build/plugins/WMM.COF can't be loaded, using the bundled data.
6:31:58 AM: OpenGL-> Renderer String: GeForce GT 540M/PCI/SSE2
6:31:58 AM: OpenGL-> Framebuffer Objects unavailable
6:31:58 AM: OpenGL-> Using Stencil buffer clipping
6:31:58 AM: OpenGL-> Estimated Max Resident Textures: 98
6:31:58 AM: ChartDB Cache policy:  Application target is 1024 MBytes
6:31:58 AM: Loading chart db version: V017
6:31:58 AM: Chartdb: Chart directory list follows
6:31:58 AM:   Chart directory #0: C:\Data-Dart\BSB_ROOT\02Region

6:32:56 AM: LOGBOOK:  2013-06-11 10:32:56 UTC  DR Lat   32.27830 Lon  -80.48320

6:36:04 AM: PlugInManager: Deactivating PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll
07:08:45: 

________

07:08:45: 2013-06-11
07:08:45:  ------- Starting OpenCPN -------
07:08:45: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
07:08:45: Styles loading from C:\ProgramData\opencpn\styles.xml
07:08:45: No styles found at: C:\ProgramData\opencpn\.opencpn\
07:08:45: Warning: file 'C:\ProgramData\opencpn\opencpn.ini', line 202: key 'bEnabled' was first found at line 200.
07:08:45: Warning: entry 'bEnabled' appears more than once in group '/PlugIns/WMM'

7:08:48 AM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins

7:08:48 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll
7:08:48 AM:   C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll Version detected: 109

7:08:49 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/rtlsdr_win32_pi18_v08_pi.dll
7:08:49 AM:   C:\Program Files (x86)\OpenCPN\plugins/rtlsdr_win32_pi18_v08_pi.dll Version detected: 108
7:08:49 AM: Error: Execution of command 'ais_rx.py -d -r 256000 -e 50 ' failed (error 2: the system cannot find the file specified.)

7:08:49 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/wmm_win32_pi18_v07_pi.dll
7:08:49 AM:   C:\Program Files (x86)\OpenCPN\plugins/wmm_win32_pi18_v07_pi.dll Version detected: 108
7:08:49 AM: Warning: WMM model data file C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build/plugins/WMM.COF can't be loaded, using the bundled data.

7:09:01 AM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll
7:09:03 AM: PlugInManager: Initializing PlugIn: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll
7:09:46 AM: LOGBOOK:  2013-06-11 11:09:46 UTC  DR Lat   32.27830 Lon  -80.48320
rgleason is offline   Reply With Quote
Old 11-06-2013, 05:15   #183
Registered User
 
rgleason's Avatar

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

In Linux Ubuntu 12.04 "already up to date"
Climatology TABS work fine, html shows, Cyclones checked in display, Months set to "ALL", in configure window, checking Cyclone checkboxes, all seems to work, fine. All Cyclones display and can be properly controlled!

Checking SeaTemp and SeaDepth Isobars, those work great and very reliably, with progress bar popping up when there are lots of contours, with a "Cancel" button. Clicking cancel works, stops Isobar routine and unchecks Config isobar. Double, triple and quad quick clicks of Config Isobar Spacing UP and Down buttons does not stop Isobar routine, it finishes the job and then starts the next one. Very good.

==More info
In Linux, from opencpn-git directory git pull "Already up to date"
In Linux, from plugins/climatology_pi directory

Code:
rgleason@rgleason-VirtualBox:~$ cd opencpn-git
rgleason@rgleason-VirtualBox:~/opencpn-git$ git fetch --all
Fetching origin
rgleason@rgleason-VirtualBox:~/opencpn-git$ git pull 
Already up-to-date.
rgleason@rgleason-VirtualBox:~/opencpn-git$ git remote -v
origin    git://github.com/OpenCPN/OpenCPN.git (fetch)
origin    git://github.com/OpenCPN/OpenCPN.git (push)
rgleason@rgleason-VirtualBox:~/opencpn-git$ git branch -v
* master f7519e2 During load we have to locate shared routepoints, otherwise the connection is broken
rgleason@rgleason-VirtualBox:~/opencpn-git$ git pull
Already up-to-date.
rgleason@rgleason-VirtualBox:~/opencpn-git$ cd plugins
rgleason@rgleason-VirtualBox:~/opencpn-git/plugins$ cd climatology_pi
rgleason@rgleason-VirtualBox:~/opencpn-git/plugins/climatology_pi$ git pull
remote: Counting objects: 52, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 35 (delta 31), reused 22 (delta 18)
Unpacking objects: 100% (35/35), done.
From git://github.com/seandepagnier/climatology_pi
   a7170c8..0a26dd8  master     -> origin/master
Updating a7170c8..0a26dd8
Fast-forward
 CMakeLists.txt                    |    2 +-
 Climatology.fbp                   | 8250 ++++++++++++++++++-------------------
 gendata/gensstdata.cpp            |    4 +-
 src/ClimatologyConfigDialog.cpp   |    7 +-
 src/ClimatologyConfigDialog.h     |    9 +-
 src/ClimatologyDialog.cpp         |   12 +-
 src/ClimatologyDialog.h           |    2 +-
 src/ClimatologyOverlayFactory.cpp |  114 +-
 src/ClimatologyOverlayFactory.h   |    9 +-
 src/ClimatologyUI.cpp             |  510 +--
 src/ClimatologyUI.h               |   42 +-
 src/IsoBarMap.cpp                 |   15 +-
 src/IsoBarMap.h                   |    1 +
 src/climatology_pi.cpp            |    4 +-
 14 files changed, 4496 insertions(+), 4485 deletions(-)
rgleason@rgleason-VirtualBox:~/opencpn-git/plugins/climatology_pi$ git pull
Already up-to-date.
rgleason@rgleason-VirtualBox:~/opencpn-git/plugins/climatology_pi$
Attached are the sudo make install output. Why? don''t know, thought you'd like to see it. Why can't windows be as good? Sean What is this minicompiler you were mentioning? Maybe it will work better? -Maybe not change horse in midstream but sure is a consideration!
Attached Files
File Type: doc Climatology-cmake-make-install.doc (3.3 KB, 84 views)
rgleason is offline   Reply With Quote
Old 12-06-2013, 06:53   #184
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Climatology

This fixes the tab problem.

Code:
diff --git a/src/ClimatologyConfigDialog.cpp b/src/ClimatologyConfigDialog.cpp
index ad61930..d9a1390 100644
--- a/src/ClimatologyConfigDialog.cpp
+++ b/src/ClimatologyConfigDialog.cpp
@@ -356,6 +356,7 @@ void ClimatologyConfigDialog::OnPageChanged( wxNotebookEvent& event )
     /* delay loading html until last moment because it can take a few seconds */
     if(event.GetSelection() == 3)
         m_htmlInformation->LoadFile(ClimatologyDataDirectory() + _T("ClimatologyInformation.html"));
+    event.Skip();
 }
ChuckSK is offline   Reply With Quote
Old 12-06-2013, 07:35   #185
Registered User
 
rgleason's Avatar

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

Thank you Chuck! I am sure Sean will also appreciate it. How do you come up with these fixes? Sean had the right idea because he disabled the Html first, but that did not seem to do it. Then he reordered the tabs and possibly did other things.

I think he's probably getting pretty tired of screwing with making Windows work with this plugin, I certainly know I am!

Now the last thing that I know of to get fixed is getting all the Cyclones visible and able to be toggled on and off, which would not be too bad to just kick down the road, but it is certainly impressive and informs regarding routes and timing.

I hope Sean has not given up and can get cyclones working. Now I can donate to his "next leg fund" in the About Tab of Climatology. He certainly deserves it... and needs it!
rgleason is offline   Reply With Quote
Old 12-06-2013, 20:43   #186
Registered User
 
rgleason's Avatar

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

ChuckSK, and Sean tonight I tried your suggestion, to add event.Skip(); to the end of climatologyconfigdialogue.cpp line 356 or so.

Then Git checkout rick (my own local branch)
Git pull (it pulled origin master) and
then went into plugins/climatology_pi directory and did Git pull.
Then went to MSVC and rebuilt the Debug version copied the build/plugins/climatology_pi/debug/climatology_pi.dll back out two directories into build/plugins/climatology_pi.dll
Then used MSVC and Started Debug.
The change worked to get the TABS showing again.
I then tried a rebuilt release version in Opencpn v3.3.424 and it did not work at all. The icon did not appear and it was not in setttings/plugins eithet. The problem is the plugin is not finding the data when it is installed as a regular plugin. (see Log) I've tried shutting down Opencpn, disabling the plugin in the INI and restarting Opencpn and it still does not appear. I've tried putting climate data in an opencpn/build/plugins/climate/data directory because that is where it is stored in MSVC, that did not work.

Then I tried compling Debug and Release MSVC Climatology again after shutdown and rebboot of the computer. In Debug mode I noticed something that I had seen before.... After I use Climatology, I can no longer go into settings and "Disable" it. In fact I can click on "Disable" and nothing seems to happen, but actually something did happen, because the program freezes and I have to shutdown MSVC by using Task Manager and shutdown sometimes. Then if I just restart MSVC and try Climatology it works ok, but then go back to settings/plugins and try togglling disable /enable on all plugins except climatology ---they work, but climatology is enabled, so I hit "disable" and nothing happens, things freeze. I wait, finally I can dismiss Settings Panel by hitting X upper left.

Oh yes, after starting Climatology fresh restart of MSVC (and generally) it rebuilds the database ok, but then disappears for a long time after it is finished the progress bar. Often I have to click on the view area to get the climatology menu to appear. I have not been able to see if it has this behavoir in release version, because that version does not run. See thee log files.

Cyclones are stilll missing and I think it is maybe a path problem or maybe the data for those change somehow when they are brought onto the windows side (line feeds and carrage return issue perhaps?)

I wish I could get closer to the problem but those are the symptoms.
Sean's probably gone sailing and I can't blame him, I'll be there shorrtly too. Good night. Oh I forgot, Sean's donate button works in MSVC, including paypa.

MSVC DEBUG
Code:
23:23:50: 2013-06-12
23:23:50:  ------- Starting OpenCPN -------
23:23:50: Version 3.3.604 Build 2013-06-04
23:23:50: wxWidgets version: wxWidgets 2.8.12
23:23:50: MemoryStatus:  mem_total: 8106 mb,  mem_initial: 15 mb
23:23:50: SData_Locn is C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\
23:23:50: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
23:23:50: Styles loading from C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\uidata\styles.xml
23:23:50: Styles loading from C:\ProgramData\opencpn\styles.xml
23:23:50: No styles found at: C:\ProgramData\opencpn\.opencpn\
23:23:50: Warning: file 'C:\ProgramData\opencpn\opencpn.ini', line 205: key 'bEnabled' was first found at line 203.

11:23:53 PM: PlugInManager: Loading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll

11:35:20 PM: PlugInManager: UnLoading PlugIn: C:\Data-Dart\Up-Soft\Navigation\opencpn-git\build\plugins/climatology_pi.dll

11:35:20 PM: Chart cache purge
11:35:20 PM: LOGBOOK:  2013-06-13 03:35:20 UTC OFF: Lat   44.25800 Lon   14.70400
11:35:20 PM: opencpn::MyApp exiting cleanly...
OpenCpn v3.3.424 RELEASE

Code:
2:47:50: 2013-06-12
22:47:50:  ------- Starting OpenCPN -------
22:47:50: Version 3.3.424 Build 2013-04-24
22:47:50: wxWidgets version: wxWidgets 2.8.12
22:47:50: MemoryStatus:  mem_total: 8106 mb,  mem_initial: 10 mb
22:47:50: SData_Locn is C:\Program Files (x86)\OpenCPN\
22:47:50: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
22:47:50: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
22:47:50: Styles loading from C:\ProgramData\opencpn\styles.xml
22:47:50: No styles found at: C:\ProgramData\opencpn\.opencpn\
22:47:50: Warning: file 'C:\ProgramData\opencpn\opencpn.ini', line 205: key 'bEnabled' was first found at line 203.
22:47:50: Warning: entry 'bEnabled' appears more than once in group '/PlugIns/WMM'

10:47:50 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll
10:47:50 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll' (error 127: the specified procedure could not be found.)
10:47:50 PM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll 

10:48:29 PM: PlugInManager: Deactivating PlugIn: C:\Program Files (x86)\OpenCPN\plugins/weather_routing_win32_pi110_v07_pi.dll
10:48:29 PM: opencpn::MyFrame exiting cleanly.
10:48:29 PM: Chart cache purge

10:48:29 PM: PlugInManager: UnLoading PlugIn: C:\Program Files (x86)\OpenCPN\plugins/celestial_navigation_win32_pi18_v15_pi.dll

10:48:29 PM: Chart cache purge
10:48:29 PM: LOGBOOK:  2013-06-13 02:48:29 UTC OFF: Lat   44.25800 Lon   14.70400
10:48:29 PM: opencpn::MyApp exiting cleanly...
Attached Thumbnails
Click image for larger version

Name:	Climatology-with-TABS-using-eventskip-thanks-chuck.jpg
Views:	126
Size:	315.6 KB
ID:	62415   Click image for larger version

Name:	Climatology-with-TABS-About-Donate.jpg
Views:	126
Size:	397.8 KB
ID:	62416  

Click image for larger version

Name:	Climatology-with-AUS-Cyclones-Showing.jpg
Views:	123
Size:	295.5 KB
ID:	62417  
rgleason is offline   Reply With Quote
Old 13-06-2013, 02:41   #187
Registered User
 
rgleason's Avatar

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

ChuckSK do you use Windows? MSVC? or is it Linux? Do you have it working in Windows Release?

Code:
Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN\plugins/climatology_pi.dll' (error 127: the specified procedure could not be found.)
Maybe I should replace opencpn.exe 3.3.424 with the 3.3.604 version?

I was trying to reduce the unknowns because 3.3.424 was pretty stable.
Is this due to error reporting?
Do I need other files other than opencpn.exe from MSVC release?
rgleason is offline   Reply With Quote
Old 13-06-2013, 03:30   #188
Registered User
 
rgleason's Avatar

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

Ok, that fixed it.
Needed to copy MSVC Opencpn-git/Build/Release files into the Program Files(x86)/Opencpn directory.
opencpn.exe
crash*.* (3 files)
dbghelp.dll

With ChuckSK's change everything works except Cyclones, which is a mystery. We have cyclones showing near Austrailia for Jan Feb March and Dec., but not any of the other ones (many cyclones!!!).

Is the data not being read or is there some null or end of line feed error or something that Windows expects that Linux does not?

Why is the Aus data showing, but not any other data?
Maybe someone has a clue?

I will upload the DLL and associate files now. I consider this plugiin 95% complete. I think Sean has gone sailing and so am I soon.

Thank you Sean for all your efforts and have a good trip. If you find this plugin or any of his other plugins (watchman, rtlsdr, weather_routing, celestial_navigation) useful please Donate to Sean in the About Tab, his reserves are low, and he's done some real ground breaking work on routing for all of us.
Attached Thumbnails
Click image for larger version

Name:	Climatology-Windows-Release-TABS-Working-with-AUS-Cyclones-Showing.jpg
Views:	421
Size:	334.3 KB
ID:	62443  
rgleason is offline   Reply With Quote
Old 13-06-2013, 04:11   #189
Registered User
 
rgleason's Avatar

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

Plugins-Beta -CLIMATOLOGY_PI DATA UPDATE 5
Compiled current as of June 10,2013.

Opencpn Beta Login - Plugins - rguser, rgpass.
Pick "Climate-Data-5" directory for the necessary data, and
Pick "Plugins-Beta-Opencpn-3.3.605" for the necessary files
1. Climatology_pi-newest.dll is most recent.
2. Download CL-DATA-5.zip (6.9mb) OR all the individual files and copy uncompressed to opencpn/plugins/cliimatology/data/ directory. There should be 42 files, including the zipped file.
3. Then download the files in Plugins-Beta-Opencpn-3.3.604 and copy them into your Program Files(x86)/opencpn directory
4. Copy the climatology dll into the opencpn/plugins directory.

See the directory labels with the plugins associated. Old plugins generally will run with newer Ocpn versions.

Also updated today, Sean's other plugin Watchman with a Test Alarm button in Settings >Plugins > Watchman > Preferences and some other changes. Look in Opencpn-3.3 folder, dated 6/13/13.

On 6/10 Celestial_Navigation, Weatherfax, Weather_Routing, and Rtlsdr were updated.

There have been some improvements to Watchman, Rtlsdr and to a lesser degree the others.
rgleason is offline   Reply With Quote
Old 13-06-2013, 08:04   #190
Registered User

Join Date: Sep 2010
Posts: 153
Re: Climatology

Hi,

If I try to use climatology_pi-newest.dll it isn't visible in plugin tab. Only if I use climatology_win32_p19_v02_pi.dll file it can be seen there.

Kubek
Attached Thumbnails
Click image for larger version

Name:	climatology_pi-newest.dll.jpg
Views:	143
Size:	99.8 KB
ID:	62452  
kubek is offline   Reply With Quote
Old 13-06-2013, 08:46   #191
Registered User
 
rgleason's Avatar

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

Kubek, sorry I should delete the climatology_pi_newest.dll - It is no longer current.
Go to the Plugins-Beta-Opencpn-3.3.604 directory and use those files. You will need all files (includiing opencpn.exe -version3.3.604, and the crash*.* and dbug*.dll) also put the climatology_win32_p19_v02_pi.dll that is in this directory, under plugins dir.

Hope that is clear. Good luck.
I will delete climatology_pi_newest.dll
rgleason is offline   Reply With Quote
Old 13-06-2013, 09:40   #192
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Climatology

Here is the fix for cyclones.

Code:
diff --git a/src/ClimatologyOverlayFactory.cpp b/src/ClimatologyOverlayFactory.cpp
index af6e2f9..fa01b75 100644
--- a/src/ClimatologyOverlayFactory.cpp
+++ b/src/ClimatologyOverlayFactory.cpp
@@ -584,7 +584,7 @@ havedata:
 
 bool ClimatologyOverlayFactory::ReadCycloneData(wxString filename, std::list<Cyclone*> &cyclones, bool south)
 {
-    FILE *f = fopen(filename.mb_str(), "r");
+    FILE *f = fopen(filename.mb_str(), "rb");
     if (!f) {
         wxLogMessage(climatology_pi + _("failed to open file: ") + filename);
         return false;
ChuckSK is offline   Reply With Quote
Old 13-06-2013, 09:59   #193
Registered User
 
rgleason's Avatar

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

Awesome, ChuckSK. How do you do it?
Would you be able to check out
Watchman - Post 61 & 62
Weather_routing - Post 248 & 249
threads at the bottom. Having problems there and did some sleuthing.

Do you use github commits somehow and execute this command from somewhere in the git hub?

diff --git a/src/ClimatologyOverlayFactory.cpp b/src/ClimatologyOverlayFactory.cpp

Also how can we get these small changes noted in github so they are actually made, and should they be made for linux too? I haven't done a repository with changes where I could commit? and request someone pull?

Well, I take that back. I do have a local git called rick. Just making changes using that.
rgleason is offline   Reply With Quote
Old 13-06-2013, 11:31   #194
Registered User
 
rgleason's Avatar

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

ChuckSK - It works! Cyclones show up, all of them! (Just what is the "r" for?) One "r" caused all that trouble?

This is great, and I am going to upload it to file thing (see above) under Plugins-Beta-Opencpn-3.3.604 directory as climatology_win32_p19_v02-4.dll

Also I am going to rename the first one to climatology_win32_p19_v02-3.dll
to distinguish it from the ones that are under Beta-Opencpn-3.2 directory!

climatology_win32_p19_v02-4.dll - has isobard working Beta-Opencpn.3.2
climatology_win32_p19_v02-4.dll - has tabs enabled Beta-Opencpn.3.3.604
climatology_win32_p19_v02-4.dll - has cyclones enabled Beta-Opencpn.3.3.604

give me 1/2 hour to upload please. Should Linux version be changed?
One thing I notice is that this version v02-4 with the "r" added in code, has very high CPU use and the hard disk runs a lot and I am wondering if there is another better solution for slower computers.

Thank you so much ChuckSK!!! It works.
Attached Thumbnails
Click image for larger version

Name:	Climatology-Windows-MSVC-DEBUG-working-with-Cyclones-Showing-HighCPU.png
Views:	147
Size:	367.6 KB
ID:	62463   Click image for larger version

Name:	Climatology-Windows-MSVC-DEBUG-working-with-Cyclones-Showing-HighCPU-2.jpg
Views:	156
Size:	418.4 KB
ID:	62464  

rgleason is offline   Reply With Quote
Old 13-06-2013, 12:25   #195
Registered User
 
rgleason's Avatar

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

Sorry (corrections)
Also I am going to rename the first one to climatology_win32_p19_v02-3.dll
to distinguish it from the ones that are under Beta-Opencpn-3.2 directory!

climatology_win32_p19_v02-2.dll - has isobard working Beta-Opencpn.3.2
climatology_win32_p19_v02-3.dll - has tabs enabled Beta-Opencpn.3.3.604
climatology_win32_p19_v02-4.dll - has cyclones enabled Beta-Opencpn.3.3.604
rgleason is offline   Reply With Quote
Reply

Tags
paracelle


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 04:59.


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.