-
Notifications
You must be signed in to change notification settings - Fork 60
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
Exception: Missing/incomplete configuration #37
Comments
Can anyone help me with this issue??? |
@saptisunil It looks like you need to add Here is how to set it up if this file doesn't exist. |
Hi, |
@lgloege it doesn't work for me. the .cdsapirc is complete. |
Just put the two lines of text from the .cdsapirc file arguments in the cdsapi.Client(url = "...", key = "...") function instead. |
The URL looks to be changed to: https://cds.climate.copernicus.eu/how-to-api :-/ |
Exception Traceback (most recent call last)
in
1 import cdsapi
2
----> 3 c = cdsapi.Client()
4
5 c.retrieve(
~\anaconda3\lib\site-packages\cdsapi\api.py in init(self, url, key, quiet, debug, verify, timeout, progress, full_stack, delete, retry_max, sleep_max, wait_until_complete, info_callback, warning_callback, error_callback, debug_callback, metadata, forget, session)
299
300 if url is None or key is None or key is None:
--> 301 raise Exception("Missing/incomplete configuration file: %s" % (dotrc))
302
303 self.url = url
Exception: Missing/incomplete configuration file: C:\Users\HP/.cdsapirc
The text was updated successfully, but these errors were encountered: