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? 

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
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:  Expected 8432, got 0.; Request failed; Some errors reported (last error -1)
2024-01-23 13:28:47,149 ERROR   Traceback (most recent call last):
2024-01-23 13:28:47,149 ERROR     File "/opt/cdstoolbox/cdscompute/cdscompute/cdshandlers/services/handler.py", line 59, in handle_request
2024-01-23 13:28:47,149 ERROR       result = cached(context.method, proc, context, context.args, context.kwargs)
2024-01-23 13:28:47,149 ERROR     File "/opt/cdstoolbox/cdscompute/cdscompute/caching.py", line 108, in cached
2024-01-23 13:28:47,149 ERROR       result = proc(context, *context.args, **context.kwargs)
2024-01-23 13:28:47,149 ERROR     File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 124, in __call__
2024-01-23 13:28:47,150 ERROR       return p(*args, **kwargs)
2024-01-23 13:28:47,150 ERROR     File "/opt/cdstoolbox/cdscompute/cdscompute/services.py", line 60, in __call__
2024-01-23 13:28:47,150 ERROR       return self.proc(context, *args, **kwargs)
2024-01-23 13:28:47,150 ERROR     File "/home/cds/cdsservices/services/mars/mars.py", line 53, in external
2024-01-23 13:28:47,150 ERROR       return mars(context, request, **kwargs)
2024-01-23 13:28:47,150 ERROR     File "/home/cds/cdsservices/services/mars/mars.py", line 20, in mars
2024-01-23 13:28:47,150 ERROR       execute_mars(context, requests, info)
2024-01-23 13:28:47,150 ERROR     File "/home/cds/cdsservices/services/mars/execute_mars.py", line 20, in execute_mars
2024-01-23 13:28:47,150 ERROR       exception=MarsException)
2024-01-23 13:28:47,151 ERROR     File "/opt/cdstoolbox/cdscompute/cdscompute/context.py", line 209, in run_command
2024-01-23 13:28:47,151 ERROR       raise exception(call, proc.returncode, output)
2024-01-23 13:28:47,151 ERROR   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):
  File "/aqua/kwang2/ERA5/download4.py", line 16, in <module>
    c.retrieve('reanalysis-era5-complete', { # Requests follow MARS syntax
  File "/zeolite/kwang2/miniconda3/envs/Mt/lib/python3.9/site-packages/cdsapi/api.py", line 348, in retrieve
    result = self._api("%s/resources/%s" % (self.url, name), request, "POST")
  File "/zeolite/kwang2/miniconda3/envs/Mt/lib/python3.9/site-packages/cdsapi/api.py", line 506, in _api
    raise Exception(
Exception: the request you have submitted is not valid. Expected 8432, got 0.; Request failed; Some errors reported (last error -1).

download_fc.pydownload_an.py

  • No labels