From 0a1e7ea57ebe448fd3f9f6941567f3784833e1ac Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 14 Apr 2026 10:26:29 -0500 Subject: [PATCH] Build wgrib2 with PNG + AEC decoders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prod wgrib2 3.6.0 was built without PNG support (cmake had no -DUSE_PNG flag) so MrmsFetchWorker crashed on every tick with 'packing type 41 not supported' — MRMS PrecipRate tiles are PNG-compressed (GRIB2 DRT 5.41). libpng-dev was already in the builder stage; the cmake invocation just never asked wgrib2 to use it. Also turn on -DUSE_AEC=ON since libaec-dev is already installed and some HRRR native-grid variables ship with AEC/CCSDS 121 compression. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9390dcf5..d457af6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ RUN wget -q --content-disposition "https://github.com/NOAA-EMC/wgrib2/archive/re && cd wgrib2-${WGRIB2_VERSION} \ && mkdir build && cd build \ && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \ + -DUSE_PNG=ON -DUSE_AEC=ON \ && make -j$(nproc) \ && make install \ && strip /usr/local/bin/wgrib2