Hello Frederic, I was able to reproduce the error you are seeing. It arises because the netcdf-java code does not handle template 31. I have moved your issue over to JIRA, our bug tracking system: https://bugtracking.unidata.ucar.edu/browse/TDS-509 I'm not sure why 4.1 might have opened this file, but I will look into it. It is possible that it opened it successfully by circumstance. Regards, Lansing Madry Unidata Boulder, Colorado > Hello, > > I cannot open a GRIB file coming from EUMETSAT, also tested with the > latest release of netcdfAll-4.3.jar downloaded from: > > ftp://ftp.unidata.ucar.edu/pub/netcdf-java/v4.3/netcdfAll-4.3.jar > > because of a missing template. > > Opening operation succeeds in version 4.1 of Netcdf-java but seems to > fail from version 4.2. > > I attach a sample file. More information on this product is available at > > http://navigator.eumetsat.int/discovery/Start/DirectSearch/DetailResult.do?f%28r0%29=EO%3AEUM%3ADAT%3AMETEOSAT%3AOSIHSSI. > > Below is the stack trace obtained with the latest release. > > Thanks for your help. > > > /18 nov. 2013 12:33:52 ucar.nc2.util.DiskCache2 setRootDirectory// > //INFO: DiskCache2 create directory > /home/mcms/bachevillerf/.unidata/cache/// > //18 nov. 2013 12:33:52 ucar.nc2.grib.grib2.Grib2CollectionBuilder > readOrCreateIndex// > //INFO: S-OSI_-FRA_-MSG_-H__SSI_FIELD-201311180200Z.grb: createIndex > /home/mcms/bachevillerf/S-OSI_-FRA_-MSG_-H__SSI_FIELD-201311180200Z.grb.ncx// > //18 nov. 2013 12:33:52 ucar.nc2.grib.grib2.Grib2Pds factory// > //ATTENTION: Missing template 31// > //File input S-OSI_-FRA_-MSG_-H__SSI_FIELD-201311180200Z.grb seems to be > corrupted or not a good file// > / > > -- > FrÃdÃric BACHEVILLER > MÃtÃo France > Centre de MÃtÃorologie Spatiale > Avenue de Lorraine > B.P. 50747 > 22307 LANNION CEDEX > TÃl : +33 (0)2 96 05 67 38 > Fax : +33 (0)2 96 05 67 37 > > > Ticket Details =================== Ticket ID: JCU-683472 Department: Support netCDF Java Priority: Normal Status: Open
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.