Search PEPS S2 products by tile idSee original GitHub issue
Most people I know are downloading PEPS images by tile id (e.g. for experiments on S2 L1C->L2A processing) There is an example on how to do that in https://eodag.readthedocs.io/en/stable/tutorials/tuto_search_area.html#Custom-locations-configuration:-download-products-from-a-Sentinel-2-tile. It may be useful for a regex search like “31T[CDE][MLK]”, but it seems pretty complex to get only one tile, e.g. “31TFK”.
Would it be possible to integrate an example such as the following somewhere in the documentation/tutorials?
products = dag.search_all( productType='S2_MSI_L1C', start='2018-06-01', end='2018-12-01', tileid="31TFK" )
- Created 2 years ago
Top GitHub Comments
As for others provider specific parameters, you can use it as custom query parameter in eodag. It will be included in the request to the provider:
prods, _ = dag.search(tileid="31TFK", foo="bar", **other_args)
When working on #242 we can look for similar parameters on other providers and include it in providers configuration and documentation
Yes you got it right,
tileid is unknown to eodag but still propagated through the query mechanism and included in the query URL.
We just opened https://github.com/CS-SI/eodag/issues/242 that highlights the issue of EODAG’s internal catalog not being easy to access. We were thinking about automatically generating a nice HTML page to have a quick overview of what products are available. We could add in this page, for each product type, which extra search parameters (beyond start, end and geometry) EODAG knows about. These extra parameters are currently difficult to find. Prior to that, we would need to:
tileidas a query-able parameter for PEPS (in the returned JSON, the corresponding property seems to be
- Do the same thing for the other providers that offer the same or similar query parameter