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
Describe the bug
When querying a Sentinel-2 product by tile (with the provided shapefile), the result may be empty for partial products (edge of swath) if the tile centroid is outside the S2 footprint.
2022-11-25 11:46:40,486 eodag.config [INFO ] (config ) Loading user configuration from: C:\Users\rbraun\.config\eodag\eodag.yml
2022-11-25 11:46:40,631 eodag.core [INFO ] (core ) usgs: provider needing auth for search has been pruned because no crendentials could be found
2022-11-25 11:46:40,631 eodag.core [INFO ] (core ) aws_eos: provider needing auth for search has been pruned because no crendentials could be found
2022-11-25 11:46:40,755 eodag.core [DEBUG ] (core ) Opening product types index in C:\Users\rbraun\.config\eodag\.index
2022-11-25 11:46:40,760 eodag.core [INFO ] (core ) Locations configuration loaded from C:\Users\rbraun\AppData\Local\Temp\tmpygpootyf\custom_locations.yml
2022-11-25 11:46:40,760 eodag.config [INFO ] (config ) Loading user configuration from: D:\_EODOWNLOAD\eodownload\eodownload\data\sertit_conf_template.yml
2022-11-25 11:46:40,776 eodag.config [INFO ] (config ) usgs: unknown provider found in user conf, trying to use provided configuration
2022-11-25 11:46:40,776 eodag.config [INFO ] (config ) aws_eos: unknown provider found in user conf, trying to use provided configuration
2022-11-25 11:46:41,335 eodag.core [DEBUG ] (core ) Searching for all the products with provider earth_search and a maximum of 500 items per page.
2022-11-25 11:46:42,121 eodag.core [INFO ] (core ) Searching product type 'S2_MSI_L2A' on provider: earth_search
2022-11-25 11:46:42,122 eodag.core [DEBUG ] (core ) Using plugin class for search: StacSearch
2022-11-25 11:46:42,122 eodag.core [INFO ] (core ) Iterate search over multiple pages: page #1
2022-11-25 11:46:42,122 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Mapping eodag product type to provider product type
2022-11-25 11:46:42,122 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Getting provider product type definition parameters for S2_MSI_L2A
2022-11-25 11:46:42,203 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Building the query string that will be used for search
2022-11-25 11:46:42,203 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Retrieving queryable metadata from metadata_mapping
2022-11-25 11:46:42,203 eodag.plugins.search.qssearch [INFO ] (qssearch ) Sending search request: https://earth-search.aws.element84.com/v0/search
2022-11-25 11:46:42,203 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Query parameters: {'collections': ['sentinel-s2-l2a'], 'datetime': '2022-05-07T00:00:00.000Z/2022-05-08T00:00:00.000Z', 'intersects': {'type': 'Point', 'coordinates': [31.695828581223143, 1.3127651504842646]}, 'limit': 500, 'page': 1}
2022-11-25 11:46:43,107 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Next page Query-object could not be collected
2022-11-25 11:46:43,122 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Next page merge could not be collected
2022-11-25 11:46:43,122 eodag.plugins.search.qssearch [DEBUG ] (qssearch ) Adapting 0 plugin results to eodag product representation
2022-11-25 11:46:43,122 eodag.core [DEBUG ] (core ) Iterate over pages: last products found on page 0
2022-11-25 11:46:43,122 eodag.core [INFO ] (core ) Found 0 result(s) on provider 'earth_search'
2022-11-25 11:46:43,122 eodag.core [INFO ] (core ) Empty search result, nothing to be downloaded !
Hello @remi-braun , thanks very much for pointing out this issue.
Searching tiles using the centroids like in the tutorial does not seem fully reliable for all providers.
We should test this example on other providers and mention in the tutorials the one having this issue.
Also related to #255 , to natively query using tiles when the provider supports it.
Describe the bug
When querying a Sentinel-2 product by tile (with the provided shapefile), the result may be empty for partial products (edge of swath) if the tile centroid is outside the S2 footprint.
Code To Reproduce
Output
However a product does exist here:
Environment:
The text was updated successfully, but these errors were encountered: