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.esa.int/ 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.esa.int/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.
More data and also how to build a search URL are available at:
https://scihub.esa.int/userguide
and
https://scihub.esa.int/userguide/BatchScripting
By Ran Novitsky Nof (ran.nof@gmail.com) @ BSL, 2015