...
Info | ||
---|---|---|
| ||
for hindcastYear in hindcastYears |
Examples
...
Web-API examples
A request for one hindcast date, control forecast, sfc,
...
model version 2014-05-01
Code Block | ||
---|---|---|
| ||
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer modelVersionDate = "2014-05-01" hindcastDate = "2014-04-01" # The selected hindcast date server = ECMWFDataServer() server.retrieve({ "class": "s2", "dataset": "s2s", "date": modelVersionDate, "expver": "prod", "hdate": hindcastDate, "levtype": "sfc", "origin": "babj", "param": "165", "step": "0", "stream": "enfh", "target": "data.cf.sfc", "time": "00", "type": "cf", }) |
A
...
request for several hindcastDates (iterating over several hindcastYears, hindcastMonths and hindcastDays)
Info |
---|
Please note: use the variable "target" to write each hindcastDate on a separate file . |
...