From dd79acdf28d8449d7a7e57d2620da55388fd26ea Mon Sep 17 00:00:00 2001 From: Christophe Guyeux Date: Mon, 10 Feb 2020 14:25:36 +0100 Subject: [PATCH] Adding documentation --- lib/source/meteofrance.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/source/meteofrance.py b/lib/source/meteofrance.py index 3f1c3eb..cc2eff1 100644 --- a/lib/source/meteofrance.py +++ b/lib/source/meteofrance.py @@ -175,6 +175,14 @@ class MeteoFrance: @property def dated_features(self): ''' + If the attribute dated_features is None, then we create it: a dictionary + with datestamps as keys, and {features: values} as values. + - considered features are the ones from meteofrance_features.csv, found + in config/features/meteofrance directory + - only the closest meteo stations are considered + + Returns: + dict: the dictionary of features per datestamp ''' if self._dated_features == None: csv_file = Path.cwd() / 'config' / 'features' / 'meteofrance' / 'meteofrance_features.csv' -- 2.39.5