[gdal-dev] GDAL on Windows/Mac : issue decoding GRIB2 files compressed with the JPEG2000 option
Edouard, Sandrine (EC)
sandrine.edouard at canada.ca
Thu May 20 08:21:25 PDT 2021
Dear GDAL Users list members,
We discovered that on Windows and Mac, some versions of GDAL do not properly decode GRIB2 files if the data is compressed with the JPEG2000 option.
Sample of impacted data: https://collaboration.cmc.ec.gc.ca/cmc/cmos/gdal_Jpeg2000/CMC_RDPA_APCP-024-0700cutoff_SFC_0_ps10km_2021041106_000.grib2 .
When GDAL decodes the data, the values are orders of magnitude off (values around 10^4 instead of 10^2 for the APCP parameter, precipitation analysis). The problem does not happen on the Linux platform neither when using other tools to read the data (such as wgrib2).
Have there been any changes to the JPEG2000 driver (JasPer) of GDAL on Windows and Mac in a previous update ?
Thanks a lot.
National coordinator, Open Data Access
Canadian Centre for Meteorological and Environmental Prediction Operations
Environment and Climate Change Canada, Government of Canada
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev