Open honnorat opened 1 year ago
Thanks for the detailed report. Are you able to share the m_jpeg.grib2
file so we can add it as a test?
cc: @zklaus
I am afraid my jasper patch was insufficient. We need to explicitly initialize and deinitialize the jasper library. The official docs have quite good information on that at https://jasper-software.github.io/jasper-manual/latest/html/lib_init.html, but a good model could also be the following PR from g2clib NOAA-EMC/NCEPLIBS-g2c#250.
Thanks for the detailed report. Are you able to share the
m_jpeg.grib2
file so we can add it as a test?
Of course: https://link.infini.fr/m_jpeg
Solution to issue cannot be found in the documentation.
Issue
Since installation of latest version of
jasper
(version 4.0.0),wgrib2
is no longer able to decodegrid_jpeg
packed grib messages.With
jasper 2
, everything is OK:Here are the differences between my working and failing environments:
Installed packages
Environment info