|
|
19-12-2013, 11:10
|
#106
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
Earth's poles are shifting because of climate change
"Climate change is causing the North Pole's location to drift, owing to subtle changes in Earth's rotation that result from the melting of glaciers and ice sheets. The finding suggests that monitoring the position of the pole could become a new tool for tracking global warming.
Computer simulations had suggested that the melting of ice sheets and the consequent rise in sea level could affect the distribution of mass on the Earth's surface. This would in turn cause the Earth's axis to shift, an effect that has been confirmed by measurements of the positions of the poles."
Earth's poles are shifting because of climate change - environment - 13 December 2013 - New Scientist
|
|
|
03-02-2014, 05:52
|
#107
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
|
|
|
01-10-2014, 08:19
|
#108
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: World Magnetic Model Plugin
A observation about wmm.cof and windows package.
There is a wmm.cof in the source package so it's present in my opencpn.git\plugins\wmm_pi directory and also in the build\plugins\wmm_pi directory after built. I use to make updates using the package build and run the .exe file created. Any updates of wmm_pi.dll is included in the built package but the wmm.cof is not copied and thus not present in c:\program\opencpn\plugins. Should the package logic be updated or did I misunderstand all of it?
Now I copied the file manually:
Before copying the log says:
Code:
16:50:49: C:\Program\OpenCPN\plugins\wmm_pi.dll
API Version detected: 108
PlugIn Version detected: 7
16:50:49: Warning: WMM model data file C:\Program\OpenCPN\plugins/WMM.COF can't be loaded, using the bundled data.
After copying the warning is gone
Håkan
|
|
|
01-10-2014, 08:38
|
#109
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
|
Re: World Magnetic Model Plugin
Hakan...
Yep, know about it. I'm kind of waiting for the new WMM release from NOAA for the 2015 epoch to finally fix it properly.
Pavel
|
|
|
01-10-2014, 09:16
|
#110
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: World Magnetic Model Plugin
Pavel...
Very good, thanks
|
|
|
01-10-2014, 10:10
|
#111
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
|
Re: World Magnetic Model Plugin
BTW, the release date of the new model has just been announced on World Magnetic Model - Home Page - December 15th be it. So the new WMM plug-in version will come around Christmas... Make sure to file the bugs and feature requests in the tracker by then
Pavel
|
|
|
01-10-2014, 11:37
|
#112
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
Please note that for NSIS Standalone Plugin Compile for Windows that
the file is copied and included in the WMM-install.EXE
C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\data has wmm.cop
AND
C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\build\_CPack_Packages\win32\NSIS\wmm_pi-0.8-win32\plugins\wmm_pi\data has wmm.cof
So it does not appear to be a problem for Windows compile
|
|
|
01-10-2014, 13:49
|
#113
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: World Magnetic Model Plugin
Quote:
Originally Posted by rgleason
Please note that for NSIS Standalone Plugin Compile for Windows that
the file is copied and included in the WMM-install.EXE
C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\data has wmm.cop
AND
C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\build\_CPack_Packages\win32\NSIS\wmm_pi-0.8-win32\plugins\wmm_pi\data has wmm.cof
So it does not appear to be a problem for Windows compile
|
I'm sure these routines are working fine but I'm a bit lazy so all the plugins I use are present in my opencpn repository. And it's very handy to use the package from within Visual C++ 2010 to update all files in a single step. Especially since my own adjustments are present in a branch I use to merge from a updated master. I use a couple of dated instruments, like Simrad IS15 and an old Garmin navigator, so some of my plugins needs to be arranged for that and I don't want to mix them with "official" versions.
Håkan
|
|
|
02-10-2014, 03:10
|
#114
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
Yes, That is a great way to set it up for your own config if you compile.
I have found the standalone plugin compilation with Nsis packaging to be quite quick and easy for preparing packaged plugins for windows users. There is less copying and mucking around. I like it enough so I've tried to setup some of the other plugins that way.
But the way, I recall some Hakan batch files that moved us toward standalone compile of plugins....
Maybe wmm_pi should become a fixed part of O like Dashboard and Grib? ...but then O would be a little bigger.
Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
|
|
|
02-10-2014, 03:15
|
#115
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
Only development downside is when you need to run in debug mode to get more detail, then there's a little more copying to do.
Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
|
|
|
02-10-2014, 05:10
|
#116
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: World Magnetic Model Plugin
Quote:
Originally Posted by rgleason
Yes,...........Maybe wmm_pi should become a fixed part of O like Dashboard and Grib? ...but then O would be a little bigger. ...
|
Not less since my navigator don't serve wmm data any more I strongly agree to make WMM a part of the OCPN base source.
I'm aware of the debug issues and use to solve the copying by using a batch file.
Håkan
|
|
|
16-10-2014, 10:46
|
#117
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
New wmm_pi Git Pull, then cmake .. cmake --build . got the below errors.. then when did cmake --build . --config release the errors went away.
Code:
Build succeeded.
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\build\ALL_BUILD.vcxproj" (def
ault target) (1) ->
"C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\build\wmm_pi.vcxproj" (defaul
t target) (3) ->
(ClCompile target) ->
c:\data-dart\up-soft\navigation\o-plugin\wmm_pi-k\src\WMM_SubLibrary.c(3184):
warning C4552: '+' : operator has no effect; expected operator with side-effect
[C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_pi-k\build\wmm_pi.vcxproj]
..\src\wmm_pi.cpp(316): warning C4800: 'wxChar' : forcing value to bool 'true'
or 'false' (performance warning) [C:\Data-Dart\Up-Soft\Navigation\o-plugin\wmm_
pi-k\build\wmm_pi.vcxproj]
2 Warning(s)
0 Error(s)
Time Elapsed 00:00:05.26
Cpack ed it into and installation file, and uploaded to
Opencpn Beta File Thing rguse rgpass
|
|
|
16-10-2014, 11:11
|
#118
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
|
Re: World Magnetic Model Plugin
Rick...
No need to produce Windows packages when the changes are just added packaging for Mac OS X But thanks
Pavel
|
|
|
16-10-2014, 11:29
|
#119
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
|
Re: World Magnetic Model Plugin
Pavel, thanks, I should have read the comments! Pretty funny.
|
|
|
14-11-2014, 04:00
|
#120
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,139
|
Re: World Magnetic Model Plugin
Hi
I made a new clone of WMM and there are some new package? stuff. cmake reported:
Code:
-- *** Staging to build wmm_pi ***
-- Found OpenGL...
-- Lib: glu32opengl32glu32opengl32
-- Include:
-- Install Prefix: C:/Program/OpenCPN
CMake Warning (dev) at plugins/wmm_pi/CMakeLists.txt:54 (INCLUDE):
A logical block opening on the line
C:/Builds/OpenCPN/OpenCPN/plugins/wmm_pi/cmake/PluginInstall.cmake:78 (IF)
closes on the line
C:/Builds/OpenCPN/OpenCPN/plugins/wmm_pi/cmake/PluginInstall.cmake:80 (ENDIF)
with mis-matching arguments.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Writing spec file...
I suppose there's a bug in PluginInstall.cmake:80
Code:
IF(EXISTS ${PROJECT_SOURCE_DIR}/data)
INSTALL(DIRECTORY data DESTINATION "${INSTALL_DIRECTORY}")
ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/data)
I also suppose row 80 should read: ENDIF(EXISTS ${PROJECT_SOURCE_DIR}/data) ??
Thanks/ Håkan
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|