USAGE: SentinelDL.py [-h|-H|--help] URI
URI - a scihub URL for searching products
or
a scihub URL for downloading product
or
a file containing metalinks of products.
INSTRUCTIONS:
- Go to https://scihub.copernicus.eu/ and register.
- create a file .credentials with a single line containing [USER]:[PASSWORD] where USER and PASSWORD are the scihub credentials.
- Enter the hub at https://scihub.copernicus.eu/dhus/ and log in.
- Search for data.
- Add data to your cart.
- Save cart to a file (by default products.meta4).
- Run the code with the meta4 file name as a parameter.
- Instead of steps 5-7, provide product link as a parameter.
- Optionally, use the search string as URI
More data and also how to build a search URL are available at: https://scihub.copernicus.eu/userguide/ and https://scihub.copernicus.eu/userguide/BatchScripting
By Ran Novitsky Nof (ran.nof@gmail.com) @ BSL, 2015