view test-data/req-timeseries.txt @ 0:b768e517a7d0 draft default tip

"planemo upload for repository https://github.com/NordicESMhub/galaxy-tools/tree/master/tools/cads commit 778688ee8d14e22b00b648858ad9bd1c2f46b1e0"
author climate
date Sat, 19 Jun 2021 18:35:50 +0000
parents
children
line wrap: on
line source

import cdsapi
  
c = cdsapi.Client()

c.retrieve(
    'cams-solar-radiation-timeseries',
    {
        'sky_type': 'clear',
        'location': {
            'latitude': 60,
            'longitude': 11,
        },
        'altitude': '-999.',
        'date': '2021-06-17/2021-06-17',
        'time_step': '15minute',
        'time_reference': 'universal_time',
        'format': 'netcdf',
    },
    'download.nc')