Versions Compared

Key

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

...

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 S2S request example)

An 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 "2006-06-08/2007-06-08/2008-06-08/2009-06-08/2010-06-08/2011-06-08/2012-06-08/2013-06-08""),
    "levtype": "sfc",
    "origin": "babj",
    "param": "165",
    "step": "0",
    "stream": "enfh",
    "target": "CHANGEME",
    "time": "00",
    "type": "cf",
})

...