Daily max/min temperature and daily precipitation (1979-2018) from ERA5

Hello! I'm new with Python, so I hope you can help me.

I need to download daily Total_Precipitation and daily minimum and maximum temperature from ERA5 single level.

I'm working with the maximum temporal range, from 1979 to 2018, so we are talking about a big amount of data.

My problem is the fact that, both for Precipitation and Tmax Tmin, the 00:00 value must be taken from the next day, so I'm not sure if the command "cdstoolbox.climate.daily_max" (for Tmax) works correctly.

Is there a way to obtain daily data from hourly dataset and download the results year-by-year?

Thank you for the help



did you try to use the CDS web form to see the toolbox request format at the bottom of the page?



Hi Matteo,

To make sure the 00:00 value is taken from the next day I suggest to use ct.cube.resample(total_prec, freq='D', how='max', closed='right')

Here is an application example to illustrate it: https://cds.climate.copernicus.eu/toolbox-editor/168/forum_daily_max.

Regarding the retrieving the data for all years the strategy to adopt depends on the spatial resolution you are interested in.

What spatial resolution do you need the data at?