Skip to content

Commit 57c3a1c

Browse files
authored
pygmt.grdfilter: Add the missing grid registration to suppress warnings (#2411)
1 parent 8540a9d commit 57c3a1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/src/grdfilter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def grdfilter(grid, **kwargs):
127127
>>> # Apply a filter of 600km (full width) to the @earth_relief_30m file
128128
>>> # and return a filtered field (saved as netcdf)
129129
>>> pygmt.grdfilter(
130-
... grid="@earth_relief_30m",
130+
... grid="@earth_relief_30m_g",
131131
... filter="m600",
132132
... distance="4",
133133
... region=[150, 250, 10, 40],

0 commit comments

Comments
 (0)