[gdal-dev] ReadRaster C# Incorrect values

Even Rouault even.rouault at spatialys.com
Tue Oct 18 06:26:56 PDT 2016


Le mardi 18 octobre 2016 15:23:28, mvscheers a écrit :
> Thanks for the suggestion,
> 
> I posted a wrong example (Tried everything, converting bytes to doubles
> etc) I have tried reading float64 -> c# double. same problem.
> 
> Doing this in c++ yields the same result.
> 
> Viewing this grib file in panoply gives correct results.
> 
> Still at a loss here

I hadn't seen you attached the file. gdalinfo -stats also confirm your findings. 
This is probably a defect in the g2clib/degrib libraries used by GDAL to 
decode GRIB files.


> 
> 
> 
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/gdal-dev-ReadRaster-C-Incorrect-values
> -tp5291259p5291263.html Sent from the GDAL - Dev mailing list archive at
> Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list