Problem
When converting to JPEG packing with the Jasper library, there is an assertion
Solution
This is a problem in the Jasper library. Try to reduced the number of bits per value
Pick a decimal precision value that will avoid the assertion
- grib_set -s setDecimalPrecision=4,packingType=grid_jpeg input.grib2 output.grib2
- Check the statistics before and after
- grib_ls -n statistics input.grib2
- grib_ls -n statistics output.grib2
- Compare the results