Closed gch-meoss closed 4 months ago
Hello @gch-meoss , the difference comes from the geometry that is in one request and not in the other:
search_results, total_count = dag.search(
provider="peps",
productType='S1_SAR_GRD',
start='2020-02-01',
end='2020-02-16',
tileIdentifier='31TCJ',
sensorMode="IW",
polarizationMode="VV VH",
)
2024-06-12 10:13:23,592 eodag.core [INFO ] Searching product type 'S1_SAR_GRD' on provider: peps
2024-06-12 10:13:23,597 eodag.search.qssearch [INFO ] Sending search request: https://peps.cnes.fr/resto/api/collections/S1/search.json?tileid=31TCJ&sensorMode=IW&polarisation=VV VH&startDate=2020-02-01&completionDate=2020-02-16&productType=GRD&maxRecords=20&page=1
2024-06-12 10:13:25,626 eodag.core [INFO ] Found 11916 result(s) on provider 'peps'
search_results, total_count = dag.search(
provider="peps",
productType='S1_SAR_GRD',
start='2020-02-01',
end='2020-02-16',
tileIdentifier='31TCJ',
sensorMode="IW",
polarizationMode="VV VH",
geom=[0.7553100585937498, 43.230195712668774, 1.8292236328124998, 43.89492363306684],
)
2024-06-12 10:24:38,402 eodag.core [INFO ] Searching product type 'S1_SAR_GRD' on provider: peps
2024-06-12 10:24:38,415 eodag.search.qssearch [INFO ] Sending search request: https://peps.cnes.fr/resto/api/collections/S1/search.json?tileid=31TCJ&sensorMode=IW&polarisation=VV VH&startDate=2020-02-01&completionDate=2020-02-16&geometry=POLYGON ((0.7553 43.2302, 0.7553 43.8949, 1.8292 43.8949, 1.8292 43.2302, 0.7553 43.2302))&productType=GRD&maxRecords=20&page=1
2024-06-12 10:24:40,540 eodag.core [INFO ] Found 17 result(s) on provider 'peps'
Please also note that if you need to fetch all products and not only the first page of results, you can use [search_all](https://eodag.readthedocs.io/en/stable/notebooks/api_user_guide/4_search.html#search_all()) or [search_iter_page](https://eodag.readthedocs.io/en/stable/notebooks/api_user_guide/4_search.html#search_iter_page()) methods
ok thank your very much for your support, so if I understand well it is the peps rocket api which did not manage well the "tileIdentifier" arguments ?
dag.search( provider="peps", productType='S1_SAR_GRD', start='2020-02-01', end='2020-02-16', sensorMode="IW", polarizationMode="VV VH", geom=[0.7553100585937498, 43.230195712668774, 1.8292236328124998, 43.89492363306684], )
give me 17 results whereas
dag.search( provider="peps", productType='S1_SAR_GRD', start='2020-02-01', end='2020-02-16', tileIdentifier='31TCJ', sensorMode="IW", polarizationMode="VV VH", )
give me incoherent number of results
search by tileIdentifier
is only available for Sentiel-2 tiled product types on peps
. This parameter will be ignored on non-tiled Sentinel-1 product types.
You can see on their web-ui that the tile-specific form only appears for Sentinel-2.
Also, tileid
is listed in
https://peps.cnes.fr/resto/api/collections/S2ST/describe.xml
but not
https://peps.cnes.fr/resto/api/collections/S1/describe.xml
Hello
for specific request eodag seem to return too much results.
request https://peps.cnes.fr/resto/api/collections/S1/search.json?tileid=31TCJ&sensorMode=IW&polarisation=VV VH&startDate=2020-02-01&completionDate=2020-02-16&productType=GRD&maxRecords=20&page=1
return Found 11892 result(s) on provider 'peps' which seem really too much
when i use PEPS plateform I find about 17 products https://peps.cnes.fr/rocket/#/search?maxRecords=50&productType=GRD&sensorMode=IW&box=0.7553100585937498,43.230195712668774,1.8292236328124998,43.89492363306684&polarisation=VV%20VH&collection=S1&startDate=2020-02-01T00:00:00&completionDate=2020-02-16T00:00:02&page=1
do you have an idea why ?
Code To Reproduce
Output
Environment: