File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1212from pygmt .clib import Session
1313from pygmt .helpers import (
1414 build_arg_list ,
15+ deprecate_parameter ,
1516 fmt_docstring ,
1617 kwargs_to_strings ,
1718 use_alias ,
2223
2324
2425@fmt_docstring
26+ @deprecate_parameter ("gridmask" , "mask_grid" , "v0.18.0" , remove_version = "v0.20.0" )
2527@use_alias (
2628 A = "area_thresh" ,
2729 C = "dist2pt" ,
2830 F = "polygon" ,
29- G = "gridmask " ,
31+ G = "mask_grid " ,
3032 I = "reverse" ,
3133 L = "dist2line" ,
3234 N = "mask" ,
@@ -128,17 +130,17 @@ def select(
128130 <reference/file-formats.html#optional-segment-header-records>`
129131 *polygonfile*. For spherical polygons (lon, lat), make sure no
130132 consecutive points are separated by 180 degrees or more in longitude.
131- gridmask : str
133+ mask_grid : str
132134 Pass all locations that are inside the valid data area of the grid
133- *gridmask *. Nodes that are outside are either NaN or zero.
135+ *mask_grid *. Nodes that are outside are either NaN or zero.
134136 reverse : str
135137 [**cflrsz**].
136138 Reverse the sense of the test for each of the criteria specified:
137139
138140 - **c** select records NOT inside any point's circle of influence.
139141 - **f** select records NOT inside any of the polygons.
140142 - **g** will pass records inside the cells with z equal zero of the
141- grid mask in ``gridmask ``.
143+ *mask_grid* in ``mask_grid ``.
142144 - **l** select records NOT within the specified distance of any line.
143145 - **r** select records NOT inside the specified rectangular region.
144146 - **s** select records NOT considered inside as specified by ``mask``
You can’t perform that action at this time.
0 commit comments