import cdsapi

c = cdsapi.Client()

c.retrieve(
    'satellite-carbon-dioxide',
    {
        'format':'zip',
        'processing_level':'level_2',
        'variable':'xco2',
        'sensor_and_algorithm':'sciamachy_wfmd',
        'version':'4.0',
        'year':'2004',
        'month':'01',
        'day':'04'
    },
    '../archives/sat_obs/16_sat_obs-B-satellite-carbon-dioxide-xco2.zip')

    # {
    #     'format':'zip',
    #     'variable':'xco2',
    #     'year':'2004',
    #     'processing_level':'level_2',
    #     'month':'01',
    #     'day':'04',
    #     'sensor_and_algorithm':'sciamachy_wfmd'
    # },
