Closed louisstuart96 closed 3 days ago
Hello @louisstuart96 and thanks for submitting this issue.
This has to be fixed, id
queryable should be mapped to sentinel:product_id
for S2_MSI_L1C
on earth_search
@sbrunato Thanks for replying!
earth_search
provides two Sentinal-2 products S2_MSI_L1C
and S2_MSI_L2A
. Both products need correct mapping.
Describe the bug Earth-search is an EODAG provider using StacSearch as its search plugin. Using current configuration in
providers.yml
cannot retrieve correct products (STAC items) from Earth-search.To Reproduce Use EODAG's RESTful API to request items:
GET /collections/S2_MSI_L1C/items?provider=earth_search
The response consists of item(s) like:Then, even with
provider=earth_search
query string, the requestgets item from another provider like
creodias
rather thanearth_search
itself.Additional context The original STAC item request corresponding to above is https://earth-search.aws.element84.com/v0/collections/sentinel-s2-l1c/items/S2B_50RLR_20210608_0_L1C. The response is like:
Requests like
gives the expected response. Therefore, it seems
S2B_50RLR_20210608_0_L1C
is the correct feature ID for querying the product, not the value of propertysentinel:product_id
。