Download SAFE format using sentinelhub

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.)



you can download from the prompt like this:

$ --tile T33UUB 2018-03-08

You can access help with

$ --help

And for more info please check this documentation page.

1 Like