Hello,
I got the following error while downloading ERA-5 on single level using the CDSAPI,
DEBUG Starting new HTTPS connection (1): download-0004.copernicus-climate.eu:443
2021-11-23 04:06:03,467 WARNING Recovering from connection error [HTTPSConnectionPool(host='download-0004.copernicus-climate.eu', port=443): Max retries exceeded with url: /cache-compute-0004/cache/data5/adaptor.mars.internal-1637617040.5846336-21917-14-b10f56b0-079b-44f4-80cd-50f0b4307922.nc (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))], attemps 174 of 500
2021-11-23 04:06:03,468 WARNING Retrying in 120 seconds
Here is my python snippet
c = cdsapi.Client(timeout=600,quiet=False,debug=True)
c.retrieve('reanalysis-era5-single-levels',
{
'product_type':'reanalysis',
'variable':parm_name,
'year':year,
'month':month,
'day':['01','02','03','04','05',
'06','07','08','09','10',
'11','12','13','14','15',
'16','17','18','19','20',
'21','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',
'grid': [1,1], # latitude and longitude grid: east-west and north-south.
'area': [90,-180,-90,180] # north, west, south, and east
},
diri_input+"%s_%s_%s.nc"%(parm_name,year,month))
Thanks