Re: [netcdf-java] NetCDF Java and ECMWF, SuperHiRes, Gaussian Grid

Greetings Cosmin,

I just want to make sure you are trying this using the latest version of netCDF-Java,
which is 4.3.16:



On 4/3/13 6:23 AM, Cosmin Marginean wrote:


We are working on reading some of the ECMWF's Super Hi Res GRIB files, delivered in GRIB2 format, using a Gaussian grid.

There are some situations where we cannot read some of these files since the code crashes as soon as we try to open the dataset:

    NetcdfDataset dataset = NetcdfDataset.openDataset(filePath);

We are currently not sure what causes this, since using other tools (wgrib2) we can access this data. However, using the NetCDF Java library we get this type of exception as soon as we open the file:

java.lang.IllegalArgumentException: Dimension length =-9999 must be > 0

We'd like to know if you happened to run into this or if you know what might cause it.

Thank you in advance,


netcdf-java mailing list
For list information or to unsubscribe, visit:

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: