Prerequisite
============

Read ECMWF python script documentation from the following link.
https://software.ecmwf.int/wiki/display/WEBAPI/Accessing+ECMWF+data+servers+in+batch

-
Register to the ECMWF website
http://apps.ecmwf.int/registration/
-

-
Retrieve your key
https://api.ecmwf.int/v1/key/
-

-
Create a file in $HOME/.ecmwfapirc containning your key.
    Content of $HOME/.ecmwfapirc 	
    {
        "url"   : "http://api.ecmwf.int/v1",
        "key"   : "MYKEY"
        "email" : "MYEMAIL"
    }
-
=== Install Python package ====

setenv PYTHONPATH /wherever/you/want/to/install/python/packages
-
Dowload and install python ECMWF API on your system.
https://software.ecmwf.int/wiki/download/attachments/23694554/ecmwf-api-client-python.tgz?api=v2

     wget "https://software.ecmwf.int/wiki/download/attachments/23694554/ecmwf-api-client-python.tgz?api=v2" --output-document=ecmwf-api-client-python.tgz
-


-
setenv PYTHONPATH /wherever/you/want/to/install/python/packages
python setup.py build
python setup.py install --prefix=/wherever/you/want/to/install/python/packages

-

Please run the following script to pull the example file from ECMWF repository
-
python verification.py
-


