-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmanual-tests.py
31 lines (24 loc) · 1.5 KB
/
manual-tests.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import os
from cartiflette.download import store_vectorfile_ign
path = store_vectorfile_ign(
source="EXPRESS-COG-TERRITOIRE", year=2022, field="metropole"
)
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2021, field="reunion")
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2020, field="reunion")
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2019, field="reunion")
for c in ["metropole", "reunion", "guadeloupe", "martinique", "mayotte", "guyane"]:
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2022, field=c)
print(os.listdir(path))
for c in ["metropole", "reunion", "guadeloupe", "martinique", "mayotte", "guyane"]:
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2021, field=c)
print(os.listdir(path))
for c in ["metropole", "reunion", "guadeloupe", "martinique", "mayotte", "guyane"]:
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2020, field=c)
print(os.listdir(path))
for c in ["metropole", "reunion", "guadeloupe", "martinique", "mayotte", "guyane"]:
path = store_vectorfile_ign(source="EXPRESS-COG-TERRITOIRE", year=2019, field=c)
print(os.listdir(path))
path = store_vectorfile_ign(source="EXPRESS-COG", year=2022, field="metropole")
path = store_vectorfile_ign(source="EXPRESS-COG", year=2021, field="metropole")
path = store_vectorfile_ign(source="EXPRESS-COG", year=2020, field="reunion")
path = store_vectorfile_ign(source="EXPRESS-COG", year=2019, field="reunion")