File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 10
10
import pygmt
11
11
12
12
# Load sample data
13
- data = pygmt .datasets .load_japan_quakes ( )
13
+ data = pygmt .datasets .load_sample_data ( name = "japan_quakes" )
14
14
# Select only needed columns
15
15
data = data [["longitude" , "latitude" , "depth_km" ]]
16
16
Original file line number Diff line number Diff line change 10
10
11
11
# Load sample compilation of fracture lengths and azimuth as
12
12
# hypothetically digitized from geological maps
13
- data = pygmt .datasets .load_fractures_compilation ( )
13
+ data = pygmt .datasets .load_sample_data ( name = "fractures" )
14
14
15
15
fig = pygmt .Figure ()
16
16
Original file line number Diff line number Diff line change 18
18
19
19
# Load sample grid and point datasets
20
20
grid = pygmt .datasets .load_earth_relief ()
21
- points = pygmt .datasets .load_ocean_ridge_points ( )
21
+ points = pygmt .datasets .load_sample_data ( name = "ocean_ridge_points" )
22
22
# Sample the bathymetry along the world's ocean ridges at specified track
23
23
# points
24
24
track = pygmt .grdtrack (points = points , grid = grid , newcolname = "bathymetry" )
You can’t perform that action at this time.
0 commit comments