From 10ae28c9eb0b471c7305f8cd9467761cf28decc0 Mon Sep 17 00:00:00 2001 From: BRAUN REMI Date: Thu, 14 Mar 2024 17:30:48 +0100 Subject: [PATCH] FIX: Correct `SWIR_CIRRUS` spectral band's enum value (to `SWIR_CIRRUS` instead of `CIRRUS`), avoiding shadowing cloud band `CIRRUS` #131 --- CHANGES.md | 4 ++++ eoreader/bands/band_names.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index a4bf3fe8..61f3ee74 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Release History +## 0.21.1 (2024-mm-dd) + +- FIX: Correct `SWIR_CIRRUS` spectral band's enum value (to `SWIR_CIRRUS` instead of `CIRRUS`), avoiding shadowing cloud band `CIRRUS` ([#131](https://github.com/sertit/eoreader/issues/131)) + ## 0.21.0.post0 (2024-01-08) - FIX: Don't force install `planetary-computer` or `stac-asset` to use EOReader diff --git a/eoreader/bands/band_names.py b/eoreader/bands/band_names.py index aad4b025..7c06be19 100644 --- a/eoreader/bands/band_names.py +++ b/eoreader/bands/band_names.py @@ -129,8 +129,8 @@ class SpectralBandNames(BandNames): WV = "WATER_VAPOUR" """Water vapour""" - SWIR_CIRRUS = "CIRRUS" - """Cirrus""" + SWIR_CIRRUS = "SWIR_CIRRUS" + """SWIR Cirrus""" SWIR_1 = "SWIR_1" """SWIR, Band 1"""