Skip to content

dcgrib2 fails on RAP wrfprs grib2 files with errors #133

@mzuranski

Description

@mzuranski
  • the version of the software with which you are encountering an issue
    7.14.0.1 and 7.15.2
  • environmental information (i.e. Operating System, compiler info, java version, python version, etc.)
    Ubuntu 20.04 and CentOS 7
  • a description of the issue with the steps needed to reproduce it
    dcgrib2 test.gem < rap.t02z.wrfprsf01.grib2

Initially reported by @vgensini, dcgrib2 errors out when trying to decode a RAP wrfprs grib2 file (7.14.0.1). I was able to reproduce this on my end as well (specifically with this data file) (7.14.0.1 and 7.15.2).

Output from @vgensini:

dcgrib2 test.gem < rap.t02z.wrfprsf01.grib2
 Opening WMO Originating Center Table wmocenter.tbl...
 Opening WMO GRIB2 Parameter Table g2varswmo2.tbl...
 Opening WMO GRIB2 Vertical Coordinate Table g2vcrdwmo2.tbl...
 WARNING : Grid Definition Template 3.32769 not supported.

My output:

dcgrib2 test.gem < rap.t02z.wrfprsf01.grib2
 Opening WMO Originating Center Table wmocenter.tbl...
 Opening WMO GRIB2 Parameter Table g2varswmo2.tbl...
 Opening WMO GRIB2 Vertical Coordinate Table g2vcrdwmo2.tbl...
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 Opening Local GRIB2 Parameter Table g2varsncep1.tbl...
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
 Opening Local GRIB2 Vertical Coordinate Table g2vcrdncep1.tbl...
 WARNING : Grid Definition Template 3.32769 not supported.
 WARNING : Grid Definition Template 3.32769 not supported.
...it keeps going on like this a while...

This table seems relevant. But that table is also over a decade old, and searching the codebase I see references to it in various places. While this feels like a table issue of some kind it's unclear to me right now what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions