import cdsapi
c = cdsapi.Client()
c.retrieve(
‘reanalysis-era5-land’,
{
‘variable’: [
‘10m_u_component_of_wind’,
‘10m_v_component_of_wind’,
‘total_precipitation’,
],
‘year’: [
‘2023’,‘2024’,
],
‘month’: ‘07’,
‘day’: [
‘22’,‘23’,‘24’,‘25’,‘26’,‘27’,‘28’,‘29’,‘30’,‘31’,
],
‘time’: [
‘00:00’,‘01:00’,‘02:00’,‘03:00’,‘04:00’,‘05:00’,
‘06:00’,‘07:00’,‘08:00’,‘09:00’,‘10:00’,‘11:00’,
‘12:00’,‘13:00’,‘14:00’,‘15:00’,‘16:00’,‘17:00’,
‘18:00’,‘19:00’,‘20:00’,‘21:00’,‘22:00’,‘23:00’,
],
‘format’: ‘netcdf’,
‘area’: [25.933333, 117.583333, 24.383333, 119.083333],
},
‘tp.nc’
)