Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-02-2016, 11:06   #16
Registered User

Join Date: May 2012
Posts: 405
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:	63
Size:	155.6 KB
ID:	119423  
__________________

__________________
Rasbats is offline   Reply With Quote
Old 26-02-2016, 05:48   #17
Registered User

Join Date: May 2012
Posts: 405
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, 07:05   #18
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
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, 07:59   #19
Registered User

Join Date: May 2012
Posts: 405
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:	81
Size:	376.7 KB
ID:	119625  
__________________
Rasbats is offline   Reply With Quote
Old 26-02-2016, 09:23   #20
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
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

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
OpenCPN PlugIn Development bdbcat OpenCPN 78 29-07-2017 03:15
Plugin: DashBoard SethDart OpenCPN 470 24-08-2016 21:34
Using the Chart Downloader plugin with a Portable install of 4.0 ac0rn OpenCPN 7 12-01-2016 15:32
Using the plugin download for BSB 4 charts on CPN capitano Navigation 0 15-07-2015 14:30
Writing Plugin for nv.digital Map Format ? Netsurfer OpenCPN 7 17-08-2010 17:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.