Skip to content

Commit

Permalink
Merge branch 'features/status2023_cached_ffe' into features/status2023
Browse files Browse the repository at this point in the history
  • Loading branch information
nailend committed Jan 22, 2024
2 parents e732315 + feae416 commit 4757d9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/egon/data/datasets/demandregio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ def get_cached_tables():
filename = os.path.basename(url)
file_path = Path(".", target_path, filename).resolve()
os.makedirs(file_path.parent, exist_ok=True)
logger.info(f"Downloading: {filename} from {url}.")
download_and_check(url, file_path, max_iteration=5)
with zipfile.ZipFile(file_path, "r") as zip_ref:
zip_ref.extractall(file_path.parent)
Expand Down

0 comments on commit 4757d9c

Please sign in to comment.