This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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