...
If you haven't done it yet you will need to create an ECMWF web account and accept the data licence.
Examples
...
Total aerosol optical depth at 550 nm in NetCDF format, only European domain, all the available steps,
...
December 2015
Code Block | ||||
---|---|---|---|---|
| ||||
#!/usr/bin/env python
from ecmwfapi import ECMWFDataServer
server = ECMWFDataServer()
server.retrieve({
"dataset": "cams_nrealtime_test",
"stream": "oper",
"type": "fc",
"date": "20151201/to/20151231",
"time": "00",
"step":"0/to/120/by/1",
"levtype":"sfc",
"param" : "aod550", # see parameter table at http://macc.copernicus-atmosphere.eu/oper_info/global_nrt_data_access/ftp/20150911_cams_upgrade/
"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_nrealtime_201512.grib"
}) |
Code Block | ||||
---|---|---|---|---|
| ||||
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() for i in range(1,31): date = "201512%02d" % i server.retrieve({ "dataset": "cams_nrealtime_test", "stream": "oper", "type": "fc", "date": date, "time": "00", "step":"0/to/120/by/1", "levtype":"sfc", "param" : "aod550", # see parameter table at http://macc.copernicus-atmosphere.eu/oper_info/global_nrt_data_access/ftp/20150911_cams_upgrade/ "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 "format": "netcdf", "target": "/tmp/cams_nrealtime_%s.nc" % date }) |
...