From 81faf682f0228d51f3e72a133ea32e289ff6ddab Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Tue, 22 Jun 2021 11:46:13 +0200
Subject: [PATCH] Add timestamps.

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

diff --git a/climax/main/download_ERA5.py b/climax/main/download_ERA5.py
index e1d2e14..1fa844d 100644
--- a/climax/main/download_ERA5.py
+++ b/climax/main/download_ERA5.py
@@ -27,6 +27,7 @@ variables = ['geopotential', 'temperature', 'u_component_of_wind',
 years = [str(y) for y in np.arange(1981, 2011)]
 month = [str(m) for m in np.arange(1, 13)]
 days = [str(d) for d in np.arange(1, 31)]
+time = ["{:02d}:00".format(t) for t in np.arange(0,24)]
 
 # area of interest (Europe): North, West, South, East
 area = [52, 2, 40, 20]
@@ -39,6 +40,7 @@ CONFIG = {
     'year': years,
     'month': month,
     'day': days,
+    'time': time,
     'format': 'netcdf',
     'area': area
 }
-- 
GitLab