Skip to content

Commit 8be5e81

Browse files
authored
Figure 5: Update grdfilter to the new syntax (#37)
* Figure 5: Use readable arguments for the distance parameter * Figure 5: Update grdfilter with filter/width
1 parent 55fb122 commit 8be5e81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Fig5_PyGMT_xarray.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"\n",
1313
"mars = pygmt.datasets.load_mars_relief(resolution=\"10m\")\n",
1414
"with pygmt.config(PROJ_ELLIPSOID=\"mars\"):\n",
15-
" mars_filter = mars.gmt.filter(filter=\"g50\", distance=4)\n",
15+
" mars_filter = mars.gmt.filter(filter=\"gaussian\", width=50, distance=\"geo_spherical\")\n",
1616
" mars_grad = mars_filter.gmt.gradient(azimuth=-45, normalize=\"cauchy\")\n",
1717
"\n",
1818
"fig = pygmt.Figure()\n",

0 commit comments

Comments
 (0)