From 810952accf235aa665e3e04b1cbf422ac9030ae6 Mon Sep 17 00:00:00 2001 From: Simon Grasse <s.grasse@fz-juelich.de> Date: Wed, 10 Jan 2024 14:43:21 +0100 Subject: [PATCH] fix: missing return when converting to frequency --- toargridding/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toargridding/metadata.py b/toargridding/metadata.py index 43ba5be..2c60885 100644 --- a/toargridding/metadata.py +++ b/toargridding/metadata.py @@ -37,7 +37,7 @@ class TimeSample: @property def frequency(self): - TIME_FREQUENCIES[self.sampling] + return TIME_FREQUENCIES[self.sampling] def as_cf_index(self): n_days = (self.end - self.start).days -- GitLab