@@ -23,7 +23,7 @@ def _load_japan_quakes() -> pd.DataFrame:
2323 The data table. The column names are "year", "month", "day", "latitude",
2424 "longitude", "depth_km", and "magnitude" of the earthquakes.
2525 """
26- fname = which ("@tut_quakes.ngdc" , download = "c " )
26+ fname = which ("@tut_quakes.ngdc" , download = "cache " )
2727 return pd .read_csv (
2828 fname ,
2929 header = 1 ,
@@ -49,7 +49,7 @@ def _load_ocean_ridge_points() -> pd.DataFrame:
4949 data
5050 The data table. The column names are "longitude" and "latitude".
5151 """
52- fname = which ("@ridge.txt" , download = "c " )
52+ fname = which ("@ridge.txt" , download = "cache " )
5353 return pd .read_csv (
5454 fname ,
5555 sep = r"\s+" ,
@@ -68,7 +68,7 @@ def _load_baja_california_bathymetry() -> pd.DataFrame:
6868 data
6969 The data table. The column names are "longitude", "latitude", and "bathymetry".
7070 """
71- fname = which ("@tut_ship.xyz" , download = "c " )
71+ fname = which ("@tut_ship.xyz" , download = "cache " )
7272 return pd .read_csv (
7373 fname , sep = "\t " , header = None , names = ["longitude" , "latitude" , "bathymetry" ]
7474 )
@@ -83,7 +83,7 @@ def _load_usgs_quakes() -> pd.DataFrame:
8383 data
8484 The data table. Use ``print(data.describe())`` to see the available columns.
8585 """
86- fname = which ("@usgs_quakes_22.txt" , download = "c " )
86+ fname = which ("@usgs_quakes_22.txt" , download = "cache " )
8787 return pd .read_csv (fname )
8888
8989
@@ -97,7 +97,7 @@ def _load_fractures_compilation() -> pd.DataFrame:
9797 data
9898 The data table. The column names are "length" and "azimuth" of the fractures.
9999 """
100- fname = which ("@fractures_06.txt" , download = "c " )
100+ fname = which ("@fractures_06.txt" , download = "cache " )
101101 data = pd .read_csv (fname , header = None , sep = r"\s+" , names = ["azimuth" , "length" ])
102102 return data [["length" , "azimuth" ]]
103103
@@ -116,7 +116,7 @@ def _load_hotspots() -> pd.DataFrame:
116116 The data table. The column names are "longitude", "latitude", "symbol_size", and
117117 "place_name".
118118 """
119- fname = which ("@hotspots.txt" , download = "c " )
119+ fname = which ("@hotspots.txt" , download = "cache " )
120120 return pd .read_csv (
121121 fname ,
122122 sep = "\t " ,
@@ -137,7 +137,7 @@ def _load_mars_shape() -> pd.DataFrame:
137137 data
138138 The data table. The column names are "longitude", "latitude", and "radius_m".
139139 """
140- fname = which ("@mars370d.txt" , download = "c " )
140+ fname = which ("@mars370d.txt" , download = "cache " )
141141 return pd .read_csv (
142142 fname , sep = "\t " , header = None , names = ["longitude" , "latitude" , "radius_m" ]
143143 )
@@ -153,7 +153,7 @@ def _load_rock_sample_compositions() -> pd.DataFrame:
153153 The data table. The column names are "limestone", "water", "air", and
154154 "permittivity".
155155 """
156- fname = which ("@ternary.txt" , download = "c " )
156+ fname = which ("@ternary.txt" , download = "cache " )
157157 return pd .read_csv (
158158 fname ,
159159 sep = r"\s+" ,
@@ -173,7 +173,7 @@ def _load_notre_dame_topography() -> pd.DataFrame:
173173 data
174174 The data table. The column names are "x", "y", and "z".
175175 """
176- fname = which ("@Table_5_11.txt" , download = "c " )
176+ fname = which ("@Table_5_11.txt" , download = "cache " )
177177 return pd .read_csv (fname , sep = r"\s+" , header = None , names = ["x" , "y" , "z" ])
178178
179179
@@ -186,7 +186,7 @@ def _load_maunaloa_co2() -> pd.DataFrame:
186186 data
187187 The data table. The column names are "date" and "co2_ppm".
188188 """
189- fname = which ("@MaunaLoa_CO2.txt" , download = "c " )
189+ fname = which ("@MaunaLoa_CO2.txt" , download = "cache " )
190190 return pd .read_csv (
191191 fname , header = None , skiprows = 1 , sep = r"\s+" , names = ["date" , "co2_ppm" ]
192192 )
@@ -202,7 +202,7 @@ def _load_earth_relief_holes() -> xr.DataArray:
202202 The Earth relief grid. Coordinates are latitude and longitude in degrees. Relief
203203 is in meters.
204204 """
205- fname = which ("@earth_relief_20m_holes.grd" , download = "c " )
205+ fname = which ("@earth_relief_20m_holes.grd" , download = "cache " )
206206 return xr .load_dataarray (fname , engine = "gmt" , raster_kind = "grid" )
207207
208208
0 commit comments