view test-data/input.txt @ 2:21e8386cf36f draft default tip

planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/c3s commit e8074c9f6817bba5ca6cb322434ca5e4412b34cf
author climate
date Fri, 27 Sep 2024 19:34:36 +0000
parents 250554670f72
children
line wrap: on
line source

import cdsapi

c = cdsapi.Client()

c.retrieve(
    'reanalysis-era5-single-levels-monthly-means',
    {
        'data_format': 'netcdf',
        'product_type': 'monthly_averaged_reanalysis',
        'variable': '2m_temperature',
        'year': '2020',
        'month': '12',
        'time': '00:00',
        'area': [
            60, 10, 59.5,
            10.5,
        ],
    },
    'download.nc')