+from .source import Source
+
from configparser import ConfigParser
from csv import DictReader
from datetime import datetime
CSV_FILE = Path.cwd() / 'config' / 'features' / 'meteofrance_features.csv'
-class MeteoFrance:
+class MeteoFrance(Source):
_latitude = None
_longitude = None
to their names in meteofrance_features.csv (cf. config directory)
'''
+ # Check for the integrity of feature names
+ 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