question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search PEPS S2 products by tile id

See 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"
)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
sbrunatocommented, Apr 22, 2021

@floriandeboissieu @maximlt tileid is a peps S2_MSI_L1C and S2_MSI_L2A specific parameter. It is not documented for the moment because it is very specific and also not included in OpenSearch for EO.

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

0reactions
maximltcommented, Apr 22, 2021

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:

  • Add tileid as a query-able parameter for PEPS (in the returned JSON, the corresponding property seems to be '$.properties.mgrs')
  • Do the same thing for the other providers that offer the same or similar query parameter
Read more comments on GitHub >

github_iconTop Results From Across the Web

Search for products by tile - eodag - Read the Docs
In this tutorial we will use a shapefile that represents the Sentinel 2 tiling grid to search for Sentinel 2 Level-1C products with...
Read more >
ELD List - ELD - Electronic Logging Devices
The product has been thoroughly tested by both internal and external, third party, testers. ... (To find the ELD Registration ID, go to...
Read more >
PEPS - Operating platform Sentinel products (CNES)
French Access to the Sentinel Products · TOUS LES TRAITEMENTS DISPONIBLES · MAJA COMPATIBLE AVEC LE NOUVEAU FORMAT S2 · Installation du patch...
Read more >
Listing Category Search Page | NSF International
NSF Product and Service Listings. These NSF Official Listings are current as of Thursday, December 22, 2022 at 12:15 a.m. Eastern Time.
Read more >
Awarded Contracts - NYCHA
Contract Number Start Date End Date Vendor Name Contract Amount 2207610 05/29/2023 05/28/2024 LEO BUILDERS CORP $192,874.00 2209063 05/14/2023 05/13/2024 SURAJ CONSTRUCTION INC $194,250.00 2203240 03/02/2023...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found