-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
executable file
·88 lines (65 loc) · 2.37 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
all: cleanup processD47 processd18O assignd18Osw Tcalcif Tatlas Tcalcif_onemoretime swchem finalplots malevich meckler d13C finalcleanup
@echo "\nALL DONE."
cleanup:
@echo "\nCLEANING UP...\n"
rm -f 1_compile_D47_data/foram_D47_compilation.csv
rm -f 1_compile_D47_data/*.pdf
rm -f 2_compile_d18O_data/*.csv
rm -f 2_compile_d18O_data/*.pdf
rm -f 2_compile_d18O_data/plots/*/*.pdf
rm -f 5_assign_d18Osw/*.csv
rm -f 5_assign_d18Osw/plots/*/*.pdf
rm -f 6_assign_atlas_T/*.csv
rm -f 6_assign_atlas_T/histograms/pdf/*.pdf
rm -f 7_assign_Tcalcif/*.csv
rm -f 7_assign_Tcalcif/*.pdf
rm -f 8_seawater_chemistry/*.csv
rm -f 9_final_plots/sites.csv
rm -f 9_final_plots/plots/*.pdf
rm -f output/*.py
rm -f output/*.pdf
rm -f output/*.csv
processD47:
@echo "\nPROCESSING D47 DATA..."
@echo; cd 1_compile_D47_data; ./plot_as_published.py; ./foram_D47_compilation.py
processd18O:
@echo "\nPROCESSING d18O DATA..."
@echo; cd 2_compile_d18O_data; ./foram_d18O_compilation.py; ./species_offsets.py
assignd18Osw:
@echo "\nEXTRACTING d18Osw DATA FROM ATLAS..."
@echo; cd 5_assign_d18Osw; ./estimate_bottom_d18Osw.py; ./estimate_planktic_d18Osw.py
Tcalcif:
@echo "\nCOMPUTE CALCIFICATION TEMPERATURES..."
@echo; cd 7_assign_Tcalcif; ./assign_Tcalcif.py
Tatlas:
@echo "\nEXTRACTING TEMPERATURE DATA FROM ATLAS..."
@echo; cd 6_assign_atlas_T; ./assign_atlas_T.py
Tcalcif_onemoretime:
@echo "\nCOMPUTE CALCIFICATION TEMPERATURES AGAIN..."
@echo; cd 7_assign_Tcalcif; ./assign_Tcalcif.py
swchem:
@echo "\nSEAWATER CHEMISTRY..."
@echo; cd 8_seawater_chemistry; ./seawater_chemistry.py
finalplots:
@echo "\nCREATE FINAL PLOTS..."
@echo; cd 9_final_plots; ./Tiso_vs_Tiso_500m.py; ./compile_sites.py; ./sitemap.py; ./regression_plots.py
malevich:
@echo "\nMALEVICH (2019)..."
@cd Malevich_2019; ./4_plots.py
meckler:
@echo "\nMECKLER (2022)..."
@echo; cd Meckler_2022; ./meckler_2022.py
d13C:
@echo "\nCHECK d13C..."
@echo; cd check_d13C; ./check_d13C.py
finalcleanup:
@echo "\nCLEAN UP..."
@cp 1_compile_D47_data/*.pdf ./output/
@cp 2_compile_d18O_data/*.pdf output/
@cp 2_compile_d18O_data/foram_d18O_compilation.csv output/
@cp 2_compile_d18O_data/species_offsets.csv output/
@cp 5_assign_d18Osw/*.pdf output/
@cp 7_assign_Tcalcif/*.pdf output/
@cp 7_assign_Tcalcif/foram_D47_calibration_data.csv output/
@cp 9_final_plots/plots/*.pdf output/
@cp 9_final_plots/sites.csv output/