Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you cannot run the sudo command, just download the ecmwf-api-python-client.tgz, extract its content and copy the module ecmwfapi to a directory pointed by the environment variable PYTHONPATH.

...

Installing your API key

To access ECMWF you will need an API key that can be obtained at . For that you first need to login at https://apps.ecmwf.int/auth/login/ and then retrieve you key at https://api.ecmwf.int/v1/key/. For this, you will need to have an account on ECMWF web site. Copy the information in this page and paste it in the file $HOME/.ecmwfapirc.

Code Block
languagejavascript
titleContent $HOME/.ecmwfapirc
{
    "url"   : "https://api.ecmwf.int/v1",
    "key"   : "XXXXXXXXXXXXXXXXXXXXXX",
    "email" : "john.smith@example.com"
}

...