maawoo / ARDCube

Utility to create Analysis Ready (Earth Observation) Data Cubes
GNU General Public License v3.0
5 stars 0 forks source link

Try to improve handling of LTA product download #9

Open maawoo opened 3 years ago

maawoo commented 3 years ago

Only related to Sentinel-1 data downloaded from Copernicus Open Access Hub via sentinelsat. Related documentation: https://sentinelsat.readthedocs.io/en/stable/api_overview.html#lta-products

Currently, the download() method is used, which automatically triggers the retrieval from LTA. It would be better to use the OData query and is_online() method (as mentioned in the docs) first to check if queried scenes are immediately available or not.

maawoo commented 3 years ago

LTA retrieval got even worse: https://github.com/sentinelsat/sentinelsat/issues/466

John mentioned that esa_sentinel includes an ASF API. I didn't know about that when I decided to implement sentinelsat. Might be worth checking out in the future.

jonas-eberle commented 3 years ago

Hi @maawoo, take a look at this library: https://github.com/fpl/scihub

maawoo commented 3 years ago

Thanks @jonas-eberle!