@@ -32,6 +32,7 @@ def list_sample_data():
32
32
"mars_shape" : "Table of topographic signature of the hemispheric dichotomy of "
33
33
" Mars from Smith and Zuber (1996)" ,
34
34
"ocean_ridge_points" : "Table of ocean ridge points for the entire world" ,
35
+ "notre_dame_topography" : "Table 5.11 in Davis: Statistics and Data Analysis in Geology" ,
35
36
"usgs_quakes" : "Table of global earthquakes from the USGS" ,
36
37
}
37
38
return names
@@ -73,6 +74,7 @@ def load_sample_data(name):
73
74
"japan_quakes" : load_japan_quakes ,
74
75
"mars_shape" : load_mars_shape ,
75
76
"ocean_ridge_points" : load_ocean_ridge_points ,
77
+ "notre_dame_topography" : _load_notre_dame_topography ,
76
78
"usgs_quakes" : load_usgs_quakes ,
77
79
}
78
80
@@ -348,6 +350,19 @@ def load_mars_shape(**kwargs):
348
350
return data
349
351
350
352
353
+ def _load_notre_dame_topography (** kwargs ): # pylint: disable=unused-argument
354
+ """
355
+ Load Table 5.11 in Davis: Statistics and Data Analysis in Geology.
356
+
357
+ Returns
358
+ -------
359
+ data : pandas.DataFrame
360
+ The data table with columns "x", "y", and "z".
361
+ """
362
+ fname = which ("@Table_5_11.txt" , download = "c" )
363
+ return pd .read_csv (fname , sep = r"\s+" , header = None , names = ["x" , "y" , "z" ])
364
+
365
+
351
366
def _load_earth_relief_holes (** kwargs ): # pylint: disable=unused-argument
352
367
"""
353
368
Loads the remote file @earth_relief_20m_holes.grd.
0 commit comments