You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugins.download.base.Download._finalize takes care of extracting a product if required and returns the path to the product. There is a mechanism to inspect
There is a mechanism to handle which path to return when the product is extracted:
PEPS and sobloo have archive_depth: 2 in their config, which means that the path returned after extraction is outputs_prefix/product_title/subdirectory.
I guess it needs to be set for some other providers, e.g. onda, theia, creodias (those that make use of the HTTPDownload plugin).
(I saw that while updating eodag-sentinelsat.)
The text was updated successfully, but these errors were encountered:
As the comment says # WARNING: A strong assumption is made here: there is only one subdirectory per level , I'm not sure whether this mechanism is robust to all the products made available by these providers.
plugins.download.base.Download._finalize
takes care of extracting a product if required and returns the path to the product. There is a mechanism to inspectThere is a mechanism to handle which path to return when the product is extracted:
eodag/eodag/plugins/download/base.py
Lines 275 to 284 in bab1b7e
PEPS and sobloo have
archive_depth: 2
in their config, which means that the path returned after extraction isoutputs_prefix/product_title/subdirectory
.I guess it needs to be set for some other providers, e.g. onda, theia, creodias (those that make use of the
HTTPDownload
plugin).(I saw that while updating
eodag-sentinelsat
.)The text was updated successfully, but these errors were encountered: