From 9e8b366f522178e73d08d01abbc9f1b830c5a3e8 Mon Sep 17 00:00:00 2001 From: Julia Date: Mon, 7 Sep 2026 10:40:52 +0200 Subject: [PATCH] refactor: add new ecmwf property --- eodag/plugins/search/build_search_result.py | 2 +- eodag/types/stac_extensions.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/eodag/plugins/search/build_search_result.py b/eodag/plugins/search/build_search_result.py index 68f5eecfca..24de2ee40c 100644 --- a/eodag/plugins/search/build_search_result.py +++ b/eodag/plugins/search/build_search_result.py @@ -937,7 +937,7 @@ def queryables_by_form( name: str = element["name"] # those are not parameter elements. - if name in ("area_group", "global", "warning", "licences"): + if name in ("area_group", "global", "warning", "licences", "geo_group"): continue if "type" not in element or element["type"] == "FreeEditionWidget": # FreeEditionWidget used to select the whole available region diff --git a/eodag/types/stac_extensions.py b/eodag/types/stac_extensions.py index 3faf84a175..8f0dbc8421 100644 --- a/eodag/types/stac_extensions.py +++ b/eodag/types/stac_extensions.py @@ -623,6 +623,7 @@ class EcmwfItemProperties(BaseModel): ecmwf_period: Annotated[list[str], Field(None)] ecmwf_altitude: Annotated[int, Field(None)] ecmwf_location: Annotated[dict[str, int], Field(None)] + ecmwf_timespan: Annotated[list[str], Field(None)] class ProviderStacExtension(BaseStacExtension):