| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 2 | SPDX-FileCopyrightText: Patrik Schönfeldt |
||
| 3 | SPDX-FileCopyrightText: DLR e.V. |
||
| 4 | |||
| 5 | SPDX-License-Identifier: MIT |
||
| 6 | """ |
||
| 7 | |||
| 8 | from urllib.request import urlretrieve |
||
| 9 | |||
| 10 | def download_input_data(): |
||
| 11 | url_temperature = "https://oemof.org/wp-content/uploads/2025/11/temperature.csv" |
||
| 12 | url_energy = "https://oemof.org/wp-content/uploads/2025/11/energy.csv" |
||
| 13 | |||
| 14 | urlretrieve(url_temperature, Path(file_path, "temperature.csv")) |
||
| 15 | urlretrieve(url_energy, Path(file_path, "energy.csv")) |
||
| 16 |