retrieve: update opsd electricity demand url to fixed date

This commit is contained in:
Fabian 2023-08-02 11:00:21 +02:00
parent 3361ca66c5
commit bc6cc6c983
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ This rule, as a substitute for :mod:`build_natura_raster`, downloads an already
Rule ``retrieve_electricity_demand`` Rule ``retrieve_electricity_demand``
==================================== ====================================
This rule downloads hourly electric load data for each country from the `OPSD platform <https://data.open-power-system-data.org/time_series/latest/time_series_60min_singleindex.csv>`_. This rule downloads hourly electric load data for each country from the `OPSD platform <https://data.open-power-system-data.org/time_series/2019-06-05/time_series_60min_singleindex.csv>`_.
**Relevant Settings** **Relevant Settings**

View File

@ -161,7 +161,7 @@ if config["enable"]["retrieve"]:
"data.open-power-system-data.org/time_series/{version}/time_series_60min_singleindex.csv".format( "data.open-power-system-data.org/time_series/{version}/time_series_60min_singleindex.csv".format(
version="2019-06-05" version="2019-06-05"
if config["snapshots"]["end"] < "2019" if config["snapshots"]["end"] < "2019"
else "latest" else "2020-10-06"
), ),
keep_local=True, keep_local=True,
static=True, static=True,