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": "ei",
    "dataset": "interim",
    "expver": "1",
    "stream": "oper",
    "type": "fc",
    "levtype": "sfc",
    "param": "167.128",
    "date": "2017-08-01/to/2017-08-31",
    "time": "00:00:00",
    "step": "3",
    "grid": "0.75/0.75",
    "target": "my_ERA5ERA-Interim_test_file.grb",
 })

2. Run the script. On most computers you would do this by opening a command prompt and typing

...