Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 20-06-2016, 08:40   #1
Marine Service Provider
 
Aupalukii's Avatar

Join Date: Feb 2012
Location: Quebec
Boat: lagoon 470
Posts: 17
Open cpn 4.4 Grib2 not working for me.

Hello
trying to open a Grib2 files but open Cpn crash and I got error loading file..
any idea ?

Index of /model_gem_regional/coupled/gulf_st-lawrence/grib2/00/002

Thanks

Franck
__________________

__________________
Aupalukii is offline   Reply With Quote
Old 20-06-2016, 09:43   #2
Registered User

Join Date: Jun 2015
Posts: 198
Re: Open cpn 4.4 Grib2 not working for me.

Quote:
Originally Posted by Aupalukii View Post
Hello
trying to open a Grib2 files but open Cpn crash and I got error loading file..
any idea ?

Index of /model_gem_regional/coupled/gulf_st-lawrence/grib2/00/002

Thanks

Franck
Hi,
Could you put somewhere a file crashing Ocpn?
Data in the link above are updated daily and I can't currently reproduce your crash.

Anyway CMC_coupled-rdps-stlawrence-atmosphere_latlon0.02x0.03 is wind at meansea level 0 not heightAboveGround at level 10 and it's not displayed by ocpn.

Files are bigger but can you test some at Index of /HD
They should work, if not what's your OS , 32bits 64bits and so on.
__________________

__________________
did-g is offline   Reply With Quote
Old 20-06-2016, 09:54   #3
Marine Service Provider
 
Aupalukii's Avatar

Join Date: Feb 2012
Location: Quebec
Boat: lagoon 470
Posts: 17
Re: Open cpn 4.4 Grib2 not working for me.

Ok that s maybee why open CPN is crashing the files is not supported.... is there anyway to make it work ?
just trying to open the file make open cpn not responding.
I m running on win 10 64bits I7 5820k 16GB ram
got the same problem on my laptot on win7 64
working with the files you ask me to test

http://dd.meteo.gc.ca/model_gem_regi...000_P002.grib2


Thanks
__________________
Aupalukii is offline   Reply With Quote
Old 20-06-2016, 11:07   #4
Registered User

Join Date: Jun 2015
Posts: 198
Re: Open cpn 4.4 Grib2 not working for me.

Quote:
Originally Posted by Aupalukii View Post
Ok that s maybee why open CPN is crashing the files is not supported.... is there anyway to make it work ?
just trying to open the file make open cpn not responding.
I m running on win 10 64bits I7 5820k 16GB ram
got the same problem on my laptot on win7 64
working with the files you ask me to test

http://dd.meteo.gc.ca/model_gem_regi...000_P002.grib2


Thanks
Ok I was able to reproduce, if there's no displayable data in file m_bGRIBActiveFile is set to 0 and in doesn't play well later when ocpn try to display something.

Workarounds:
1- don't open them
2- you can rewrite the grib and replace the parameters with something ocpn will display, I don't know how to do it on window.

We may need some configuration file with parameters conversion, there's some hard coded in ocpn but it's not enough.
__________________
did-g is offline   Reply With Quote
Old 24-06-2016, 13:10   #5
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: Open cpn 4.4 Grib2 not working for me.

did-g

Quote:
Originally Posted by did-g View Post
Ok I was able to reproduce, if there's no displayable data in file m_bGRIBActiveFile is set to 0 and in doesn't play well later when ocpn try to display something.
The function "readAllGribRecords()" returns OK when there is at least one data type in the file even if this data type is not recognised by OpenCPN.
I think this is an error and the function should not return OK when there no readable data type.
Off course this would not allow to display these data but at least would ovoid crashes.
Sorry I am not able to propose a patch by now but can do it ASAP
regards
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 24-06-2016, 13:43   #6
Registered User

Join Date: Jun 2015
Posts: 198
Re: Open cpn 4.4 Grib2 not working for me.

Quote:
Originally Posted by Ptizef View Post
did-g



The function "readAllGribRecords()" returns OK when there is at least one data type in the file even if this data type is not recognised by OpenCPN.
I think this is an error and the function should not return OK when there no readable data type.
Off course this would not allow to display these data but at least would ovoid crashes.
Sorry I am not able to propose a patch by now but can do it ASAP
regards
Jean Pierre
Thanks
I have one, I'll try to push it tomorrow.
__________________

__________________
did-g is offline   Reply With Quote
Reply

Tags
open cpn, 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
GRIB2 PlugIn bdbcat OpenCPN 82 28-05-2017 08:18
QTVLM Route Optimizer and GRIB2 sinbad7 OpenCPN 1 26-07-2013 01:13
Open CPN wont open BONEY MAHONEY OpenCPN 3 26-07-2012 22:08
Open CPN Works Initially But Then Will Not Open GrahamW OpenCPN 4 25-01-2012 05:57
Open cpn Installs but Does Not Open with Vista 64 bit felipe OpenCPN 3 03-06-2011 13:23



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 21:18.


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.