Closed paapu88 closed 1 year ago
Hi Markus!
We believe this error to be in the netcdf4 dependency for xarray. We have a found a possible solution to be to create a file in your home directory called .ncrc
and add this line:
HTTP.SSL.CAINFO=/etc/ssl/certs/ca-certificates.crt
Please retry this and let me know if this does not solve the issue
Hello Markus!
Please check Johannes reply above for a suggest fix!
I just wanted to add that the certificates on thredds.met.no are configured according to recommended practice - the scan results are available on https://www.ssllabs.com/ssltest/analyze.html?d=thredds.met.no&hideResults=on
As the server is passing the SSL test with no warnings in the section "Certification Paths", it seems to be a problem on the client side. Please try the proposed workaround, or upgrade your software libraries. It may have been fixed in more recent releases of NetCDF.
I tested with xarray version xarray==2023.1.0 and now it works.
So it was my problem had nothing to do with your site, sorry for a false alarm.
My guess is that my version of xarray or some other package was too old.
Was trying to run copy pasted example from metno examples:
but got error
Error:curl error: Problem with the SSL CA cert (path? access rights?)
google says this is server side error due to
outdated SSL certificate(s) for cURL installed on the server.
terveisin, Markus