# Radiative heating rate at model levels

**URL:** <https://forum.ecmwf.int/t/radiative-heating-rate-at-model-levels/1620>\
**Category:** C3S - Access and Login\
**Tags:** api, access, cds, c3s\
**Created:** [23 January 2024 18:10 UTC](https://forum.ecmwf.int/t/radiative-heating-rate-at-model-levels/1620 "2024-01-23T18:10:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kuan-Yun\_Wang](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/k/71c47a/32.png) [@Kuan-Yun\_Wang](https://forum.ecmwf.int/u/Kuan-Yun_Wang)\
**Post date:** [23 January 2024 18:10 UTC](https://forum.ecmwf.int/t/radiative-heating-rate-at-model-levels/1620/1 "2024-01-23T18:10:48Z")

</div>

Hi everyone,

I downloaded the 0-step-forecast longwave radiative heating rate (paramID: 235002) at model levels, but found that all the values are 0. Is this normal?&nbsp;

I also tried to download the analysis longwave radiative heating rate at model levels, but I got "ERROR Message: the request you have submitted is not valid".

I would like to download the radiative heating rate at model levels because I need the vertical profiles of radiative heating rate to calculate the low-atmosphere budget. But the 0-forecast values are all zero, which is very weird. I would like to know which kind of datasets should I download, analysis or forecast? If analysis, how to modify my code? If forecast, why the 0-forecast values are all zero and which timestep would you recommend when doing budget analysis?

I will be very appreciate it if you can provide any thought.

Here's my code:

download\_fc.py downloads 0-step-forecast, but the downloaded data are all zeros.

download\_an.py downloads analysis data, but I get the following error

2024-01-23 11:05:31,149 INFO Welcome to the CDS  
 2024-01-23 11:05:31,150 INFO Sending request to [https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-complete](https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-complete)  
 2024-01-23 11:05:31,437 INFO Request is queued  
 2024-01-23 13:28:47,148 INFO Request is failed  
 2024-01-23 13:28:47,149 ERROR Message: the request you have submitted is not valid  
 2024-01-23 13:28:47,149 ERROR Reason: &nbsp;Expected 8432, got 0.; Request failed; Some errors reported (last error -1)  
 2024-01-23 13:28:47,149 ERROR &nbsp; Traceback (most recent call last):  
 2024-01-23 13:28:47,149 ERROR &nbsp; &nbsp; File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle\_request  
 2024-01-23 13:28:47,149 ERROR &nbsp; &nbsp; &nbsp; result = cached(context.method, proc, context, context.args, context.kwargs)  
 2024-01-23 13:28:47,149 ERROR &nbsp; &nbsp; File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached  
 2024-01-23 13:28:47,149 ERROR &nbsp; &nbsp; &nbsp; result = proc(context, \*context.args, \*\*context.kwargs)  
 2024-01-23 13:28:47,149 ERROR &nbsp; &nbsp; File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in \_\_call\_\_  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; &nbsp; return p(\*args, \*\*kwargs)  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in \_\_call\_\_  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; &nbsp; return self.proc(context, \*args, \*\*kwargs)  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; File "/home/cds/cdsservices/services/mars/mars.py", line 53, in external  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; &nbsp; return mars(context, request, \*\*kwargs)  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; File "/home/cds/cdsservices/services/mars/mars.py", line 20, in mars  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; &nbsp; execute\_mars(context, requests, info)  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; File "/home/cds/cdsservices/services/mars/execute\_mars.py", line 20, in execute\_mars  
 2024-01-23 13:28:47,150 ERROR &nbsp; &nbsp; &nbsp; exception=MarsException)  
 2024-01-23 13:28:47,151 ERROR &nbsp; &nbsp; File "/opt/cdstoolbox/cdscompute/cdscompute/context.py", line 209, in run\_command  
 2024-01-23 13:28:47,151 ERROR &nbsp; &nbsp; &nbsp; raise exception(call, proc.returncode, output)  
 2024-01-23 13:28:47,151 ERROR &nbsp; home.cds.cdsservices.services.mars.\_\_init\_\_.py.exceptions.MarsException: Expected 8432, got 0.; Request failed; Some errors reported (last error -1)  
 Traceback (most recent call last):  
 &nbsp; File "/aqua/kwang2/ERA5/download4.py", line 16, in \<module\>  
 &nbsp; &nbsp; c.retrieve('reanalysis-era5-complete', { # Requests follow MARS syntax  
 &nbsp; File "/zeolite/kwang2/miniconda3/envs/Mt/lib/python3.9/site-packages/cdsapi/api.py", line 348, in retrieve  
 &nbsp; &nbsp; result = self.\_api("%s/resources/%s" % (self.url, name), request, "POST")  
 &nbsp; File "/zeolite/kwang2/miniconda3/envs/Mt/lib/python3.9/site-packages/cdsapi/api.py", line 506, in \_api  
 &nbsp; &nbsp; raise Exception(  
 Exception: the request you have submitted is not valid. Expected 8432, got 0.; Request failed; Some errors reported (last error -1).

[![](https://forum.ecmwf.int/uploads/default/original/1X/f972bb6ebc2f2e7139b3f16e49ad47b3e6495391.png)download\_fc.py](https://confluence.ecmwf.int/download/attachments/388497997/download_fc.py?version=1&modificationDate=1706062210295&api=v2)[![](https://forum.ecmwf.int/uploads/default/original/1X/f972bb6ebc2f2e7139b3f16e49ad47b3e6495391.png)download\_an.py](https://confluence.ecmwf.int/download/attachments/388497997/download_an.py?version=1&modificationDate=1706062211027&api=v2)
