Versions Compared

Key

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

...

Code Block
languagepy
titleGRIB
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()

server.retrieve({
    "dataset":   "cams_esuite",
    "stream":    "oper",
    "type":      "fc",
    "date":      "20170601/to/2017061520170601",
    "time":      "00",    
    "step":      "0/to/23/by/1",
    "levtype":   "sfc",
    "format":    "netcdf",
    "param" :    "aod550",         # see parameter table at http://atmosphere.copernicus.eu/ftp-access-global-data
    "grid":      "0.4/0.4",        # 0.4 x 0.4 regular lat-lon grid
    "area":      "70/-35/35/60",   # N/E/S/W area boundaries
    "target":    "/tmp/cams_test_201706.nc"
})

...