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

fix cds errors with new cdsapi version #1003

Closed
veenstrajelmer opened this issue Sep 25, 2024 · 0 comments · Fixed by #1004
Closed

fix cds errors with new cdsapi version #1003

veenstrajelmer opened this issue Sep 25, 2024 · 0 comments · Fixed by #1004

Comments

@veenstrajelmer
Copy link
Collaborator

cdsapi 0.7.3 makes some tests fail:

FAILED tests/test_download.py::test_cds_credentials_newurl_incorrectkey_rcfile - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_download.py::test_cds_credentials_newurl_incorrectkey_envvars - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_download.py::test_cds_credentials_oldurl_incorrectkey_rcfile - Failed: DID NOT RAISE <class 'ValueError'>

ERROR tests/test_download.py::test_download_era5 - requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://cds-beta.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-single-levels/execution
Authentication failed
operation not allowed
ERROR tests/test_modelbuilder.py::test_preprocess_merge_meteofiles_era5_unsupported_varlist - requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://cds-beta.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-single-levels/execution
Authentication failed
operation not allowed
ERROR tests/test_xarray_helpers.py::test_merge_meteofiles - requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://cds-beta.climate.copernicus.eu/api/retrieve/v1/processes/reanalysis-era5-single-levels/execution
Authentication failed
operation not allowed
@veenstrajelmer veenstrajelmer linked a pull request Sep 25, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant