Versions Compared

Key

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

...

Code Block
languagepy
titleNetCDF
import cdsapi
 
datasetc = cdsapi.Client()
 
c.retrieve(
    'cams-global-atmospheric-composition-forecasts-test',
request    ={
        'date':          ['2024-0409-01/2024-0409-10'],
        'type':          ['forecast'],
        'data_format':        'netcdf_zip',
        'model_level':   ['137'],                    # Lowest model level only
        'variable':    [  ['biogenic'biogenic_secondary_organic_aerosol_mass_mixing_ratio',
                         'anthropogenic_secondary_organic_aerosol_mass_mixing_ratio',
                         'glyoxal',
                         'secondary_organic_aerosol_optical_depth_550nm',
                         'total_column_glyoxal' ], # See other variables at:
        'time':          ['00:00'],                  # https://ads.atmosphere.copernicus.eu/cdsapp#!/datasetdatasets/cams-global-atmospheric-composition-forecasts?tab=formdownload
         'leadtime_hour': [h for h in range(0,25,3)],
        'area':          [70, -35, 35, 60]         # [N,W,S,E] Europe area boundaries
    },
client   = cdsapi.Client()
client.retrieve(dataset, request).download( '/tmp/cams_test_20240901_10.nc.zip')

FTP dissemination

The test dataset is available through ECPDS FTP dissemination systems in these directories:

...