From 5ed8b66e0ad04f00ec1e550c0925cee2284b497b Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Wed, 15 Sep 2021 15:57:08 +0000
Subject: [PATCH] Added precipitation to surface variables.

---
 climax/core/constants.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/climax/core/constants.py b/climax/core/constants.py
index abecd3b..cfb6585 100644
--- a/climax/core/constants.py
+++ b/climax/core/constants.py
@@ -39,8 +39,8 @@ ERA5_P_VARIABLE_NAME = {k: v for k, v in zip(ERA5_P_VARIABLES,
                                              ERA5_P_VARIABLES_SHORTCUT)}
 
 # ERA5 predictor variables on single levels
-ERA5_S_VARIABLES = ['mean_sea_level_pressure', 'orography', '2m_temperature']
-ERA5_S_VARIABLES_SHORTCUT = ['p', 'o', 't2']
+ERA5_S_VARIABLES = ['mean_sea_level_pressure', 'orography', '2m_temperature', 'total_precipitation']
+ERA5_S_VARIABLES_SHORTCUT = ['p', 'o', 't2', 'pr']
 ERA5_S_VARIABLE_NAME = {k: v for k, v in zip(ERA5_S_VARIABLES,
                                              ERA5_S_VARIABLES_SHORTCUT)}
 
-- 
GitLab