# \[SOLVED\] Error while requesting daily statistics calculated from ERA5 data on pressure levels

**URL:** <https://forum.ecmwf.int/t/solved-error-while-requesting-daily-statistics-calculated-from-era5-data-on-pressure-levels/1710>\
**Category:** Other - Software and tools\
**Tags:** c3s, toolbox\
**Created:** [3 May 2022 13:56 UTC](https://forum.ecmwf.int/t/solved-error-while-requesting-daily-statistics-calculated-from-era5-data-on-pressure-levels/1710 "2022-05-03T13:56:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pim\_Meijer](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/p/d26b3c/32.png) [@Pim\_Meijer](https://forum.ecmwf.int/u/Pim_Meijer)\
**Post date:** [3 May 2022 13:56 UTC](https://forum.ecmwf.int/t/solved-error-while-requesting-daily-statistics-calculated-from-era5-data-on-pressure-levels/1710/1 "2022-05-03T13:56:52Z")

</div>

Edit: I don't know what caused it, but the problem seems to have magically solved itself

Hi,

I am trying to download daily statistics of the ERA5 dataset using the application for the toolbox. Running the request remotely from a python environment, downloading the data on single levels was no problem. However, the request for the pressure level data produces a lengthy error message which I do not understand. I've added the error down below and attached my script for reference.

Any suggestions on how to solve this would be greatly appreciated.

[ERA5\_daily.py](https://confluence.ecmwf.int/download/attachments/272314209/ERA5_daily.py?version=1&modificationDate=1651586417550&api=v2)

2022-05-03 15:26:37,191 INFO Welcome to the CDS  
 2022-05-03 15:26:37,191 INFO Sending request to [https://cds.climate.copernicus.eu/api/v2/tasks/services/tool/toolbox/orchestrator/workflow/clientid-2f7d8acb54e84199ae8ad31bc8eaa72d](https://cds.climate.copernicus.eu/api/v2/tasks/services/tool/toolbox/orchestrator/workflow/clientid-2f7d8acb54e84199ae8ad31bc8eaa72d)  
 2022-05-03 15:26:37,247 INFO Request is queued  
 2022-05-03 15:26:42,188 INFO Request is running  
 2022-05-03 15:26:50,731 INFO Request is failed  
 2022-05-03 15:26:50,731 ERROR Message:  
 2022-05-03 15:26:50,731 ERROR Reason: Traceback (most recent call last):  
 File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request  
 result = cached(context.method, proc, context, context.args, context.kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached  
 result = proc(context, \*context.args, \*\*context.kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call**  
 return p(\*args, \*\*kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call**  
 return self.proc(context, \*args, \*\*kwargs)  
 File "/home/cds/cdsservices/services/retrieve.py", line 198, in execute  
 remote = context.call\_resource(name, request, update\_specific\_metadata={'app\_scope': 'adaptor'})  
 File "/opt/cdstoolbox/cdscompute/cdscompute/context.py", line 307, in call\_resource  
 return c.call\_resource(service, \*args, \*\*kwargs).value  
 File "/opt/cdstoolbox/cdsworkflows/cdsworkflows/future.py", line 76, in value  
 raise self.\_result  
 cdsworkflows.error.ClientError: {'traceback': 'Traceback (most recent call last):\n File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request\n result = cached(context.method, proc, context, context.args, context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached\n result = proc(context, \*context.args, \*\*context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call** \n return p(\*args, \*\*kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call** \n return self.proc(context, \*args, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 47, in internal\n return mars(context, request, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 19, in mars\n execute\_mars(context, requests)\n File "/home/cds/cdsservices/services/mars/execute\_mars.py", line 25, in execute\_mars\n raise NoDataException("Request returned no data", '')\ncdsinf.exceptions.NoDataException: Request returned no data\n'}  
 2022-05-03 15:26:50,731 ERROR Traceback (most recent call last):  
 2022-05-03 15:26:50,731 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request  
 2022-05-03 15:26:50,731 ERROR result = cached(context.method, proc, context, context.args, context.kwargs)  
 2022-05-03 15:26:50,731 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached  
 2022-05-03 15:26:50,731 ERROR result = proc(context, \*context.args, \*\*context.kwargs)  
 2022-05-03 15:26:50,731 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call**  
 2022-05-03 15:26:50,731 ERROR return p(\*args, \*\*kwargs)  
 2022-05-03 15:26:50,731 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call**  
 2022-05-03 15:26:50,732 ERROR return self.proc(context, \*args, \*\*kwargs)  
 2022-05-03 15:26:50,732 ERROR File "/home/cds/cdsservices/services/workflow.py", line 35, in execute  
 2022-05-03 15:26:50,732 ERROR raise exceptions.CDSException(True, True, logging + traceback, '', uri)  
 2022-05-03 15:26:50,732 ERROR cdsclient.exceptions.CDSException: Traceback (most recent call last):  
 2022-05-03 15:26:50,732 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request  
 2022-05-03 15:26:50,732 ERROR result = cached(context.method, proc, context, context.args, context.kwargs)  
 2022-05-03 15:26:50,732 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached  
 2022-05-03 15:26:50,732 ERROR result = proc(context, \*context.args, \*\*context.kwargs)  
 2022-05-03 15:26:50,732 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call**  
 2022-05-03 15:26:50,732 ERROR return p(\*args, \*\*kwargs)  
 2022-05-03 15:26:50,742 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call**  
 2022-05-03 15:26:50,742 ERROR return self.proc(context, \*args, \*\*kwargs)  
 2022-05-03 15:26:50,742 ERROR File "/home/cds/cdsservices/services/retrieve.py", line 198, in execute  
 2022-05-03 15:26:50,742 ERROR remote = context.call\_resource(name, request, update\_specific\_metadata={'app\_scope': 'adaptor'})  
 2022-05-03 15:26:50,742 ERROR File "/opt/cdstoolbox/cdscompute/cdscompute/context.py", line 307, in call\_resource  
 2022-05-03 15:26:50,742 ERROR return c.call\_resource(service, \*args, \*\*kwargs).value  
 2022-05-03 15:26:50,742 ERROR File "/opt/cdstoolbox/cdsworkflows/cdsworkflows/future.py", line 76, in value  
 2022-05-03 15:26:50,742 ERROR raise self.\_result  
 2022-05-03 15:26:50,742 ERROR cdsworkflows.error.ClientError: {'traceback': 'Traceback (most recent call last):\n File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request\n result = cached(context.method, proc, context, context.args, context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached\n result = proc(context, \*context.args, \*\*context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call** \n return p(\*args, \*\*kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call** \n return self.proc(context, \*args, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 47, in internal\n return mars(context, request, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 19, in mars\n execute\_mars(context, requests)\n File "/home/cds/cdsservices/services/mars/execute\_mars.py", line 25, in execute\_mars\n raise NoDataException("Request returned no data", '')\ncdsinf.exceptions.NoDataException: Request returned no data\n'}  
 Traceback (most recent call last):  
 File "C:\Files\UU\Thesis\Code\Langrarian Model\ERA5\_daily.py", line 38, in \<module\>  
 result = c.service(  
 File "C:\Program Files\Python\lib\site-packages\cdsapi\[api.py](http://api.py)", line 366, in service  
 result = self.\_api(  
 File "C:\Program Files\Python\lib\site-packages\cdsapi\[api.py](http://api.py)", line 506, in \_api  
 raise Exception(  
 Exception: . Traceback (most recent call last):  
 File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request  
 result = cached(context.method, proc, context, context.args, context.kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached  
 result = proc(context, \*context.args, \*\*context.kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call**  
 return p(\*args, \*\*kwargs)  
 File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call**  
 return self.proc(context, \*args, \*\*kwargs)  
 File "/home/cds/cdsservices/services/retrieve.py", line 198, in execute  
 remote = context.call\_resource(name, request, update\_specific\_metadata={'app\_scope': 'adaptor'})  
 File "/opt/cdstoolbox/cdscompute/cdscompute/context.py", line 307, in call\_resource  
 return c.call\_resource(service, \*args, \*\*kwargs).value  
 File "/opt/cdstoolbox/cdsworkflows/cdsworkflows/future.py", line 76, in value  
 raise self.\_result  
 cdsworkflows.error.ClientError: {'traceback': 'Traceback (most recent call last):\n File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request\n result = cached(context.method, proc, context, context.args, context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached\n result = proc(context, \*context.args, \*\*context.kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in **call** \n return p(\*args, \*\*kwargs)\n File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in **call** \n return self.proc(context, \*args, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 47, in internal\n return mars(context, request, \*\*kwargs)\n File "/home/cds/cdsservices/services/mars/mars.py", line 19, in mars\n execute\_mars(context, requests)\n File "/home/cds/cdsservices/services/mars/execute\_mars.py", line 25, in execute\_mars\n raise NoDataException("Request returned no data", '')\ncdsinf.exceptions.NoDataException: Request returned no data\n'}.

---

<div class="post-metadata">

**Author:** ![Kevin\_Marsh](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/kevin_marsh/32/368_2.png) [@Kevin\_Marsh](https://forum.ecmwf.int/u/Kevin_Marsh)\
**Post date:** [6 May 2022 07:49 UTC](https://forum.ecmwf.int/t/solved-error-while-requesting-daily-statistics-calculated-from-era5-data-on-pressure-levels/1710/2 "2022-05-06T07:49:29Z")

</div>

Hi Pim,

Suspect it was a temporary issue with the CDS. Glad it is working for you now!

Kevin
