Translate the whole project to English and fix outdated comments and help

Comments, docstrings, logs, CLI help, map UI, legends, PDF sheet, scripts,
compose files and AGENTS.md are now English. Data keys stay unchanged
(relief_oriente, densite_sol, visualisations/, API JSON keys, link params).
Wrong comments and help defaults found along the way are corrected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Antoine
2026-09-27 23:16:45 +02:00
parent cc1c22d2b8
commit fb892ea9f2
52 changed files with 4356 additions and 4323 deletions

View File

@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
# Install Python packages via pip (liste unique : requirements.txt)
# Install Python packages via pip (single list: requirements.txt)
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
@ -30,8 +30,8 @@ RUN pip3 install --no-cache-dir -r requirements.txt
# the pre-built wheel (sm_89 = RTX 4060 Ti, sm_120 = RTX 5060 Ti).
# nvcc must be in PATH at runtime for JIT compilation.
ENV CUPY_CUDA_COMPILE_WITH_CACHE=1
# Cache des noyaux numba (relief orienté, accumulation) : sans lui, chaque
# worker (processus spawn par dalle) recompile ses noyaux (~1 s par dalle).
# numba kernel cache (relief_oriente, flow accumulation): without it, every
# worker (spawned process per tile) recompiles its kernels (~1 s per tile).
ENV NUMBA_CACHE_DIR=/tmp/numba-cache
ENV PATH=/usr/local/cuda/bin:${PATH}
RUN pip3 install --no-cache-dir cupy-cuda12x
@ -41,11 +41,12 @@ COPY setup.py .
COPY lidar_pipeline/ ./lidar_pipeline/
RUN pip3 install --no-cache-dir .
# CSS/JS de l'interface de la carte (app.js/app.css + Leaflet) bâchés dans
# l'image : mapserve les sert depuis mapserve_assets/ du paquet installé.
# cd /tmp : sans lui, python3 -c met le répertoire courant (/app, copie
# source) sur sys.path et le bake atterrirait dans la copie au lieu du
# paquet installé (dist-packages) qu'utilise le conteneur au runtime.
# Map interface CSS/JS (app.js/app.css from web/map.*, + vendored Leaflet)
# baked into the image: mapserve serves them from mapserve_assets/ of the
# installed package. cd /tmp: without it, python3 -c puts the current
# directory (/app, the source copy) on sys.path and the bake would land in
# that copy instead of the installed package (dist-packages) the container
# uses at runtime.
RUN cd /tmp && python3 -c "import pathlib, lidar_pipeline.mapui as m; m.write_map_assets(pathlib.Path(m.__file__).resolve().parent / m.ASSETS_DIRNAME)"