To be able to download data from ECMWF you first need to create an account with ECMWF. To do that go on the following site:
https://www.ecmwf.int/user/login
Click on "Register" at the bottom. Fill the form and click on the big "Register" button at the end.
Next you need to setup your CDS API personal access token. To do that follow the steps on the following page:
https://cds.climate.copernicus.eu/how-to-api
Log in to your account.
You need to follow the steps for the "Linux users". All you need to do is step 1.3. :
"Once logged in, copy the code displayed below to the file $HOME/.cdsapirc".
You need to create this file in the home of any of our internal servers. If you do not see a long (more than 30 character) string with numbers, letters and dashes in the blackish box you are probably not logged in. You need to be logged in to see this string. Then just create the file $HOME/.cdsapirc and copy-paste the full content of the blackish box into it.
Step 2. is already done. See below how to use our already installed CDS API client.
When you download data for the first time you will be asked to accept a license. You need to to this just once.
To be able to use our common CDF API client you need to load:
module load python3/miniconda312 source activate cdsapi |