Skip to content

Commit b841110

Browse files
committed
refactor: adapt GHS products to stac properties + small fixes
1 parent 0601ca3 commit b841110

File tree

4 files changed

+142
-151
lines changed

4 files changed

+142
-151
lines changed

docs/notebooks/api_user_guide/1_providers_products_available.ipynb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,7 @@
191191
"name": "stdout",
192192
"output_type": "stream",
193193
"text": [
194-
<<<<<<< HEAD
195194
"EODAG has 275 collections stored in its internal catalog.\n"
196-
=======
197-
"EODAG has 310 product types stored in its internal catalog.\n"
198-
>>>>>>> 2ad95f009 (docs: add cop_ghsl provider)
199195
]
200196
}
201197
],
@@ -213,26 +209,15 @@
213209
"name": "stderr",
214210
"output_type": "stream",
215211
"text": [
216-
<<<<<<< HEAD
217212
"2025-08-01 10:59:03,867 eodag.config [INFO ] Fetching external collections from https://cs-si.github.io/eodag/eodag/resources/ext_collections.json\n",
218213
"2025-08-01 10:59:08,304 eodag.search.qssearch [INFO ] Fetching collections: https://hda.data.destination-earth.eu/stac/collections\n"
219-
=======
220-
"2025-10-16 17:16:39,658 eodag.config [INFO ] Fetching external product types from https://cs-si.github.io/eodag/eodag/resources/ext_product_types.json\n",
221-
"2025-10-16 17:16:39,973 eodag.search.qssearch [INFO ] Fetching product types: https://hydroweb.next.theia-land.fr/api/v1/rs-catalog/stac/search/../collections\n",
222-
"2025-10-16 17:16:43,096 eodag.search.qssearch [INFO ] Fetching product types: https://hda.data.destination-earth.eu/stac/collections\n",
223-
"2025-10-16 17:16:44,418 eodag.search.qssearch [INFO ] Fetching product types: https://geodes-portal.cnes.fr/api/stac/collections\n"
224-
>>>>>>> 2ad95f009 (docs: add cop_ghsl provider)
225214
]
226215
},
227216
{
228217
"name": "stdout",
229218
"output_type": "stream",
230219
"text": [
231-
<<<<<<< HEAD
232220
"EODAG has 911 collections stored in its extended catalog, after having fetched providers.\n"
233-
=======
234-
"EODAG has 1351 product types stored in its extended catalog, after having fetched providers.\n"
235-
>>>>>>> 2ad95f009 (docs: add cop_ghsl provider)
236221
]
237222
}
238223
],

eodag/plugins/search/cop_ghsl.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ def _create_products_from_tiles(
307307
product_type + "__" + "_".join(v for v in id_params.values() if v)
308308
)
309309

310+
params["year"] = year
310311
dataset = dataset.format(**params)
311312
dataset = dataset.replace(
312313
"__", "_"

0 commit comments

Comments
 (0)