Hi Sean,
I am not sure I can get this for you to be honest. I can chase it next week
though.
(As an aside note, the wgrib2 command line can open this file, which is
interesting too)
Cheers
Cos
On 5 Apr 2013, at 20:16, Sean Arms <sarms@xxxxxxxxxxxxxxxx> wrote:
> Greetings Cosmin,
>
> It looks like there is a grib table problem. It's possible that ECMWF used a
> grib
> table that overwrote some of the standard WMO table entries and thus we have
> issues decoding the grib file. Would you happen to have the grib2 table that
> corresponds to this data file, or would you know whom to contact to get that
> table?
>
> Cheers,
>
> Sean
>
> On 4/5/13 12:34 PM, Sean Arms wrote:
>> Greetings Cosmin,
>>
>> Yes, I have the file now. Let me do some digging and I'll let you know what
>> I find.
>>
>> Cheers,
>>
>> Sean
>>
>> On 4/5/13 2:01 AM, Cosmin Marginean wrote:
>>> Hi Sean,
>>>
>>> Just wanted to confirm that you got the file? Please let me know if there
>>> is anything else that I can help with.
>>>
>>> Cheers,
>>> Cosmin
>>>
>>> On 3 Apr 2013, at 16:37, Sean Arms <sarms@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>> 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
>>>>>> For list information or to unsubscribe, visit:
>>>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>> For list information or to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/