Re- forecasts: 1 param, 1 date

Retrieving  1 field (10m U wind) for all time steps and for the 1st January 2014

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00", 
     "number": "1/2/3/4",
    "type": "pf",
 })

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

Retrieving  1 param (10m U wind) for all time steps and used to calibrate the 1st January 2015 real-time forecast (Thursday).

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-01/1996-01-01/1997-01-01/1998-01-01/1999-01-01/2000-01-01/2001-01-01/2002-01-01/2003-01-01/2004-01-01/2005-01-01/2006-01-01/2007-01-01/2008-01-01/2009-01-01/2010-01-01/2011-01-01/2012-01-01/2013-01-01/2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-01/1996-01-01/1997-01-01/1998-01-01/1999-01-01/2000-01-01/2001-01-01/2002-01-01/2003-01-01/2004-01-01/2005-01-01/2006-01-01/2007-01-01/2008-01-01/2009-01-01/2010-01-01/2011-01-01/2012-01-01/2013-01-01/2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "number": "1/2/3/4",
    "time": "00",
    "type": "pf",
})

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

Retrieving  1 param (10m U wind) for all time steps and used to calibrate the 5th January 2015 real-time forecast (Monday). It takes the re-forecast for Thursday 1st January and Thursday 8th January

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-01/1996-01-01/1997-01-01/1998-01-01/1999-01-01/2000-01-01/2001-01-01/2002-01-01/2003-01-01/2004-01-01/2005-01-01/2006-01-01/2007-01-01/2008-01-01/2009-01-01/2010-01-01/2011-01-01/2012-01-01/2013-01-01/2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-01/1996-01-01/1997-01-01/1998-01-01/1999-01-01/2000-01-01/2001-01-01/2002-01-01/2003-01-01/2004-01-01/2005-01-01/2006-01-01/2007-01-01/2008-01-01/2009-01-01/2010-01-01/2011-01-01/2012-01-01/2013-01-01/2014-01-01",
    "date": "2015-01-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "number": "1/2/3/4",
    "time": "00",
    "type": "pf",
})
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-08/1996-01-08/1997-01-08/1998-01-08/1999-01-08/2000-01-08/2001-01-08/2002-01-08/2003-01-08/2004-01-08/2005-01-08/2006-01-08/2007-01-08/2008-01-08/2009-01-08/2010-01-08/2011-01-08/2012-01-08/2013-01-08/2014-01-08",
    "date": "2015-01-08",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "1995-01-08/1996-01-08/1997-01-08/1998-01-08/1999-01-08/2000-01-08/2001-01-08/2002-01-08/2003-01-08/2004-01-08/2005-01-08/2006-01-08/2007-01-08/2008-01-08/2009-01-08/2010-01-08/2011-01-08/2012-01-08/2013-01-08/2014-01-08",
    "date": "2015-01-08",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "number": "1/2/3/4",
    "time": "00",
    "type": "pf",
})