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

Greetings Cosmin,

Would it be possible to get a sample grib file for us to work with here
at Unidata? If so, please upload an example here:

motherlode.ucar.edu/repository/alias/netcdfuploads

Thanks!

Sean

On 4/3/13 7:26 AM, Cosmin Marginean wrote:

Hi Sean,

Yes, sorry, forgot to mention that - we are indeed using 4.3.16

Cheers
Cos


Greetings Cosmin,

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

http://www.unidata.ucar.edu/blogs/news/entry/netcdf_java_library_and_tds1

Thanks!

Sean

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

Hello,


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,

Cosmin




_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:http://www.unidata.ucar.edu/mailing_lists/

_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx <mailto:netcdf-java@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/


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