<h1>tl;dr</h1>

<p>I would suggest using the <a href="https://cds.climate.copernicus.eu/toolbox-editor" rel="nofollow noreferrer"><strong>Toolbox</strong> of the Copernicus CDS</a>. Via the Toolbox, you can choose datasets, process them and download the processed results. You have to be registered and logged-in to use the Toolbox.</p>

<h1>How to find out how to select the dataset of interest</h1>

<p>Use the search of the CDS and go to the bottom of the page. There, you can click/tab <em>Show Toolbox request</em>.</p>

<p><a href="https://i.sstatic.net/8jFr3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8jFr3.png" alt="&quot;Show Toolbox request&quot; button in the CDS search"></a></p>

<p>The page is extended and you get some code.</p>

<p><a href="https://i.sstatic.net/IIyJ7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IIyJ7.png" alt="Code for the toolbox to access the selected dataset"></a></p>

<h1>Access the Copernicus CDS Toolbox</h1>

<p>Now go to the top of the page and click/tab <em>Toolbox</em> or go to this URL: <a href="https://cds.climate.copernicus.eu/toolbox-editor" rel="nofollow noreferrer">https://cds.climate.copernicus.eu/toolbox-editor</a></p>

<p><a href="https://i.sstatic.net/shD5k.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/shD5k.png" alt="Copernicus CDS Toolbox"></a></p>

<p>You have to be registered to the Copernicus CDS service and be logged-in to be able to use the Toolbox. On the left, you have some example scripts. You can select datasets, process them, create figures, download data and much more. Amongst others, <a href="https://code.mpimet.mpg.de/projects/cdo/" rel="nofollow noreferrer">cdo (Climate Data Operators)</a> can be used to process the data. The programming has to be done in Python. </p>

<p>You can select a dataset, calculate daily means and download the processed data via the Toolbox. Combining the cdo example (slightly modified) with the code from the search (described above) should yield some useful code for you.</p>

<h1>Example code for the Copernicus CDS Toolbox</h1>

<p>Here is an example request, which obtains a part of the data you want. It obtains only data for the year 2007 and for three pressure levels.</p>

<pre><code>import cdstoolbox as ct


@ct.application(title='Retrieve Data')
@ct.output.download()
def retrieve_sample_data():
    data = ct.catalogue.retrieve(
        'reanalysis-era5-pressure-levels',
        {
            'product_type': 'reanalysis',
            'pressure_level': [
                '1', '2', '3',
            ],
            'year': '2007',
            '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',
                '31',
            ],
            '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',
            ],
        }
    )

    data_daily = ct.climate.daily_mean(data)

    return data_daily
</code></pre>

CC BY-SA 4.0
2019-12-16T09:28:51.020Z
There's a module installable in a local system for the CDS toolbox called **cdstoolbox-remote**, are you familiar with it?
RogUE
CC BY-SA 4.0
2019-12-18T08:51:03.907Z
No, sorry. I did not use it.
daniel.heydebreck
CC BY-SA 4.0
2019-12-13T13:37:51.070Z
2019-12-13T13:37:51.070Z
daniel.heydebreck
<p>I have been meaning to download the daily mean of ERA 5 reanalysis data from the <a href="https://cds.climate.copernicus.eu/" rel="nofollow noreferrer">Copernicus Climate Data Store</a>, but couldn't find it.  </p>

<p>I need the data on pressure levels and currently I am downloading the hourly data on pressure levels, which is very huge, around 2GB for one day.  </p>

<p>Do they provide the daily means of ERA 5 data?  </p>

<p>It doesn't matter even if it's only accessible through the CDS API.</p>

CC BY-SA 4.0
2019-12-13T11:43:30.823Z
Maybe this question helps you? https://stackoverflow.com/questions/55711188/how-to-calculate-total-precipitation-per-day-using-hourly-data-for-whole-year
daniel.heydebreck
CC BY-SA 4.0
2020-04-03T08:57:52.880Z
After installing cdstoolbox-remote and modifying the function name from "retrieve_sample_data" to "application", one can directly run @daniel.neumann's code from the command line. (If my reputation were higher, I would post this as a comment.)
chuaxr
<meteorology><reanalysis><weatherdata>
Does Climate Data Store provide daily mean of ERA 5 reanalysis data?
RogUE
# Does Climate Data Store provide daily mean of ERA 5 reanalysis data?

(Asked by: username_0 on 2019-12-12)

I have been meaning to download the daily mean of ERA 5 reanalysis data from the [Copernicus Climate Data Store](https://cds.climate.copernicus.eu/), but couldn't find it.

I need the data on pressure levels and currently I am downloading the hourly data on pressure levels, which is very huge, around 2GB for one day.

Do they provide the daily means of ERA 5 data?

It doesn't matter even if it's only accessible through the CDS API.

**Tags:** meteorology, reanalysis, weatherdata

> **Comments:**
> **username_1**: Maybe this question helps you? https://stackoverflow.com/questions/55711188/how-to-calculate-total-precipitation-per-day-using-hourly-data-for-whole-year  
> **username_2**: After installing cdstoolbox-remote and modifying the function name from "retrieve_sample_data" to "application", one can directly run @daniel.neumann's code from the command line. (If my reputation were higher, I would post this as a comment.)  

---

## 1 answers

### Answer by username_1 on 2019-12-13. Score: 3

# tl;dr

I would suggest using the [**Toolbox** of the Copernicus CDS](https://cds.climate.copernicus.eu/toolbox-editor). Via the Toolbox, you can choose datasets, process them and download the processed results. You have to be registered and logged-in to use the Toolbox.

# How to find out how to select the dataset of interest

Use the search of the CDS and go to the bottom of the page. There, you can click/tab *Show Toolbox request*.

[!["Show Toolbox request" button in the CDS search](https://i.sstatic.net/8jFr3.png)](https://i.sstatic.net/8jFr3.png)

The page is extended and you get some code.

[![Code for the toolbox to access the selected dataset](https://i.sstatic.net/IIyJ7.png)](https://i.sstatic.net/IIyJ7.png)

# Access the Copernicus CDS Toolbox

Now go to the top of the page and click/tab *Toolbox* or go to this URL: <https://cds.climate.copernicus.eu/toolbox-editor>

[![Copernicus CDS Toolbox](https://i.sstatic.net/shD5k.png)](https://i.sstatic.net/shD5k.png)

You have to be registered to the Copernicus CDS service and be logged-in to be able to use the Toolbox. On the left, you have some example scripts. You can select datasets, process them, create figures, download data and much more. Amongst others, [cdo (Climate Data Operators)](https://code.mpimet.mpg.de/projects/cdo/) can be used to process the data. The programming has to be done in Python.

You can select a dataset, calculate daily means and download the processed data via the Toolbox. Combining the cdo example (slightly modified) with the code from the search (described above) should yield some useful code for you.

# Example code for the Copernicus CDS Toolbox

Here is an example request, which obtains a part of the data you want. It obtains only data for the year 2007 and for three pressure levels.

```
import cdstoolbox as ct

@ct.application(title='Retrieve Data')
@ct.output.download()
def retrieve_sample_data():
    data = ct.catalogue.retrieve(
        'reanalysis-era5-pressure-levels',
        {
            'product_type': 'reanalysis',
            'pressure_level': [
                '1', '2', '3',
            ],
            'year': '2007',
            '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',
                '31',
            ],
            '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',
            ],
        }
    )

    data_daily = ct.climate.daily_mean(data)

    return data_daily

```

> **Comments:**
> **username_0**: There's a module installable in a local system for the CDS toolbox called **cdstoolbox-remote**, are you familiar with it?  
> **username_1**: No, sorry. I did not use it.  

---

