Versions Compared

Key

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

...

Code Block
languagepy
  #!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
    "class": "s2",
    "dataset": "s2s",
    "date": "2015-02-08",
    "expver": "prod",
    "levtype": "sfc",
    "origin": "ammc",
    "param": "tp",
    "step": "24/to/1488/by/24",
    "stream": "enfo",
    "target": "CHANGEME",
    "time": "00", 
    "number": "1/to/32",
    "type": "pf",
 })

 

2. Real-time forecasts: 1 param, series of dates

Retrieving one field (total precipitation here) for all time steps and  for all the forecast starting between  8 February  and 26 February 2015:

...