Re-forecasts: 1 param, 1 date

Retrieving  1 field (10m U wind) for all time steps and for the forecast starting on  10 January 1985

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()

server.retrieve({
 "class": "s2",
 "dataset": "s2s",
 "hdate": "1985-01-10",
 "date": "2014-03-04",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "type": "cf",
})


#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()

server.retrieve({
 "class": "s2",
 "dataset": "s2s",
 "hdate": "1985-01-10",
 "date": "2014-03-04",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "number": "1/to/4",
 "type": "pf",
})

Re- forecasts used to calibrate a real-time forecast:

Retrieving all the fields (10 meter U wind here) for all time steps and  used to calibrate the real-time forecast starting on 13 January 2015 (all re-forecasts starting on 10 January and 20 January 1981-2010)

 #!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
 "class": "s2",
 "dataset": "s2s",
"hdate":
 
"19810110/19820110/19830110/19840110/19850110/19860110/19870110/19880110/19890110/19900110/19910110/19920110/19930110/19940110/19950110/19960110/19970110/19980110/19990110/20000110/20010110/20020110/20030110/20040110/20050110/20060110/20070110/20080110/20090110/20100110",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "type": "cf",
" date": "20140304",
})
server.retrieve({
 "class": "s2",
 "dataset": "s2s",
"hdate":
 
"19810120/19820120/19830110/19840120/19850120/19860120/19870120/19880120/19890120/19900120/19910120/19920120/19930120/19940120/19950120/19960120/19970120/19980120/19990120/20000120/20010120/20020120/20030120/20040120/20050120/20060120/20070120/20080120/20090120/20100120",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "type": "cf",
" date": "20140304",
})


 #!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
 "class": "s2",
 "dataset": "s2s",
"hdate":
 
"19810110/19820110/19830110/19840110/19850110/19860110/19870110/19880110/19890110/19900110/19910110/19920110/19930110/19940110/19950110/19960110/19970110/19980110/19990110/20000110/20010110/20020110/20030110/20040110/20050110/20060110/20070110/20080110/20090110/20100110",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "type": "pf",
 "number": "1/to/4",
" date": "20140304",
})
server.retrieve({
 "class": "s2",
 "dataset": "s2s",
"hdate":
 
"19810120/19820120/19830110/19840120/19850120/19860120/19870120/19880120/19890120/19900120/19910120/19920120/19930120/19940120/19950120/19960120/19970120/19980120/19990120/20000120/20010120/20020120/20030120/20040120/20050120/20060120/20070120/20080120/20090120/20100120",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "rjtd",
 "param": "165",
 "step": "12/to/804/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "12",
 "type": "pf",
"number": "1/to/4",
"date": "20140304",
})