Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Real-time forecasts: 1 param, 1 date

Retrieving one field (10 meter U wind here) for all time steps and  for the forecast starting on 1st January 2015:

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



 

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

 

 

Real-time forecasts: 1 param, series of dates

Retrieving  1 field (10m U wind) for all time steps and for the whole January 2015.

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "date": "2015-01-01/2015-01-05/2015-01-08/2015-01-12/2015-01-15/2015-01-19/2015-01-22/2015-01-26/2015-01-29",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfo",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "date": "2015-01-01/2015-01-05/2015-01-08/2015-01-12/2015-01-15/2015-01-19/2015-01-22/2015-01-26/2015-01-29",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "0/to/768/by/24",
    "stream": "enfo",
    "target": "CHANGEME",
    "time": "00", 
"number": "1/to/50",
"type": "pf",
 })

 

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", })

 

 

  • No labels