# How to download daily ERA5 pressure levels quickly?

**URL:** <https://forum.ecmwf.int/t/how-to-download-daily-era5-pressure-levels-quickly/1414>\
**Category:** C3S - Datasets and Usage\
**Tags:** access, c3s, era5\
**Created:** [16 November 2023 09:59 UTC](https://forum.ecmwf.int/t/how-to-download-daily-era5-pressure-levels-quickly/1414 "2023-11-16T09:59:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamin\_Koo](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/h/dec6dc/32.png) [@Hamin\_Koo](https://forum.ecmwf.int/u/Hamin_Koo)\
**Post date:** [16 November 2023 09:59 UTC](https://forum.ecmwf.int/t/how-to-download-daily-era5-pressure-levels-quickly/1414/1 "2023-11-16T09:59:22Z")

</div>

Hi, all.

I'm a new using cds tool. so I have been referring to several scripts on this site.

But, the running time is too long.

Is it most efficient to download each variable per level?

I have to download all variables at all levels for 20 years.

how can I do it quickly?

sorry for my bad eng

thanks for reading

here is my script

[![](https://forum.ecmwf.int/uploads/default/original/1X/f972bb6ebc2f2e7139b3f16e49ad47b3e6495391.png)daily\_era5\_prs.py](https://confluence.ecmwf.int/download/attachments/366805422/daily_era5_prs.py?version=1&modificationDate=1700131530935&api=v2)

when i generate

2023-11-16 19:39:56,653 INFO Request is queued  
 2023-11-16 19:41:53,024 INFO Request is running  
 2023-11-16 19:42:51,044 INFO Request is completed  
 2023-11-16 19:42:51,044 INFO Downloading ((file))  
 2023-11-16 19:43:27,703 INFO Download rate 859.3K/s&nbsp;  
 2023-11-16 19:43:27,993 INFO Welcome to the CDS  
 2023-11-16 19:43:27,993 INFO Sending request to [https://cds.climate.copernicus.eu/api/v2/tasks/services/tool/toolbox/orchestrator/workflow/clientid-d0012bb4d97a4c679e1263cb3aa20abd](https://cds.climate.copernicus.eu/api/v2/tasks/services/tool/toolbox/orchestrator/workflow/clientid-d0012bb4d97a4c679e1263cb3aa20abd)  
 2023-11-16 19:43:28,339 INFO Request is queued

I'm generating scripts for each year

so when I generate just one year, then the time for queued→running is about 2 min.

but 20years, then the time for queued→running is about 28 min.

how can I efficient download ?

---

<div class="post-metadata">

**Author:** ![Hamin\_Koo](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/h/dec6dc/32.png) [@Hamin\_Koo](https://forum.ecmwf.int/u/Hamin_Koo)\
**Post date:** [17 November 2023 13:15 UTC](https://forum.ecmwf.int/t/how-to-download-daily-era5-pressure-levels-quickly/1414/2 "2023-11-17T13:15:37Z")

</div>

help me!!! I'm serious...&nbsp;  
 can you recommand any method??

---

<div class="post-metadata">

**Author:** ![Joseph\_Yang1](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/joseph_yang1/32/900_2.png) [@Joseph\_Yang1](https://forum.ecmwf.int/u/Joseph_Yang1)\
**Post date:** [17 November 2023 13:51 UTC](https://forum.ecmwf.int/t/how-to-download-daily-era5-pressure-levels-quickly/1414/3 "2023-11-17T13:51:34Z")

</div>

It's generally much faster to download shorter length of time (like one month) and then combine the NetCDF files yourself. Running multi-threaded script (e.g. [https://realpython.com/intro-to-python-threading/](https://realpython.com/intro-to-python-threading/)) helps so that at least your request is in the queue - this is how we normally do it. Your download rate also seems rather low so when the files are downloaded in parallel, it would also help doing things in parallel.
