Add cdo to runtime image for NARR GRIB1 decoding

NARR is GRIB1 and wgrib2 doesn't decode GRIB1 messages
(rd_grib2_seq_msg, grib1 message ignored, use wgrib). cdo handles
GRIB1 + the Lambert conformal projection + nearest-neighbor remap
that NARR's Grid 221 needs. Pulls in libnetcdf/libhdf5/libudunits2
transitively, ~30-60 MB image growth.
This commit is contained in:
Graham McIntire 2026-04-15 17:13:00 -05:00
parent 8320becee7
commit 1faeb60e3c
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -137,7 +137,7 @@ FROM ${RUNNER_IMAGE} AS final
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libstdc++6 openssl libncurses6 locales ca-certificates snmp \
libgfortran5 libaec0 zlib1g libpng16-16t64 libopenjp2-7 \
libgfortran5 libaec0 zlib1g libpng16-16t64 libopenjp2-7 cdo \
&& rm -rf /var/lib/apt/lists/*
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen