X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/predictops.git/blobdiff_plain/2c5695839a5064f584ffeaba557020ab3270b7b9..964c1b87a6996c828c150a2b06a827350a4c2b10:/predictops/source/meteofrance.py?ds=inline diff --git a/predictops/source/meteofrance.py b/predictops/source/meteofrance.py index 3d8ae88..b26c6bf 100644 --- a/predictops/source/meteofrance.py +++ b/predictops/source/meteofrance.py @@ -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