Download SAFE format using sentinelhub


#1

I like to use sentinelhub.download_safe_format directly from the prompt (LINUX).

First I try:
[jonasardo@aurora-nateko test2]$ python sentinelhub.download_safe_format(tile=(‘T33UUB’, ‘2018-03-03’))
bash: syntax error near unexpected token `(’

which do not work.

Starting python as below works fine:
[jonasardo@aurora-nateko test2]$ python
Python 3.5.2 (default, Aug 31 2016, 11:47:41)
[GCC 5.4.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

import sentinelhub
sentinelhub.download_safe_format(tile=(‘T33UUB’, ‘2018-03-08’))

How do I use it directly from the prompt?
How do I access the program help/syntax (“program --help”)?
(I am not normally a python user.)

Thanks
/Jonas


#2

Hi,

you can download from the prompt like this:

$ sentinelhub.aws --tile T33UUB 2018-03-08

You can access help with

$ sentinelhub.aws --help

And for more info please check this documentation page.