From 6232debe2948c456e4caf4500d6bddd4f0d29f27 Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@gmail.com>
Date: Thu, 20 May 2021 17:56:13 +0200
Subject: [PATCH] Added Cordex variable names and CDO resampling methods.

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

diff --git a/climax/core/constants.py b/climax/core/constants.py
index fad3751..daa533b 100644
--- a/climax/core/constants.py
+++ b/climax/core/constants.py
@@ -3,6 +3,12 @@
 # !/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+# Cordex variables
+CORDEX_VARIABLES = ['tas', 'tasmin', 'tasmax', 'pr']
+
 # parameters defining a Cordex climate simulation
 CORDEX_PARAMETERS = ['Variable', 'Domain', 'Gcm', 'Scenario', 'Ensemble',
                      'Rcm', 'Version', 'Frequency', 'Years']
+
+# climate data operator (cdo) resampling modes
+CDO_RESAMPLING_MODES = ['bilinear', 'conservative']
-- 
GitLab