...
Code Block |
---|
class=mc expver=0078 |
Info |
You can use this link to directly access the data in the MARS catalogue (please remember that ecCodes version 2.28.0
...
or later is required to handle the full range of parameters
...
of current CAMS data).
Atmosphere Data Store (ADS)
If you don't have access to ECMWF computers but would still like to access a large subset of test data, you can use ECMWF WebAPI the Copernicus Atmosphere Data Store API service.
Info |
---|
Read documentation and see brief request syntax of the ECMWF WebAPI service. |
If you haven't done it yet you will need to create an ECMWF web account and accept the data licence (broken link)terms of use of Copernicus Atmosphere Data Store
Example
Total aerosol optical depth at 550 nm in NetCDF format, only European domain, 10 dates, day 1 forecast
...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() server.retrieve({ "dataset": "cams-global-atmospheric-composition-forecasts-test", "stream": "oper", "type": "fc", "date": "20230301/to/20230310", "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 (broken link) "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_20230301_10.nc" }) |
...