Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 22-02-2016, 10:06   #16
Registered User

Join Date: May 2012
Posts: 1,223
Re: oGrib2 Plugin using the ECMWF grib_api

An Update ...

Work on Grib2 using the grib_api has stopped.

Grib Version 1 tidal currents are no longer available from Weather4D unless you have their app.

Weather4D sources this data from the EU CMEMS project (Copernicus), where it is freely available as NetCDF (nc) format files. These cover a large area of Western Europe and are potentially more useful than the BSH Grib 2 files.

Downside is the long-winded download process from Copernicus, although there is a Python script that can be used for this.

I am now using the nohal/konni Grib2 plugin as a template for reading the nc files downloaded from Copernicus. The code uses the NetCDF library from the Center for Marine and Atmospheric Sciences (ZMAW).

There is some discussion in the background about whether a separate plugin is needed or whether the capability to read nc could be added to the Grib plugin. For this reason work on the Grib2 plugin (for nc files) has been suspended. The GitHub Grib2 has been left as an example of reading nc. I am now looking at ways of adding nc reading to the Grib plugin (With very slow progress!!!).

https://github.com/Rasbats/grib2_pi

Mike
Attached Thumbnails
Click image for larger version

Name:	grib2.png
Views:	179
Size:	155.6 KB
ID:	119423  
Rasbats is offline   Reply With Quote
Old 26-02-2016, 04:48   #17
Registered User

Join Date: May 2012
Posts: 1,223
Re: oGrib2 Plugin using the ECMWF grib_api

Further Update ...

To avoid confusion with the work now taking place with Dave's/did-g Grib2 I have removed the "Grib2" plugin from my GitHub folder.

This has been replaced with "ncdf_pi". The words Grib and Grib2 have been removed from the code and the icon has been changed.

A Windows compiled version of ncdf_pi has been left in the Extras folder, with an example tidal current nc file.

https://github.com/Rasbats/ncdf_pi

Mike
Rasbats is offline   Reply With Quote
Old 26-02-2016, 06:05   #18
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: oGrib2 Plugin using the ECMWF grib_api

Quote:
Originally Posted by Rasbats View Post
Further Update ...
.....
A Windows compiled version of ncdf_pi has been left in the Extras folder, with an example tidal current nc file.
https://github.com/Rasbats/ncdf_pi
Mike
I placed ncdf_pi.dll in folder plugins, with the other dll.

Then, I run O (4.2.0, Or 4.2.1)
Then "options" and then "Plugins" but immediatly, Crash.
Gilletarom is offline   Reply With Quote
Old 26-02-2016, 06:59   #19
Registered User

Join Date: May 2012
Posts: 1,223
Re: oGrib2 Plugin using the ECMWF grib_api

Gilletarom,

Strange. I have tested on two other machines and each opened the plugin without a problem.

Do you still have NetCDF 4.4.0 installed?

I have taken this post and started another thread for netcdf.

Mike
Attached Thumbnails
Click image for larger version

Name:	ncdf.jpg
Views:	158
Size:	376.7 KB
ID:	119625  
Rasbats is offline   Reply With Quote
Old 26-02-2016, 08:23   #20
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,007
Re: oGrib2 Plugin using the ECMWF grib_api

Quote:
Originally Posted by Rasbats View Post
Gilletarom,

Strange. I have tested on two other machines and each opened the plugin without a problem.

Do you still have NetCDF 4.4.0 installed?

I have taken this post and started another thread for netcdf.

Mike
Yes, NetCDF 4.4.0 is installed. I have just put out the previous "grib2.dll file" But ... I cleaned the PC with CCleaner after put out the previous dll .... ????
Gilletarom is offline   Reply With Quote
Reply

Tags
plug, rib


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
Plugin: DashBoard SethDart OpenCPN 646 01-07-2024 11:36
OpenCPN PlugIn Development bdbcat OpenCPN 161 04-09-2019 12:50
Using the Chart Downloader plugin with a Portable install of 4.0 ac0rn OpenCPN 7 12-01-2016 14:32
Using the plugin download for BSB 4 charts on CPN capitano Navigation 0 15-07-2015 13:30
Writing Plugin for nv.digital Map Format ? Netsurfer OpenCPN 7 17-08-2010 16:09

Advertise Here


All times are GMT -7. The time now is 09:58.


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.