energy_forecast.energy module#
Download and read data from RTE Eco2Mix.
DEPRECATED do not use anymore.
- class energy_forecast.energy.ECO2MixDownloader(year, prefix='/tmp/rte/eco2mix')[source]#
Bases:
RTEZipFileDownloader
- empty_column = [' Stockage batterie', 'Déstockage batterie', 'Eolien terrestre', 'Eolien offshore']#
- class energy_forecast.energy.RTEZipFileDownloader(url, filename_zip, filename_xls, prefix='/tmp/rte', cache_validation_time='1h')[source]#
Bases:
object
Provide the functionality to download and unzip a zip file from RTE.
If the file is already downloaded, a cache mechanism is used to avoid downloading it again.
- cache_validation_time = '1h'#
- class energy_forecast.energy.TempoCalendarDownloader(start_year=2014, end_year=2024, prefix='/tmp/rte/tempo')[source]#
Bases:
RTEZipFileDownloader
Download the Tempo Calendar from RTE.