See Brief request syntax to understand each keyword.
ERA-15 Surface
2m temperature. August 1986.
ECMWF Public Dataset web interface
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() server.retrieve({ 'stream' : "oper", 'levtype' : "sfc", 'param' : "167.128", 'repres' : "gg", 'step' : "0", 'time' : "12", 'date' : "1986-08-01/to/1986-08-31", 'dataset' : "era15", 'type' : "an", 'class' : "er", 'target' : "era15_1986-08-01to1986-08-31_12.grib" })