From 5e61c31b22f0a9878e42c2d452e888cac8f2211c Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Tue, 26 Oct 2021 15:23:50 +0200
Subject: [PATCH] Implemented generic computation of anomalies on arbitrary
 time-scale.

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

diff --git a/climax/core/dataset.py b/climax/core/dataset.py
index 332442b..71246d2 100644
--- a/climax/core/dataset.py
+++ b/climax/core/dataset.py
@@ -235,11 +235,11 @@ class EoDataset(torch.utils.data.Dataset):
 
     @staticmethod
     def anomalies(ds, timescale='time.dayofyear', standard=False):
-        # group dataset by day of the year
-        LOGGER.info('Computing standardized anomalies ...')
+        # group dataset by time scale
+        LOGGER.info('Computing anomalies ...')
         groups = ds.groupby('time.dayofyear').groups
 
-        # compute standardized anomalies for each day of the year over time
+        # compute anomalies over time
         anomalies = {}
         for time, time_scale in groups.items():
             with warnings.catch_warnings():
-- 
GitLab