I am getting the following error message:
Exception: the request you have submitted is not valid. Mars server task finished in error - Retry: Connector::socketIo(Connector[marsmvr-0002:9702]) only -1 byte(s) read intead of 1 (Connection reset by peer) [mars] - Error code is -7776 - Mars server task finished in error - Assertion failed: handle_[n] != nullptr in dataHandle, line 76 of /home/cds/git/mars-server/mars-server/src/dhslib/DSRetrieve.cc [mars] - Error code is -2 - Request failed - Some errors reported.
Here is the corresponding request.
c = cdsapi.Client() c.retrieve( 'reanalysis-era5-single-levels', { 'expver': '0005', 'format': 'grib', 'variable': [ '100m_u_component_of_wind', '100m_v_component_of_wind' ], 'year': [ '2015', '2016', '2017', '2018', '2019' ], 'month': [ '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12' ], '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' ], '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' ], 'area': [float(lat)+0.125, float(lon)-0.125, float(lat)-0.125, float(lon)+0.125], 'grid': ['0.25', '0.25'] }, '/app/era5_data/download_5years_2vars.grib' )
I don't see any error in the request, can you help me?
Best,
Georg
1 Comment
Michela Giusti
Hi,
I suggest to use 'product_type': 'reanalysis' instead of
'expver'
:
'0005'.
Regarding grid and area, please have a look at this link:
How to download ERA5#StepB:DownloadERA5datalistedinCDSthroughCDSAPI
Best
Michela