Skip to content

Commit 1d9f21a

Browse files
committed
Revert changes to datasets/samples.py and helpers/testing.py
Cherry-picked to c2011d7 in #3922.
1 parent 1c8af3a commit 1d9f21a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygmt/datasets/samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def _load_earth_relief_holes() -> xr.DataArray:
204204
is in meters.
205205
"""
206206
fname = which("@earth_relief_20m_holes.grd", download="c")
207-
return load_dataarray(fname, engine="gmt", decode_kind="grid")
207+
return load_dataarray(fname, engine="netcdf4")
208208

209209

210210
class GMTSampleData(NamedTuple):

pygmt/helpers/testing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def load_static_earth_relief():
154154
A grid of Earth relief for internal tests.
155155
"""
156156
fname = which("@static_earth_relief.nc", download="c")
157-
return load_dataarray(fname, decode_kind="grid")
157+
return load_dataarray(fname)
158158

159159

160160
def skip_if_no(package):

0 commit comments

Comments
 (0)