ERA5 - Too long wait or failed - API programmatic download

Hello everyone!

I have been trying to download a large dataset (whole northern hemisphere, 1950-present, daily time series) without success. Programmatically, 1 month and 1 variable per time. In the legacy version I downloaded with the toolbox with 1 degree and daily resolution, now only 0.25 degree is possible.

I often get this kind of error: “Error in curl::curl_fetch_memory(url, handle = handle) : Timeout has been reached: [cds.climate.copernicus.eu] GnuTLS recv error (-110): The TLS connection was not properly closed”.

Besides the errors that crash the code, the individual requests often take too long to be delivered (often a few minutes, but often many hours! or just never download and I have to terminate).

Any advice with this? It has become very difficult for me to get the data.

Thank you very much!