-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunc_age.m
More file actions
198 lines (146 loc) · 6.88 KB
/
func_age.m
File metadata and controls
198 lines (146 loc) · 6.88 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
%%Calculate Ages for paleosol outcrops assuming constant sedimentation rate
%%Palo Pintado Age Determination
function [return_matrix,return_ages,return_Sample_name] = func_age(site_id)
if strcmp(site_id,'PP') || strcmp(site_id,'all')
Stratigraphic_height = [2,2,10,10,12,12,25,25,47.5,47.5,54.5,54.5,60,60,60,66.5,66.5,90.5,90.5,120,120,158,158,164,164,185,185,210,210,232.5,232.5,290,290,290,338,338,401,401,401,461.5,461.5,460,929,929,952,952,1008,1008,1030,1030,1067.5,1067.5,1067.5,1104,1104,1140.5,1140.5,1204.5,1204.5,1244,1244,1244,1293,1293,1338,1338,512,512,529.5,529.5,557,557,592,592,630,630,672.5,672.5,744,744,744,831,831,872,872,1367,1367,1367,1422,1422,1432,1432,1432,1480.5,1480.5,1535,1535,1577,1577,1577,1599,1599,1599,1641,1641,1641,1735,1735,1735,1751,1751];
PP = [1:1:length(Stratigraphic_height)];
Palo_pintado_constant = 'PP_';
for i=1:length(Stratigraphic_height)
PP_Sample_name(i) = Palo_pintado_constant + string(PP(i));
return_Sample_name(i) = PP_Sample_name(i);
end
% We know two ash layers in this section, one at 7.24Ma at 8m in our column
% and 5.98Ma at 1730m in our column. Assuming constant sedimentation rate,
% this implies, an increase in age of 7.317e-4 Ma
% per m increase in section.
%Age = Max_age - ((span_of_age /stratigrpahic height)*(Stratigraphy_height-where top age occurs))
PP_ages = 7.24 - ((1.26/1722) * (Stratigraphic_height - 8));%Ma
return_ages = PP_ages;
for j=1:2
for k=1:length(Stratigraphic_height)
if j == 1
Palo_pintado_matrix(j,k) = PP_Sample_name(k);
else
Palo_pintado_matrix(j,k) = PP_ages(k);
end
end
end
%assign to return variable
for j=1:2
for k=1:length(Stratigraphic_height)
return_matrix(j,k) = Palo_pintado_matrix(j,k);
end
end
%test loop
for j=1:2
for k=1:length(Stratigraphic_height)
if j == 1
Palo_pintado_test(j,k) = PP_Sample_name(k);
else
Palo_pintado_test(j,k) = Stratigraphic_height(k);
end
end
end
end
%%La Vina Age determination
if strcmp(site_id,'LV') || strcmp(site_id,'all')
Stratigraphic_height = [0,0,0,6.5,6.5,6.5,9.5,9.5,9.5,9.5,9.5,14.5,14.5,29.5,29.5,46,62,62,75,75,82.5,82.5,82.5,88,88,92,92,98,98,104,104,113,113,122.5,122.5,129,129,129,155,155,250+3,250+3,250+8,250+8,250+18,250+18,250+95,250+95,250+107.5,250+107.5,404,250+172,250+172,250+172,250+175,250+175,250+180,250+180,250+185,250+185,250+188,250+188,250+192.5,250+192.5,250+220,250+220,250+220,250+223,250+223,250+250+104.5,250+250+142];
LV = [1:1:length(Stratigraphic_height)];
La_vina_constant = 'LV_';
for i=1:length(Stratigraphic_height)
LV_Sample_name(i) = La_vina_constant + string(LV(i));
return_Sample_name(i) = LV_Sample_name(i);
end
% 1. We know the Guanaco Formation has been dated at 8.73 ± 0.25 Ma by K/Ar on biotite from an ash (Del Papa et al ., 1993).
% Therefore, ash A5 is 8.73 Ma ± 0.25 Ma by K/Ar as this is the only
% ash layer in the identified stratigraphy. @161 of Guanaco =
% 161 + 250(of Jesus Maria)
% 2. A4 is LVT‐006 identified in Carrapa et. al, becasue it lies
% somewhat midsection and overlayen by crossbedded sand stone. @129m
%
% This makes sense, if we assume uniform deposition; our time inteval of
% transition (7.48 Ma-4.8 Ma) between Guanoco and the Piquete formation and the end member in the
% Piquete formation (4.8 Ma,4 Ma) correspond to expected ages.
% Therefore, identified ash layer A4 must be the paleosol identified by
% Carrera et. al
LV_ages = 14.4 - ((14.4 - 8.73) / ((161+250)-129.5)*(Stratigraphic_height-129.5));%Ma
return_ages = LV_ages;
for j=1:2
for k=1:length(Stratigraphic_height)
if j == 1
La_vina_matrix(j,k) = LV_Sample_name(k);
else
La_vina_matrix(j,k) = LV_ages(k);
end
end
end
%assign to return variable
for j=1:2
for k=1:length(Stratigraphic_height)
return_matrix(j,k) = La_vina_matrix(j,k);
end
end
%test loop
for j=1:2
for k=1:length(Stratigraphic_height)
if j == 1
La_vina_test(j,k) = LV_Sample_name(k);
else
La_vina_test(j,k) = Stratigraphic_height(k);
end
end
end
end
%%Rio Iruya Age determination
if strcmp(site_id,'RI') || strcmp(site_id,'all')
stratigraphic_height_file = strcat(site_id,'_Stratigraphic_height.xlsx');
[~, ~, strat_height_all] = xlsread(stratigraphic_height_file,'A:A'); %Read in Stratigraphic height from excel sheet.
Stratigraphic_height = str2double(string(strat_height_all));
RI = (1:1:length(Stratigraphic_height));
Rio_Iruya_constant = 'RI_';
%Rio_Iruya_Jen_constant = 'RI_J'; % RI has parallel stratigraphy as Jen + Sol walked a separate section from Ethan and David
count = 1;
for i=1:length(Stratigraphic_height)
% Stratigraphy defined such that Ethan/David samples first 115 then
% Jen/Sol samples.
% In order to handle RI_J1 => RI_113. ie
if count <=113
RI_Sample_name(i) = Rio_Iruya_constant + string(RI(i));
else
RI_Sample_name(i) = Rio_Iruya_constant + string(count);
end
count = count + 1;
return_Sample_name(i) = RI_Sample_name(i);
end
% Ash layer @ 204.5 m in section = Amidon et al., 2015
% Average sedimentation rate in paper determined to be 0.93 Km/My
% Each m corresponds to 1/930 My/m = 0.00107526881 My/m
% The ash layer occurs at 204.5m in our stratigraphy.
% Adjust stratigraphy to reflect 6.49 My at 204.5 m => (Stratigraphic_height - 204.5)
indx=0;
for indx=1:length(Stratigraphic_height)
if (Stratigraphic_height(indx) <= 204.5)
RI_ages(indx) = 6.49 - (((6.49 - 5.5) ./ (204.5-26)) .* (Stratigraphic_height(indx) - 26));
elseif ((Stratigraphic_height(indx) > 204.5) && (Stratigraphic_height(indx) <= 1540))
RI_ages(indx) = 5.5 - (((5.5 - 4.09) / (1540-204.5)) * (Stratigraphic_height(indx) - 204.5));
else
RI_ages(indx) = 4.09 - (((4.09 - 2.63) / (2176-1540)) * (Stratigraphic_height(indx) - 1540));
end
return_ages(indx) = RI_ages(indx);
end
for j=1:2
for k=1:length(Stratigraphic_height)
if j == 1
Rio_Iruya_matrix(j,k) = RI_Sample_name(k);
else
Rio_Iruya_matrix(j,k) = RI_ages(k);
end
end
end
%assign to return variable
for j=1:2
for k=1:length(Stratigraphic_height)
return_matrix(j,k) = Rio_Iruya_matrix(j,k);
end
end
end