From f5208db0518d04939bd5da4f9eb2067900b12137 Mon Sep 17 00:00:00 2001
From: Florian Obersteiner <florian.obersteiner@kit.edu>
Date: Sun, 20 Feb 2022 13:10:40 +0100
Subject: [PATCH] naive datetime is local time

---
 src/icartt/dataset.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/icartt/dataset.py b/src/icartt/dataset.py
index b9e1059..65e1099 100644
--- a/src/icartt/dataset.py
+++ b/src/icartt/dataset.py
@@ -894,6 +894,9 @@ class Dataset:
         self.PIAffiliation = "Musterinstitut"
         self.dataSourceDescription = "Musterdatenprodukt"
         self.missionName = "MUSTEREX"
+
+        # TODO: not 100%  sure if this is relevant here, but those dates should refer to UTC
+        # - if you leave the datetime objects naive (no tzinfo set), they represent local time.
         self.dateOfCollection = datetime.datetime.today()
         self.dateOfRevision = datetime.datetime.today()
         self.dataIntervalCode = [0.0]
-- 
GitLab