You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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



  • No labels