...
- In your web browser...
- Go to https://apps.ecmwf.int/v1/key
- Log in with your ECMWF user and password if you are not logged int already
- Copy your API key
In a terminal (ssh or console) session on your new VM, run the following command to install your credentials on your account in this VM:
No Format mars --token <yourkey> --email <youremail>
Example: if your API key is da7y37f1d5c7494662e36df034bn6323 and your email is john.smith@email.me :
mars --token da7y37f1d5c7494662e36df034bn6323 --email john.smith@email.meNo Format - the contents of .ecmwfapirc, containing your email address and key.
- In your VM, create a file in your home directory called ~/.ecmwfapirc and paste the contents previously copied from the web.
Test your setup
Info |
---|
You may only access data you have been granted access to. In some cases you may not be able to retrieve valid forecast data. |
...