Versions Compared

Key

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

...

For details about the migration to the CDS API please see here.

...

Currently only string should be used in an API request.

Analysis data are not available on the ADS webform but they can be downloaded using the CDS API service. The keyword 'type' and 'leadtime_hour' have to be set on 'analysis' and '0' respectively. Please have a look at the following example:

Code Block
languagepy
titleExample to download analysis data
linenumberstrue
collapsetrue
import cdsapi

c = cdsapi.Client()

c.retrieve(
    'cams-global-atmospheric-composition-forecasts',
    {
        'date': '2021-03-24',
        'time': [
            '06:00', '12:00', '18:00',
        ],
        'leadtime_hour': '0',
        'area': [
            70, -18, 69,
            -17,
        ],
        'type':'analysis',
        'variable': 'total_aerosol_optical_depth_670nm',
        'format': 'netcdf_zip',
    },
    'download.netcdf_zip')

A subset of the CAMS Global atmospheric composition forecast data for the latest three days can be accessible also through the FTP dissemination service. For list of variables available on the FTP please see here.

...