Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-03-2016, 08:38   #76
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: GRIB2 PlugIn

Jean Pierre,

it is a very old problem: No one ever knows how to handle datatypes in wxWidgets. There has always been mismatches with int, long, float, chart and so on.

Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 15-03-2016, 20:39   #77
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: GRIB2 PlugIn

JeanPierre...

I pushed another commit to grib2 branch correcting the scrambled date/time fields in the GRIB control bar. Tested on linux and Win OK.

I never saw a crash on Windows with "copyFirstCumulativeRecord" function. But this certainly could be related to the bad code in the time indicators. There was some uninitialized data, and this can create havoc anywhere.

Thanks for testing
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 16-03-2016, 01:41   #78
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: GRIB2 PlugIn

Dave

RE:
"I pushed another commit to grib2 branch correcting the scrambled date/time fields in the GRIB control bar. Tested on linux and Win OK."

Many thanks
Tested on Windows and Linux too
It seems to work find now.
No scrambled date/time, No segfault, No crash ...!

Thanks again
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 27-03-2016, 19:07   #79
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,359
Re: GRIB2 PlugIn

Which branch to compile Grib2, please?
__________________
rgleason is online now   Reply With Quote
Old 27-03-2016, 19:10   #80
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: GRIB2 PlugIn

Rick...

branch "grib2" will get you there.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 22-05-2017, 19:12   #81
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,359
Re: GRIB2 PlugIn

Some questions about Rtofs time interval and interpolation, for the purpose of improving and operation of Weather_routing_pi.

Use of RTOFS for Current.Gribs - Gulf of Maine
__________________
rgleason is online now   Reply With Quote
Old 28-05-2017, 07:58   #82
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: GRIB2 PlugIn

Grib2 is a moving target, with new developments and applications.
David Burch explains some of them in his blog - David Burch Navigation Blog - see the article "NDFD: Oceanic, CONUS, and Regional".
The article states that OpenCPN does not support Grib2, see a discussion here -David Burch Navigation Blog: International List of Weather Services. Check the end of the page.

OpenCPN does support grib2 with the file extensions of .grib2 and .grb2 if they are in a "in a plain Lat-Lon grid" or Mercator projection.

To fully support NDFD, especially the CONUS part, OpenCPN needs to be able to read
*Lamberts Conformal Conical Projection
*The .bin file format

This is definitely something to consider for OpenCPN 4.8.

Thomas
__________________
cagney is offline   Reply With Quote
Old 28-05-2017, 08:18   #83
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,359
Re: GRIB2 PlugIn

Thanks Dave, I think that is what I am using now, since you probably have it in the downloads for v4.6.1
Thomas, as always you are helpful. I had been reading Dave Burch's blog in trying to find an answer to getting 3hr currents from RTOFS but did not see that post.

NOAA has "deprecated" or stopped Atlantic ROTFS and is now using the "Global RTOFS database, which no longer has the capability of "grib" selection to narrow the lat/long and parameters to what is needed. This is why Saildocs no longer has 12hr currents, I believe. However we should be able to get "prognostic" 3hr currents of a certain area Globally, because Noaa has it in the Global RTOFS database. I look forward to that time!

Combined with the ability to load two grib files, it will be very useful.
__________________

__________________
rgleason is online now   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
BSB 4 PlugIn bdbcat OpenCPN 93 20-02-2016 04:41
QTVLM Route Optimizer and GRIB2 sinbad7 OpenCPN 1 26-07-2013 01:13
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 10:15.


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.