emissions-api / sentinel5dl

Sentinel-5(P) Downloader
https://sentinel5dl.emissions-api.org
MIT License
12 stars 8 forks source link

Download Directory Option #49

Closed lkiesow closed 4 years ago

lkiesow commented 4 years ago

This patch introduces a non-optional command line option to specify the download directory.

EmbeddedHenni commented 4 years ago

get error during testing >>> r = search(download_dir='./test') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: search() got an unexpected keyword argument 'download_dir' have i did something wrong with the syntax?

EmbeddedHenni commented 4 years ago

this seems to work but i get http errors: import sentinel5dl r = sentinel5dl.search('./test') Retrying failed HTTP request. (22, 'The requested URL returned error: 400 Bad Request')

lkiesow commented 4 years ago

You are trying to use search(…). You want to use download(…).

EmbeddedHenni commented 4 years ago

ok thanks. working perfectly fine