import cdsapi def try_download(): c = cdsapi.Client()#timeout=200, quiet=False, debug=True) c.retrieve( 'reanalysis-era5-pressure-levels', { 'product_type': 'reanalysis', 'format': 'grib', 'day': [ "11","12", ], 'month': [ "07","08", ], 'year': [ "2011", ], 'pressure_level': [ '300', '350', '400', '450', '500', '550', '600', '650', '700', '750', '775', '800', '825', '850', '875', '900', '925', '950', '975', '1000', ], 'time': [ "00:00", "05:00", ], 'variable': 'u_component_of_wind', 'area':[ 85, -60, 30, 40, ], }, "try.grib")