@@ -22,7 +22,6 @@ data_Vol2 = GMG_Dataset("Plomerova2022", "Volume", "https://seafile.rlp.net/f/ab
22
22
# data_Vol2 = GMG_Dataset("Zhao2016","Volume","https://seafile.rlp.net/f/e81a6d075f6746609973/?dl=1", true)
23
23
24
24
# Now load these datasets into NamedTuples
25
-
26
25
SurfData = load_GMG (data_Surf)
27
26
PointData = load_GMG (data_EQ)
28
27
ScreenshotData = load_GMG (data_SS)
@@ -87,26 +86,26 @@ GeophysicalModelGenerator.create_profile_screenshot!(prof5, Data.Screenshot)
87
86
88
87
89
88
# Test the main profile extraction routines:
90
- extract_ProfileData! (prof1, VolData_combined1, Data. Surface, Data. Point, NamedTuple () )
91
- extract_ProfileData! (prof2, VolData_combined1, Data. Surface, Data. Point, NamedTuple () )
92
- extract_ProfileData! (prof3, VolData_combined1, Data. Surface, Data. Point, NamedTuple () )
93
- extract_ProfileData! (prof4, VolData_combined1, Data. Surface, Data. Point, NamedTuple () )
94
-
95
- extract_ProfileData! (prof1, VolData_combined2, Data. Surface, Data. Point, NamedTuple () )
96
- extract_ProfileData! (prof2, VolData_combined2, Data. Surface, Data. Point, NamedTuple () )
97
- extract_ProfileData! (prof3, VolData_combined2, Data. Surface, Data. Point, NamedTuple () )
98
- extract_ProfileData! (prof4, VolData_combined2, Data. Surface, Data. Point, NamedTuple () )
99
-
100
- extract_ProfileData! (prof1, VolData_combined3, Data. Surface, Data. Point, NamedTuple () )
101
- extract_ProfileData! (prof2, VolData_combined3, Data. Surface, Data. Point, NamedTuple () )
102
- extract_ProfileData! (prof3, VolData_combined3, Data. Surface, Data. Point, NamedTuple () )
103
- extract_ProfileData! (prof4, VolData_combined3, Data. Surface, Data. Point, NamedTuple () )
89
+ extract_ProfileData! (prof1, VolData_combined1, Data. Surface, Data. Point)
90
+ extract_ProfileData! (prof2, VolData_combined1, Data. Surface, Data. Point)
91
+ extract_ProfileData! (prof3, VolData_combined1, Data. Surface, Data. Point)
92
+ extract_ProfileData! (prof4, VolData_combined1, Data. Surface, Data. Point)
93
+
94
+ extract_ProfileData! (prof1, VolData_combined2, Data. Surface, Data. Point)
95
+ extract_ProfileData! (prof2, VolData_combined2, Data. Surface, Data. Point)
96
+ extract_ProfileData! (prof3, VolData_combined2, Data. Surface, Data. Point)
97
+ extract_ProfileData! (prof4, VolData_combined2, Data. Surface, Data. Point)
98
+
99
+ extract_ProfileData! (prof1, VolData_combined3, Data. Surface, Data. Point)
100
+ extract_ProfileData! (prof2, VolData_combined3, Data. Surface, Data. Point)
101
+ extract_ProfileData! (prof3, VolData_combined3, Data. Surface, Data. Point)
102
+ extract_ProfileData! (prof4, VolData_combined3, Data. Surface, Data. Point)
104
103
extract_ProfileData! (prof5, VolData_combined3, Data. Surface, Data. Point, Data. Screenshot)
105
104
106
105
107
106
# Test that it works if only EQ's are provided:
108
107
prof4 = ProfileData (depth = - 20 )
109
- extract_ProfileData! (prof4, nothing , NamedTuple (), Data. Point, NamedTuple () )
108
+ extract_ProfileData! (prof4, nothing , NamedTuple (), Data. Point)
110
109
@test isnothing (prof4. VolData)
111
110
@test isempty (prof4. SurfData)
112
111
@test length (prof4. PointData[1 ]. depth) == 3280
0 commit comments