Versions Compared

Key

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

...

Info
titleThe main idea in brief:
for HindcastYear in HindcastYears
for HindcastMonth in HindcastYear
for HindcastDay in HindcastMonth
HindcastDate = HindcastYear-HindcastMonth-HindcastDays
S2S-request(HindcastDate)

An example to request Control forecast,

...

sfc, for HindcastYears 2010 to 2014 for 2 HindcastMonths  (eg April and June)

Info
titleThe main idea in brief:
for each HindcastYear from 2010 to 2014    
for HindcastMonth in 04, 06
for HindcastDay in HindcastMonth
HindcastDate = HindcastYear-HindcastMonth-HindcastDay
S2S-request(HindcastDate) (see below an example)

...

A Control forecast, sfc, S2S-request example

Code Block
languagepy
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "date": "2014-05-01",
    "expver": "prod",
    "hdate": HindcastDate, (ie the selected HindcastDate eg "2014-04-01"),
    "levtype": "sfc",
    "origin": "babj",
    "param": "165",
    "step": "0",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})

...