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
  1. grib_set -s setDecimalPrecision=4,packingType=grid_jpeg input.grib2 output.grib2
  2. Check the statistics before and after
  3. grib_ls -n statistics input.grib2
  4. grib_ls -n statistics output.grib2
  5. Compare the results

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues