Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-03-2016, 07:25   #31
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Mike, when I copy my version of ncdf.dll and yours over to my Laptop and past into both 4.2 and 4.2.1 these plugins don't seem to appear. I expect there is a .dll that I am missing. I wonder what it is.

opencpn.log
8:34:51 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN\plugins\ncdf_pi.dll' (error 126: the specified module could not be found.)
8:45:49 PM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN\plugins\ncdf_pi.dll
===
10:11:21 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.2.1\plugins\ncdf-rick2_pi.dll
10:11:21 AM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.2.1\plugins\ncdf-rick2_pi.dll' (error 126: the specified module could not be found.)
10:11:21 AM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.2.1\plugins\ncdf-rick2_pi.dll

I am going to have to compare my opencpn directories with the other machine to find out what is missing.

Differences
freexl.dll and geos_c.dll but those are for survey. libusb-1.0 but that is for rtlsdr_pi I believe....
and a few others. Oh curllib.dll

I was going to try this big SHOM file.. I guess I'll have to do it on the other machine.
__________________

__________________
rgleason is offline   Reply With Quote
Old 28-03-2016, 09:07   #32
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

Rick,

Is netCDF 4.4.0 installed on both your other machines?

Mike
__________________

__________________
Rasbats is offline   Reply With Quote
Old 28-03-2016, 12:04   #33
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Whoops, NetCDF 4.4 is not installed! Thanks.
__________________
rgleason is offline   Reply With Quote
Old 28-03-2016, 12:36   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Finally remembered where to find it.
https://github.com/Rasbats/ncdf_pi/releases

Thanks
__________________
rgleason is offline   Reply With Quote
Old 30-03-2016, 17:36   #35
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Yes, Mike NetCDF4.4.0 is now installed on both machines, thanks.
And NCDF files work on both now! Anything you want me to check?
__________________
rgleason is offline   Reply With Quote
Old 01-04-2016, 00:38   #36
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

ncdf_pi now compiles and runs on linux. Instructions on the github readme.

Priority now is work on a standalone client program to simplify the download of the Copernicus nc files.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 02-04-2016, 02:29   #37
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,227
Re: ncdf plugin for reading NetCDF tidal currents

Hello Mike,
Quote:
Originally Posted by Rasbats View Post
.....
Priority now is work on a standalone client program to simplify the download of the Copernicus nc files.
Mike
It also seems that we are dependent Copernicus server. The "Minimal" software works better now than a few weeks. Yet it is the same software.
__________________
Gilletarom is offline   Reply With Quote
Old 03-04-2016, 08:45   #38
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

Minimal is now motu_builder!

motu_builder.exe is a small Windows program to simplify the download of nc files from Copernicus. Place the .exe in your main OpenCPN program folder. It needs the wxWidgets files located there. A config.ini file is created in this folder on first running the program. This retains the settings from a previous run of motu_builder.

You will need to have installed Python 2.7 and downloaded the motu_client script. The Copernicus website has links for these items.

This motu_builder program can be found on GitHub in the 'releases' section (V0.3).

The areas which ncdf_pi uses are coded into motu_builder, to automatically fill in lats/lons.

When the program is closed (x) or 'File/Exit' is used the settings are retained.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 03-04-2016, 10:42   #39
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

motu is a similar program for Linux. Available as motu.pdf in the V0.3 releases section of GitHub.

Remove the .pdf extension and place in any suitable folder where you can find it for execution. I have not been able to make an automatic download work. Instead, copy the script you have made to Clipboard and paste into Terminal. Press 'Enter' and the Python script will then run.

You will need to have Python 2.7 on your system and have installed the motu_client script as in my previous post.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 03-04-2016, 11:29   #40
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,227
Re: ncdf plugin for reading NetCDF tidal currents

hello Mike,
Quote:
Originally Posted by Rasbats View Post
Minimal is now motu_builder!

motu_builder.exe is a small Windows program to simplify ....When the program is closed (x) or 'File/Exit' is used the settings are retained.

Mike
Hello Mike,

First test "motu bilder" made. It works as minimal. In fact, I have not seen a difference in terms of the version under Windows.

I made yesterday a lot of tests with minimal. I came to realize that the smallest area we can upload must have at least 4.9 degrees in longitude and 1.9 degrees in latitude. Am I wrong?

Best regards. Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 09-04-2016, 18:03   #41
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Mike,

Tried to build ncdf again, in various ways. No success but close still.
Just 4 errors..... then tried with VC++ and got 70 errors.

See attached please. Perhaps you can tell me where the three missing wx/wx......h files are? --Are you missing them from src or some include directory?

Best
Rick
Attached Files
File Type: doc ncdf-standalone-trial.txt.doc (23.9 KB, 13 views)
__________________
rgleason is offline   Reply With Quote
Old 10-04-2016, 07:13   #42
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

Rick,

Under VS2013 I had the same errors with 'Debug'. Ended up working with 'Release' only.

Edited some notes you made previously (remove .doc).

Hope this helps.

Mike
Attached Files
File Type: doc ncdf-mr.txt.doc (1.1 KB, 10 views)
__________________
Rasbats is offline   Reply With Quote
Old 11-04-2016, 15:13   #43
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

Mike, followed your doc. Made a few clarifications to the doc, did Properties changes for both Debug and Release. No problems with Properties for either.

When tried to build Debug and Release, got the same error.
could not find glu.lib

See attached please.
Attached Files
File Type: doc ncdf-mr-small-rev-1.txt.doc (1.2 KB, 11 views)
File Type: doc ncdf-mr-errors.txt.doc (2.5 KB, 14 views)
__________________
rgleason is offline   Reply With Quote
Old 12-04-2016, 09:12   #44
Registered User

Join Date: May 2012
Posts: 340
Re: ncdf plugin for reading NetCDF tidal currents

Rick,

Please can you post the contents of your Linker Input/Dependencies and linker/General/Additional Library Directories

Mike
__________________
Rasbats is offline   Reply With Quote
Old 13-04-2016, 09:00   #45
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,082
Re: ncdf plugin for reading NetCDF tidal currents

No luck Mike. Tried a number of things here as you will see. Getting the linker lists is a pain, you can't just copy and paste all of them, but I did it this time

Now it can't seem to find netcdf.h or ncdf.h but they exist, and I believe the paths are all set up...

I've looked back at my previous setup and found this was needed
Linker/Input

"C:\Program Files (x86)\netCDF 4.4.0\lib\netcdf.lib"

I don't have time to try that but it might be needed.
Attached Files
File Type: doc ncdf-mr-small-rev-2.txt.doc (4.6 KB, 15 views)
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
current, plug

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
Tidal Currents in West, North Europe christopher1958 OpenCPN 2 03-06-2012 10:36
Want To Buy: Canadian Atlas of Tidal Currents (St. Lawrence Estuary) Westerly33 Classifieds Archive 0 02-08-2011 08:50
OpenCPN Tidal Heights and Currents NAV OpenCPN 14 25-06-2011 03:23
Tidal Currents (Not Heights) wizard-merlin OpenCPN 3 16-02-2011 03:34
Riding Tidal Currents on the ICW endoftheroad Navigation 8 03-01-2010 16:38


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 07:25.


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.