Re: [netcdf-java] False positive from ucar.nc2.grib.grib1.Grib1Iosp

Hi Antonio:

Thanks very much, we will fix this.

John

On 5/26/2014 1:54 AM, "Antonio S. Cofiño" wrote:
Hi,

I have received a a false positive from GRIB1 IOSP:
ucar.nc2.grib.grib1.Grib1Iosp

the attached file is a Netcdf4 but the GRIB1 IOSP is claiming as Grib1
type file:
http://meteo.unican.es/droppings/antonio/Grib1IOSP_FalsePositive.nc

Regards

Antonio

P.S.: The reason is because in the first 16K exists the set of "GRIB"
char and a value of 1 in the 8th byte offset.

https://github.com/Unidata/thredds/blob/master/grib/src/main/java/ucar/nc2/grib/grib1/Grib1RecordScanner.java#L67-L83





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




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