From 575305442e7ccb3fcc1216aa7100c4cceac2ff2e Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Tue, 22 Jun 2021 12:22:14 +0200
Subject: [PATCH] Correct area to Alpine region.

---
 climax/main/download_ERA5.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/climax/main/download_ERA5.py b/climax/main/download_ERA5.py
index b888579..755303a 100644
--- a/climax/main/download_ERA5.py
+++ b/climax/main/download_ERA5.py
@@ -61,7 +61,7 @@ if __name__ == '__main__':
 
         # split the download to the different years: CDS API cannot handle
         # requests over the whole time period
-        Parallel(n_jobs=min(len(years, os.cpu_count())), verbose=51)(
+        Parallel(n_jobs=min(len(years), os.cpu_count()), verbose=51)(
             delayed(c.retrieve)(
                 product,
                 {**CONFIG, **{'variable': var, 'year': year}},
-- 
GitLab