Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Re-forecasts

2.1 1 param, 1 date

 


Code Block
languagepy
 #

...

!/usr/bin/env python

...


from ecmwfapi import ECMWFDataServer

...


server = ECMWFDataServer()

...


server.retrieve({

...


    "class": "s2",

...


    "dataset": "s2s",

...


    "hdate": "

...

1993-01-01",

...


    "date": "2014-

...

12-01",

...

 
    "expver": "prod",

...


    "levtype": "sfc",

...


    "origin": "

...

lfpw",

...


    "param": "tp",

...


    "step": "24/to/

...

1464/by/24",

...


    "stream": "enfh",

...


    "target": "CHANGEME",

...


    "time": "00",

...


    "type": "cf",

...


})



  

Code Block
language

...

py
  #!/usr/bin/env python

...


from ecmwfapi import ECMWFDataServer

...


server = ECMWFDataServer()

...


server.retrieve({

...


    "class": "s2",

...


    "dataset": "s2s",

...


    "hdate": "

...

1993-01-01",

...


    "date": "2014-01-01",

...

 
    "expver": "prod",

...


    "levtype": "sfc",

...


    "origin": "

...

lfpw",

...


    "param": "tp",

...


    "step": "24/to/

...

1464/by/24",

...


    "stream": "enfh",

...


    "target": "CHANGEME",

...


    "time": "00",

...


    "type": "pf",

...


    "number": "1/to/

...

14",

...


})

 

 

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

Retrieving one field (total precipitation here) for all time steps and  for all the re-forecast forecasts used to calibrate the real-time forecast starting on 8 February 1 May 2015. For this request, all the re-forecasts starting on 6 February 1981-2013 and11 February 1981-2013 1 May 1993-2014  are retrieved

2.2.1 Control forecast

 

 #!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
 "class": "s2",
 "dataset": "s2s",
"hdate": "19810206/19820206/19830206/19840206/19850206/19860206/19870206/19880206/19890206/19900206/19910206/19920206/19930206/19940206/19950206/19960206/19970206/19980206/19990206/20000206/20010206/20020206/20030206/20040206/20050206/20060206/20070206/20080206/20090206/20100206/20110206/20120206/20130206",
 "expver": "prod",
 "levtype": "sfc",
 "origin": "ammc",
 "param": "tp",
 "step": "24/to/1488/by/24",
 "stream": "enfh",
 "target": "CHANGEME",
 "time": "00",
 "type": "cf",
" date": "20140101",
})

 

 


Code Block
languagepy
 #

...

!/usr/bin/env python

...


from ecmwfapi import ECMWFDataServer

...


server = ECMWFDataServer()

...


server.retrieve({

...


 "class": "s2",

...


 "dataset": "s2s",

...


"hdate": "

...

19930501/

...

19940501/

...

19950501/

...

19960501/

...

19970501/

...

19980501/

...

19990501/

...

20000501/

...

20010501/

...

20020501/

...

20030501/

...

20040501/

...

20050501/

...

20060501/

...

20070501/

...

20080501/

...

20090501/

...

20100501/

...

20110501/

...

20120501/

...

20130501/20140501",
 "expver": "prod",

...


 "levtype": "sfc",

...


 "origin": "

...

kfpw",

...


 "param": "tp",

...


 "step": "24/to/1488/by/24",

...


 "stream": "enfh",

...


 "target": "CHANGEME",

...


 "time": "00",

...


 "type": "cf",

...


" date": "20140101",

...


})

 

2.2.2 Perturbed forecasts

 


Code Block
languagepy
 #

...

!/usr/bin/env python

...


from ecmwfapi import ECMWFDataServer

...


server = ECMWFDataServer()

...


server.retrieve({

...


 "class": "s2",

...


 "dataset": "s2s",

...


 "hdate": "

...

19930501/

...

19940501/

...

19950501/

...

19960501/

...

19970501/

...

19980501/

...

19990501/

...

20000501/

...

20010501/

...

20020501/

...

20030501/

...

20040501/

...

20050501/

...

20060501/

...

20070501/

...

20080501/

...

20090501/

...

20100501/

...

20110501/

...

20120501/

...

20130501/20140501",
 "expver": "prod",

...


 "levtype": "sfc",

...


 "origin": "

...

lfpw",

...


 "param": "tp",

...


 "step": "24/to/

...

1464/by/24",

...


 "stream": "enfh",

...


 "target": "CHANGEME",

...


 "time": "00",

...


 "type": "pf",

...


 "number": "1/to/

...

14",

...


" date": "20140101",

...


})

...