From f56b9c475bb5c6d49b8ed318365bd47aae871a72 Mon Sep 17 00:00:00 2001 From: guillemc23 Date: Tue, 19 Nov 2024 10:44:04 +0100 Subject: [PATCH 1/4] tweak: Tweaked PAZ Regex to include ST --- eoreader/reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eoreader/reader.py b/eoreader/reader.py index 18b609de..761789e1 100644 --- a/eoreader/reader.py +++ b/eoreader/reader.py @@ -314,7 +314,7 @@ def is_real_constellation(cls, const: Constellation): ], Constellation.TSX: r"TSX1_SAR__(SSC|MGD|GEC|EEC)_([SR]E|__)___[SH][MCLS]_[SDTQ]_[SD]RA_\d{8}T\d{6}_\d{8}T\d{6}", Constellation.TDX: r"TDX1_SAR__(SSC|MGD|GEC|EEC)_([SR]E|__)___[SH][MCLS]_[SDTQ]_[SD]RA_\d{8}T\d{6}_\d{8}T\d{6}", - Constellation.PAZ: r"PAZ1_SAR__(SSC|MGD|GEC|EEC)_([SR]E|__)___[SH][MCLS]_[SDTQ]_[SD]RA_\d{8}T\d{6}_\d{8}T\d{6}", + Constellation.PAZ: r"PAZ1_SAR__(SSC|MGD|GEC|EEC)_([SR]E|__)___[SH][MCLST]_[SD]_[SD]RA_\d{8}T\d{6}_\d{8}T\d{6}", Constellation.RS2: r"RS2_(OK\d+_PK\d+_DK\d+_.{2,}_\d{8}_\d{6}|\d{8}_\d{6}_\d{4}_.{1,5})" r"(_(HH|VV|VH|HV)){1,4}_S(LC|GX|GF|CN|CW|CF|CS|SG|PG)(_\d{6}_\d{4}_\d{8}|)", Constellation.PLD: r"IMG_PHR1[AB]_(P|MS|PMS|MS-N|MS-X|PMS-N|PMS-X)_\d{3}", From abb3e85dd9a735aba4abbdfede323a67b685389d Mon Sep 17 00:00:00 2001 From: guillemc23 Date: Tue, 19 Nov 2024 10:54:57 +0100 Subject: [PATCH 2/4] DOCS: Changed PAZ product info url --- eoreader/products/sar/paz_product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eoreader/products/sar/paz_product.py b/eoreader/products/sar/paz_product.py index d593d7e9..cd6fb20e 100644 --- a/eoreader/products/sar/paz_product.py +++ b/eoreader/products/sar/paz_product.py @@ -16,7 +16,7 @@ # limitations under the License. """ PAZ products -More info `here `_. +More info at https://earth.esa.int/eogateway/documents/20142/37627/PAZ-Image-Products-Guide.pdf. """ from eoreader.products import TsxProduct From ca031ec5a3cc2cb0266a3721e6c23553db63f172 Mon Sep 17 00:00:00 2001 From: guillemc23 Date: Tue, 19 Nov 2024 11:49:06 +0100 Subject: [PATCH 3/4] DOC: Added PR changes to `changes.md` --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 201dedf7..75896f80 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,8 @@ # Release History ## 0.21.8 (2024-mm-dd) - +- DOC: Added the [PAZ product guide](https://earth.esa.int/eogateway/documents/20142/37627/PAZ-Image-Products-Guide.pdf) to the PAZ Product documentation instead of the TerraSAR-X one +- FIX: Fixed PAZ Product Regex to properly indentify PAZ ST products as `PAZProduct` - ENH: Add a new type (`BandsType`) for list of BandType - FIX: Remove useless `_norm_diff` function `indices.py` - DOC: Update `conf.py` (remove useless hunks and set Sphinx 7 as base) From 5c43373f90d3611c160bb5b62e255d3180e197e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Braun?= <67311115+remi-braun@users.noreply.github.com> Date: Tue, 19 Nov 2024 12:02:14 +0100 Subject: [PATCH 4/4] Update CHANGES.md Just some minor modifications in the order + citing yourself ;) --- CHANGES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 75896f80..8a65b383 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,11 +1,11 @@ # Release History ## 0.21.8 (2024-mm-dd) -- DOC: Added the [PAZ product guide](https://earth.esa.int/eogateway/documents/20142/37627/PAZ-Image-Products-Guide.pdf) to the PAZ Product documentation instead of the TerraSAR-X one -- FIX: Fixed PAZ Product Regex to properly indentify PAZ ST products as `PAZProduct` - ENH: Add a new type (`BandsType`) for list of BandType +- FIX: Fixed PAZ Product Regex to properly indentify PAZ ST products as `PAZProduct` @guillemc23 - FIX: Remove useless `_norm_diff` function `indices.py` - DOC: Update `conf.py` (remove useless hunks and set Sphinx 7 as base) +- DOC: Added the [PAZ product guide](https://earth.esa.int/eogateway/documents/20142/37627/PAZ-Image-Products-Guide.pdf) to the PAZ Product documentation instead of the TerraSAR-X one @guillemc23 ## 0.21.7 (2024-11-08)