Project

General

Profile

cdo 1.6.0 (win32) crashes when checking BallGate grb files

Added by Lutz Bendlin about 11 years ago

The BallGate GRIB viewer is unable to open grb files that have been created with cdo ( via cdo -f grb ), and conversely cdo 1.6.0 for 32 bit Windows is crashing hard on Windows XP when trying to do an sinfo on grb files that BallGate can open nicely. Attached is a sample file.

Could you please help me understand what the file structure issues might be that lead to this incompatibility?

GMN_Atlantic.wind.grb (200 KB) GMN_Atlantic.wind.grb Sample GRIB1 file that makes cdo crash on Win32

Replies (4)

RE: cdo 1.6.0 (win32) crashes when checking BallGate grb files - Added by Lutz Bendlin about 11 years ago

Here's what BallGate has to say about the grb files created through cdo 1.6.0

RE: cdo 1.6.0 (win32) crashes when checking BallGate grb files - Added by Jaison-Thomas Ambadan about 11 years ago

It works fine on CDO linux:

cdo sinfo GMN_Atlantic.wind.grb 
   File format: GRIB
    -1 : Institut Source   Ttype    Levels Num  Gridsize Num Dtype : Parameter ID
     1 : NCEP     unknown  instant       1   1      1911   1  P8   : 33.2       
     2 : NCEP     unknown  instant       1   1      1911   1  P8   : 34.2       
   Grid coordinates :
     1 : lonlat       > size      : dim = 1911  nx = 49  ny = 39
                        lon       : first = -100  last = -40.208  inc = 1.24566667  degrees_east
                        lat       : first = 48  last = 10.242  inc = -0.993631579  degrees_north
   Vertical coordinates :
     1 : surface                  : 0 
   Time coordinate :  unlimited steps
     RefTime =  2013-04-24 12:00:00  Units = hours  Calendar = proleptic_gregorian
  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss  YYYY-MM-DD hh:mm:ss
  2013-04-24 12:00:00  2013-04-24 15:00:00  2013-04-24 18:00:00  2013-04-24 21:00:00
  2013-04-25 00:00:00  2013-04-25 03:00:00  2013-04-25 06:00:00  2013-04-25 09:00:00
  2013-04-25 12:00:00  2013-04-25 15:00:00  2013-04-25 18:00:00  2013-04-25 21:00:00
  2013-04-26 00:00:00  2013-04-26 03:00:00  2013-04-26 06:00:00  2013-04-26 09:00:00
  2013-04-26 12:00:00  2013-04-26 15:00:00  2013-04-26 18:00:00  2013-04-26 21:00:00
  2013-04-27 00:00:00  2013-04-27 03:00:00  2013-04-27 06:00:00  2013-04-27 09:00:00
  2013-04-27 12:00:00  2013-04-27 15:00:00  2013-04-27 18:00:00  2013-04-27 21:00:00
  2013-04-28 00:00:00  2013-04-28 03:00:00  2013-04-28 06:00:00  2013-04-28 09:00:00
  2013-04-28 12:00:00  2013-04-28 15:00:00  2013-04-28 18:00:00  2013-04-28 21:00:00
  2013-04-29 00:00:00  2013-04-29 03:00:00  2013-04-29 06:00:00  2013-04-29 09:00:00
  2013-04-29 12:00:00  2013-04-29 15:00:00  2013-04-29 18:00:00  2013-04-29 21:00:00
  2013-04-30 00:00:00  2013-04-30 03:00:00  2013-04-30 06:00:00  2013-04-30 09:00:00
  2013-04-30 12:00:00  2013-04-30 15:00:00  2013-04-30 18:00:00  2013-04-30 21:00:00
  2013-05-01 00:00:00  2013-05-01 03:00:00  2013-05-01 06:00:00  2013-05-01 09:00:00
  2013-05-01 12:00:00  2013-05-01 15:00:00  2013-05-01 18:00:00  2013-05-01 21:00:00
  2013-05-02 00:00:00
cdo sinfo: Processed 2 variables over 61 timesteps ( 0.00s )

Is this "BallGate" is using any external GRIB library, for example NCEP/GRIB_API or ?

RE: cdo 1.6.0 (win32) crashes when checking BallGate grb files - Added by Lutz Bendlin about 11 years ago

As far as I can see they only use ncdump and cnvgrib

I just tested with an older Win32 version of CDO (1.0.9) and sinfo worked as well.

    (1-4/4)