-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (42 loc) · 1.3 KB
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
SHELL = /bin/bash
country_list = AFG COD SDN SSD SOM IRQ
update:
for iso3 in ${country_list} ; do \
python Generate_COVID_file.py -d $$iso3 ; \
python Generate_graph.py $$iso3 ; \
python Generate_NPIs.py -f $$iso3 ; \
python Check_output_quality.py $$iso3 ; \
done
update_npi:
for iso3 in ${country_list} ; do \
if [ $$iso3 = "AFG" ] ; then \
python Generate_NPIs.py -u -d $$iso3 ; \
else \
python Generate_NPIs.py -u $$iso3 ; \
fi \
done
setup:
for iso3 in ${country_list} ; do \
python Generate_SADD_exposure_from_tiff.py -d $$iso3 ; \
python Generate_vulnerability_file.py -d $$iso3 ; \
python Generate_mobility_matrix.py $$iso3 ; \
python Generate_COVID_file.py -d $$iso3 ; \
python Generate_graph.py $$iso3 ; \
if [ $$iso3 = "AFG" ] ; then \
python Generate_NPIs.py -u -d $$iso3 ; \
else \
python Generate_NPIs.py -u $$iso3 ; \
fi \
done
setup_graphs_no_download:
for iso3 in ${country_list} ; do \
python Generate_SADD_exposure_from_tiff.py $$iso3 ; \
python Generate_vulnerability_file.py $$iso3 ; \
python Generate_mobility_matrix.py -c -d $$iso3 ; \
python Generate_graph.py $$iso3 ; \
python Check_output_quality.py $$iso3 ; \
done
download_mobility:
for iso3 in ${country_list} ; do \
python Generate_mobility_matrix.py $$iso3 ; \
done