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

Error: "'tuple' object is not callable" upon calling c.retrieve() method #15

Closed
Samgrocock opened this issue Apr 27, 2020 · 2 comments
Closed

Comments

@Samgrocock
Copy link

cdsapi version: 0.2.7

.cdsapirc file format:
url: https://cds.climate.copernicus.eu/api/v2
key: UID:KEY

Can't figure out what's going wrong, I've seen that others are also having the same issue but haven't been able to find the cause or a fix.

@Samgrocock
Copy link
Author

This was due to me failing to include the UID in the "key" argument for the api.client() call, so that splitting the string by ":" didn't yield a tuple with 2 items (UID, key). I removed the arguments from the call and now the .cdsapirc file is used which has the correct UID:KEY format.

@galmyk
Copy link

galmyk commented Feb 8, 2021

You must agree with the license terms of the Copernicus products in this page (after login):

https://cds.climate.copernicus.eu/cdsapp/#!/terms/licence-to-use-copernicus-products

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

2 participants