Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EBAF-TOA data not downloadable #61

Open
mickyals opened this issue Nov 2, 2023 · 0 comments
Open

EBAF-TOA data not downloadable #61

mickyals opened this issue Nov 2, 2023 · 0 comments

Comments

@mickyals
Copy link

mickyals commented Nov 2, 2023

Running the code to fetch the netCDF file from using pooch.retrieve() returns a SSLError.

import pooch

fname = pooch.retrieve(
    'http://ldeo.columbia.edu/~rpa/CERES_EBAF-TOA_Edition4.0_200003-201701.condensed.nc',
    known_hash='a876cc7106e7dcb1344fbec5dcd7510e5cd947e62049a8cbc188ad05ffe00345'
)

print(fname)

Error

SSLError: HTTPSConnectionPool(host='ldeo.columbia.edu', port=443): Max retries exceeded with url: /~rpa/CERES_EBAF-TOA_Edition4.0_200003-201701.condensed.nc (Caused by SSLError(CertificateError("hostname 'ldeo.columbia.edu' doesn't match '*.ldeo.columbia.edu'")))

I've tried directly downloading from the URL which works, the issue only appears when attempting to fetch the data indirectly using python.

Is there a workaround in this case or another package other than pooch that can be recommended?

Thanks for your help

@mickyals mickyals changed the title Issue on page /assignments/basic_xarray.html EBAF-TOA data not downloadable Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant