downloading

Module reaching ENTSO-E server and downloading data

ecodynelec.preprocessing.downloading.download(config, threshold_minutes=15, threshold_size=0.9, is_verbose=False)[source]

Downloads data from ENTSO-E servers and save it.

Parameters:
  • config (ecodynelec.Parameter) – collection of parameters for the execution of ecodynelec. The relevant information is the start and end date, as well as server information and path information to save raw_generation and raw_exchange.

  • thershold_minutes (int, default to 15) – time in minutes. Maximum time between last download and last remote unpdate to not download the file.

  • threshold_size (float, default to 0.9) – minimum ratio of size difference between local and remote file below which to download, if the last download is newer than threshold_minutes.

  • is_verbose (bool, default to False) – to display information during the download

Return type:

None