view test-data/input.txt @ 1:bd153c794da1 draft

planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/c3s commit de74da48cc04c0cb261d07c451d00598beb834d9
author climate
date Thu, 08 Feb 2024 17:58:54 +0000
parents 250554670f72
children 21e8386cf36f
line wrap: on
line source

import cdsapi

c = cdsapi.Client()

c.retrieve(
    'reanalysis-era5-single-levels-monthly-means',
    {
        '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')