nakas Claude commited on
Commit
7d60d73
·
1 Parent(s): 41591b1

Add system dependencies for GRIB processing to Dockerfile

Browse files

Added required system libraries for ECMWF data processing:
- libeccodes-dev: Core ECMWF GRIB decoding library
- libeccodes-tools: GRIB processing tools
- gfortran: Fortran compiler for GRIB libraries
- libhdf5-dev: HDF5 data format support
- libnetcdf-dev: NetCDF data format support

These dependencies are required for cfgrib and xarray
to properly process ECMWF GRIB weather data files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -3,6 +3,15 @@ FROM python:3.11-slim
3
  # Set working directory
4
  WORKDIR /app
5
 
 
 
 
 
 
 
 
 
 
6
  # Copy requirements file
7
  COPY requirements.txt .
8
 
 
3
  # Set working directory
4
  WORKDIR /app
5
 
6
+ # Install system dependencies for GRIB processing
7
+ RUN apt-get update && apt-get install -y \
8
+ libeccodes-dev \
9
+ libeccodes-tools \
10
+ gfortran \
11
+ libhdf5-dev \
12
+ libnetcdf-dev \
13
+ && rm -rf /var/lib/apt/lists/*
14
+
15
  # Copy requirements file
16
  COPY requirements.txt .
17