emissions-api / sentinel5dl

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

Introduce Limit and Offset #61

Closed shaardie closed 3 years ago

shaardie commented 4 years ago

This patch introduces a limit and an offset command line parameter to the program.

lkiesow commented 4 years ago

Wouldn't it make more sense to add the limit/offset to searching for the products instead of curring a chunk out later? The internal search method already has these parameters:

https://github.com/emissions-api/sentinel5dl/blob/dee594b406c8581f799a0c3b1bf9fb044e2e34f3/sentinel5dl/__init__.py#L128-L129https://github.com/emissions-api/sentinel5dl/blob/dee594b406c8581f799a0c3b1bf9fb044e2e34f3/sentinel5dl/__init__.py#L139-L140