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

Compare with Current View Page History

Version 1 Next »

Real-time forecasts

The NCEP real-time forecasts consist of a 16-member ensemble run every day. The S2S archive contains all the NCEP real-time forecasts since 1st January 2015.

1. 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": "kwbc",
    "param": "165",
    "step": "24/to/1056/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": "kwbc",
    "param": "165",
    "step": "24/to/1056/by/24",
    "stream": "enfo",
    "target": "CHANGEME",
    "time": "00", 
     "number": "1/to/15",
    "type": "pf",
 })

 

2. 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/to/2015-01-31",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "kwbc",
    "param": "165",
    "step": "24/to/1056/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/to/2015-01-31",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ecmf",
    "param": "165",
    "step": "24/to/1056/by/24",
    "stream": "enfo",
    "target": "CHANGEME",
    "time": "00", 
     "number": "1/to/15",
    "type": "pf",
 })

 

 Re- forecasts

The NCEP re-forecasts dataset is a "fixed" dataset which means that the re-forecasts are produced once from a "frozen" version of the model and are used for a number of years to calibrate real-time forecast.

The NCEP re-forecasts consist of a 4-member ensemble run every day from 1st January 1999 to 31 December 2010. Because of the large volume of this re-forecast dataset, the NCEP re-forecasts are archived on

a daily basis in the S2S database. Each day,  the NCEP re-forecasts corresponding to this day from 1999 to 2010 are archived in  the S2S database. This means that the complete NCEP re-forecast database will only be  available

at the end of 2015.


As for the other models, NCEP re-forecasts are archived in the S2S database with 2 date attributes:

  • hdate which corresponds to the actual starting date of the re-forecast
  • Date which correspond tot he ModelVersionDate.Since the NCEP re-forecasts are "fixed" re-forecasts this ModelVersiondate is the same for all the re-forecasts and equal to 20110301. This variable will change when a new version of CFS will be implemented.

1 param, 1 date

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

 

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "20000101",
    "date": "2011-03-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "kwbc",
    "param": "165",
    "step": "24/to/1056/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": "2000-01-01",
    "date": "2011-03-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "kwbc",
    "param": "165",
    "step": "24/to/1056/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00", 
     "number": "1/2/3",
    "type": "pf",
 })

 

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

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

 

#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "hdate": "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",
    "date": "2011-03-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "kwbc",
    "param": "165",
    "step": "24/to/1056/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": "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",
    "date": "2011-03-01",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "kwbc",
    "param": "165",
    "step": "24/to/1056/by/24",
    "stream": "enfh",
    "target": "CHANGEME",
    "number": "1/2/3",
    "time": "00",
    "type": "pf",
})

 


  • No labels