Internal error when downloading pres or q from era5-complete

See below my request and the resulting mars errors. This occurs when I try to download relative humidity or pressure (r, pres) from reanalysis-era5-complete. When I download temperature or specific humidity (t, q), it works without problem.

Does somebody know what’s happening or what I can do?

c.retrieve(‘reanalysis-era5-complete’, { # Requests follow MARS syntax
… # Keywords ‘expver’ and ‘class’ can be dropped. They are obsolete
… # since their values are imposed by ‘reanalysis-era5-complete’
… ‘date’ : ‘2015-01-01’, # The hyphens can be omitted
… ‘levelist’: ‘1/10/137’, # 1 is top level, 137 the lowest model level in ERA5. Use ‘/’ to separate values.
… ‘levtype’ : ‘ml’,
… ‘param’ : ‘54’, # pres, t, q, r. Full information at Parameter Database
… # The native representation for temperature is spherical harmonics
… ‘stream’ : ‘oper’, # Denotes ERA5. Ensemble members are selected by ‘enda’
… ‘time’ : ‘00/to/23/by/6’, # You can drop :00:00 and use MARS short-hand notation, instead of ‘00/06/12/18’
… ‘type’ : ‘an’,
… ‘area’ : ‘-60/-3/-61/-4’, # North, West, South, East. Default: global
… ‘grid’ : ‘1.0/1.0’, # Latitude/longitude. Default: spherical harmonics or reduced Gaussian grid
… ‘format’ : ‘netcdf’, # Output needs to be regular lat-lon, so only works in combination with ‘grid’!
… }, [output file])
2024-05-13 12:40:00,498 INFO Welcome to the CDS
2024-05-13 12:40:00,498 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-complete
2024-05-13 12:40:00,619 INFO Request is queued
2024-05-13 12:40:09,032 INFO Request is failed
2024-05-13 12:40:09,032 ERROR Message: an internal error occurred processing your request
2024-05-13 12:40:09,032 ERROR Reason: mars - ERROR - 20240513.104006 - Expected 12, got 0.
mars - ERROR - 20240513.104006 - Request failed
mars - ERROR - 20240513.104006 - Some errors reported (last error -1)
2024-05-13 12:40:09,032 ERROR Traceback (most recent call last):
2024-05-13 12:40:09,032 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py”, line 59, in handle_request
2024-05-13 12:40:09,032 ERROR result = cached(context.method, proc, context, context.args, context.kwargs)
2024-05-13 12:40:09,032 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/caching.py”, line 108, in cached
2024-05-13 12:40:09,032 ERROR result = proc(context, *context.args, **context.kwargs)
2024-05-13 12:40:09,032 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/services.py”, line 124, in call
2024-05-13 12:40:09,032 ERROR return p(*args, **kwargs)
2024-05-13 12:40:09,032 ERROR File “/opt/cdstoolbox/cdscompute/cdscompute/services.py”, line 60, in call
2024-05-13 12:40:09,032 ERROR return self.proc(context, *args, **kwargs)
2024-05-13 12:40:09,032 ERROR File “/home/cds/cdsservices/services/mars/mars.py”, line 53, in external
2024-05-13 12:40:09,032 ERROR return mars(context, request, **kwargs)
2024-05-13 12:40:09,033 ERROR File “/home/cds/cdsservices/services/mars/mars.py”, line 20, in mars
2024-05-13 12:40:09,033 ERROR execute_mars(context, requests, info)
2024-05-13 12:40:09,033 ERROR File “/home/cds/cdsservices/services/mars/execute_mars.py”, line 74, in execute_mars
2024-05-13 12:40:09,033 ERROR raise Exception(error_lines)
2024-05-13 12:40:09,033 ERROR Exception: mars - ERROR - 20240513.104006 - Expected 12, got 0.
2024-05-13 12:40:09,033 ERROR mars - ERROR - 20240513.104006 - Request failed
2024-05-13 12:40:09,033 ERROR mars - ERROR - 20240513.104006 - Some errors reported (last error -1)
Traceback (most recent call last):
File “”, line 1, in
File “/opt/homebrew/lib/python3.12/site-packages/cdsapi/api.py”, line 381, in retrieve
result = self._api(“%s/resources/%s” % (self.url, name), request, “POST”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/homebrew/lib/python3.12/site-packages/cdsapi/api.py”, line 536, in _api
raise Exception(
Exception: an internal error occurred processing your request. mars - ERROR - 20240513.104006 - Expected 12, got 0.
mars - ERROR - 20240513.104006 - Request failed
mars - ERROR - 20240513.104006 - Some errors reported (last error -1).

Please have a look at the list of variables available on model levels:
https://confluence.ecmwf.int/display/CKB/ERA5%3A+data+documentation#ERA5:datadocumentation-Table12

Thanks

1 Like