emissions-api / sentinel5dl

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

Issue with searching & downloading Sentinel-5P data using proxy environment. #79

Open rrsc1234 opened 2 years ago

rrsc1234 commented 2 years ago

Hi. I am trying to download sentinel-5p data by using the following code:

from sentinel5dl import search, download

result = search(
        polygon='POLYGON((7.8 49.3,13.4 49.3,13.4 52.8,7.8 52.8,7.8 49.3))',
        begin_ts='2019-09-01T00:00:00.000Z',
        end_ts='2019-09-17T23:59:59.999Z',
        product='L2__CO____',
        processing_level='L2',
        processing_mode='Offline')

# Download found products to the local folder
download(result.get('products'))

After running the above code I am getting the following error: error: (4, "Unsupported proxy 'https://user5:user5@123@192.168.45.28:8080', libcurl is built without the HTTPS-proxy support.")

With the same proxy settings I am able to download Sentinel 1 & 2 data using sentinelsat python library. But when i am using this library I am getting the above error.

Please help me in how to resolve this issue.