Larger s3 area.

This commit is contained in:
Felix Delattre 2026-01-11 02:20:17 +01:00
parent d925378ff4
commit cd1a7d0ab8
4 changed files with 71 additions and 9 deletions

View file

@ -126,6 +126,10 @@ def _process_ndvi_files(
return
for geotiff_file in geotiff_files:
# Skip DIST_CLOUD files silently (single-band distance-to-clouds, not suitable for NDVI)
if "DIST_CLOUD" in geotiff_file.name:
continue
# Check if file has enough bands (need at least 4 for RED and NIR)
try:
with rasterio.open(geotiff_file) as src: