-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen.py
25 lines (23 loc) · 1.23 KB
/
gen.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
import os
villes = [
# ("Rouen", (49.42364364472353, 1.0889931971585671)),
# ("Caen", (49.188562667415184, -0.3621150315573218)),
# ("Le Havre", (49.493361911402964, 0.10818307155190891)),
# ("Dieppe", (49.92294898774177, 1.07642452025133)),
# ("Saint-Lô", (49.1226192303464, -1.0738308330232451)) ,
# ("Flers", (48.77268146637846, -0.5492336655166238)),
# ("Lisieux", (49.13707986203113, 0.2418004318421919)),
# ("L'aigle", (48.75828184669288, 0.6331883802144238)),
# ("Falaise", (48.89750837624026, -0.18803963335785565)),
# ("Évreux", (49.025447777298695, 1.1507501030274085)),
# ("Étretat", (49.706862654415886, 0.20350427588970063)),
# ("Yvetot", (49.618034590413934, 0.754792248780087)),
# ("Fécamp", (49.75575803123147, 0.38146338808018165)),
# ("Coutances", (49.04833164851479, -1.444918180845699)),
# ("Flamanville", (49.53124397448537, -1.8657233606372166)),
# ("Val-de-Reuil", (49.2716617793797, 1.2152624447528737)),
("Roncherolles-sur-le-Vivier", (49.4671318269962, 1.1806878709792534)),
]
for ville, coords in villes:
os.system(f'CITY="{ville}" LAT={coords[0]} LONG={coords[1]} python parseData.py')
os.system(f'CITY="{ville}" yarn remotion render src/index.tsx Atmo "out/{ville}.mp4" --props=data.json')