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 ?

Ref: https://github.com/OSGeo/gdal/issues/3860

Thanks a lot.

Sandrine Edouard
National coordinator, Open Data Access
Canadian Centre for Meteorological and Environmental Prediction Operations
Environment and Climate Change Canada, Government of Canada

_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to