emissions-api / sentinel5dl

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

downloading data #69

Closed sehHeiden closed 4 years ago

sehHeiden commented 4 years ago

Hi I currently tried to download data both in shell(windows) and python.

Both times I get the Error: (60, 'SSL certificate problem: unable to get local issuer certificate')

What might be the reason? I tried it on another pc today (linux shell). There everything was fine. Did the api change? Or am I blogged because I already downloaded something?

shaardie commented 4 years ago

Hej, there is a problem with the certificate pool in Windows, but you can use the certificates from certifi. This can be enable by running sentinel5dl with --use-certifi on Windows as described in the help.

sehHeiden commented 4 years ago

Thanks, also found out that this seams to be a Windows problem. With your advice I set sentinel5dl.ca_info = certifi.where()

and it worked out fine.