Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query using Scientific Data Hub returns 14 results but only the first 10 are downloaded #4

Closed
BayAludra opened this issue Aug 19, 2016 · 1 comment

Comments

@BayAludra
Copy link

If I am using the Scientific Data Hub for querying for possible tiles I am not getting the correct number of tiles.

With the following link one receives 14 results in total but only the results 0-9 are shown:

https://scihub.copernicus.eu/apihub/search?rows=10&q=platformName%3ASentinel-2%20AND%20beginPosition%3A[NOW-171DAY%20TO%20NOW]%20AND%20relativeOrbitNumber%3A93%20AND%20footprint%3A%22Intersects%28POLYGON%28%2822.2506169248%2044.1352507247%2C23.6676210768%2044.1352507247%2C23.6676210768%2045.1467528551%2C22.2506169248%2045.1467528551%2C22.2506169248%2044.1352507247%29%29%29%22

Therefore, the tool is downloading only 10 tiles instead of the 14 existing results. When using AWS to search for available tiles everything works fine.

@kraftek
Copy link
Owner

kraftek commented Aug 20, 2016

Hello.

Please review all the supported command line arguments. There is an argument (-l or --limit) that controls how many results are returned by SciHub. The default is 10.

----- Reply message -----
From: "BayAludra" notifications@github.com
To: "kraftek/awsdownload" awsdownload@noreply.github.com
Subject: [kraftek/awsdownload] Query using Scientific Data Hub returns 14 results but only the first 10 are downloaded (#4)
Date: Fri, Aug 19, 2016 12:36

If I am using the Scientific Data Hub for querying for possible tiles I am not getting the correct number of tiles.

With the following link one receives 14 results in total but only the results 0-9 are shown:

https://scihub.copernicus.eu/apihub/search?rows=10&q=platformName%3ASentinel-2%20AND%20beginPosition%3A[NOW-171DAY%20TO%20NOW]%20AND%20relativeOrbitNumber%3A93%20AND%20footprint%3A%22Intersects%28POLYGON%28%2822.2506169248%2044.1352507247%2C23.6676210768%2044.1352507247%2C23.6676210768%2045.1467528551%2C22.2506169248%2045.1467528551%2C22.2506169248%2044.1352507247%29%29%29%22

Therefore, the tool is downloading only 10 tiles instead of the 14 existing results. When using AWS to search for available tiles everything works fine.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kraftek/awsdownload","title":"kraftek/awsdownload","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kraftek/awsdownload"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Query using Scientific Data Hub returns 14 results but only the first 10 are downloaded (#4)"}],"action":{"name":"View Issue","url":"https://github.com/kraftek/awsdownload/issues/4"}}}

@kraftek kraftek closed this as completed Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants