]> AND Private Git Repository - predictops.git/blobdiff - predictops/source/meteofrance.py
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Module cleaning
[predictops.git] / predictops / source / meteofrance.py
index 3d8ae885157a9d00f49770d252afba275398f4ac..b26c6bf6525f0a87d1cba73d251e7937c89beac6 100644 (file)
@@ -53,11 +53,14 @@ class MeteoFrance(Source):
 
         '''
         # Check for the integrity of feature names
-        super(Source, self).__init__()
+        Source.__init__(self)
 
         self._config = ConfigParser()
         self._config.read(config_file)
 
+        self._latitude = self._config['POSITION'].getfloat('latitude')
+        self._longitude = self._config['POSITION'].getfloat('longitude')
+
         self._data_directory = (Path.cwd() / 'data') / 'features' / 'meteo_france'
 
         self._dated_features = None