download_natural_earth

This commit is contained in:
Zsolt Ero
2024-01-08 18:44:05 +01:00
parent c9c2dba4c4
commit 44359c8ca9
5 changed files with 30 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ def get_remote_file_size(url: str) -> int | None:
def download_file_aria2(url: str, local_file: Path):
print(f' downloading: {url} into {local_file}')
local_file.unlink(missing_ok=True)
subprocess.run(
[