temp2m98_08.py

Ehsan Taghizadeh, 2022-09-06 14:40

Download (1.27 KB)

 
1
import cdsapi
2

    
3
c = cdsapi.Client()
4

    
5
c.retrieve(
6
    'reanalysis-era5-land',
7
    {
8
        'format': 'netcdf',
9
        'variable': '2m_temperature',
10
        'year': [
11
            '1998', '1999', '2000',
12
            '2001', '2002', '2003',
13
            '2004', '2005', '2006',
14
            '2007', '2008',
15
        ],
16
        'month': [
17
            '01', '02', '03',
18
            '04', '05', '06',
19
            '07', '08', '09',
20
            '10', '11', '12',
21
        ],
22
        'day': [
23
            '01', '02', '03',
24
            '04', '05', '06',
25
            '07', '08', '09',
26
            '10', '11', '12',
27
            '13', '14', '15',
28
            '16', '17', '18',
29
            '19', '20', '21',
30
            '22', '23', '24',
31
            '25', '26', '27',
32
            '28', '29', '30',
33
            '31',
34
        ],
35
        'time': [
36
            '00:00', '01:00', '02:00',
37
            '03:00', '04:00', '05:00',
38
            '06:00', '07:00', '08:00',
39
            '09:00', '10:00', '11:00',
40
            '12:00', '13:00', '14:00',
41
            '15:00', '16:00', '17:00',
42
            '18:00', '19:00', '20:00',
43
            '21:00', '22:00', '23:00',
44
        ],
45
        'area': [
46
            45, 40, 20,
47
            65,
48
        ],
49
    },
50
    'temp2m98_08.nc')