...
- Login to CDS (or Login to ADS)
- Copy a 2 line code, which shows a url and your own uid:API key details as followed:
- Paste the 2 line code into a %USERPROFILE%\.cdsapirc file, where in your windows environment, %USERPROFILE% is usually located at C:\Users\Username folder).
For instructions on how to create a dot file on Windows, please see here or check the instructions provided by one of users on the User Forum.
Install the CDS API client by running the following command in a Command Prompt window:
Code Block pip install cdsapi
or try
Code Block pip install --user cdsapi
- Once the CDS API client is installed, it can be used to request data from the datasets listed in the CDS and ADS catalogues. It is necessary to agree to the Terms of Use of every datasets that you intend to download. Attached to each dataset download form, the "Show API request" button displays the python code to be used.
...