@@ -73,7 +73,6 @@ def _blockm(
73
73
@fmt_docstring
74
74
@use_alias (
75
75
I = "spacing" ,
76
- R = "region" ,
77
76
S = "summary" ,
78
77
a = "aspatial" ,
79
78
b = "binary" ,
@@ -86,14 +85,15 @@ def _blockm(
86
85
r = "registration" ,
87
86
w = "wrap" ,
88
87
)
89
- @kwargs_to_strings (I = "sequence" , R = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
88
+ @kwargs_to_strings (I = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
90
89
def blockmean (
91
90
data : PathLike | TableLike | None = None ,
92
91
x = None ,
93
92
y = None ,
94
93
z = None ,
95
94
output_type : Literal ["pandas" , "numpy" , "file" ] = "pandas" ,
96
95
outfile : PathLike | None = None ,
96
+ region = None ,
97
97
verbose : Literal ["quiet" , "error" , "warning" , "timing" , "info" , "compat" , "debug" ]
98
98
| bool = False ,
99
99
** kwargs ,
@@ -113,6 +113,7 @@ def blockmean(
113
113
Full GMT docs at :gmt-docs:`blockmean.html`.
114
114
115
115
{aliases}
116
+ - R = region
116
117
- V = verbose
117
118
118
119
Parameters
@@ -166,6 +167,7 @@ def blockmean(
166
167
>>> data_bmean = pygmt.blockmean(data=data, region=[245, 255, 20, 30], spacing="5m")
167
168
"""
168
169
aliasdict = AliasSystem ().add_common (
170
+ R = region ,
169
171
V = verbose ,
170
172
)
171
173
aliasdict .merge (kwargs )
@@ -185,7 +187,6 @@ def blockmean(
185
187
@fmt_docstring
186
188
@use_alias (
187
189
I = "spacing" ,
188
- R = "region" ,
189
190
a = "aspatial" ,
190
191
b = "binary" ,
191
192
d = "nodata" ,
@@ -197,14 +198,15 @@ def blockmean(
197
198
r = "registration" ,
198
199
w = "wrap" ,
199
200
)
200
- @kwargs_to_strings (I = "sequence" , R = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
201
+ @kwargs_to_strings (I = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
201
202
def blockmedian (
202
203
data : PathLike | TableLike | None = None ,
203
204
x = None ,
204
205
y = None ,
205
206
z = None ,
206
207
output_type : Literal ["pandas" , "numpy" , "file" ] = "pandas" ,
207
208
outfile : PathLike | None = None ,
209
+ region = None ,
208
210
verbose : Literal ["quiet" , "error" , "warning" , "timing" , "info" , "compat" , "debug" ]
209
211
| bool = False ,
210
212
** kwargs ,
@@ -224,6 +226,7 @@ def blockmedian(
224
226
Full GMT docs at :gmt-docs:`blockmedian.html`.
225
227
226
228
{aliases}
229
+ - R = region
227
230
- V = verbose
228
231
229
232
Parameters
@@ -271,6 +274,7 @@ def blockmedian(
271
274
... )
272
275
"""
273
276
aliasdict = AliasSystem ().add_common (
277
+ R = region ,
274
278
V = verbose ,
275
279
)
276
280
aliasdict .merge (kwargs )
@@ -290,7 +294,6 @@ def blockmedian(
290
294
@fmt_docstring
291
295
@use_alias (
292
296
I = "spacing" ,
293
- R = "region" ,
294
297
a = "aspatial" ,
295
298
b = "binary" ,
296
299
d = "nodata" ,
@@ -302,14 +305,15 @@ def blockmedian(
302
305
r = "registration" ,
303
306
w = "wrap" ,
304
307
)
305
- @kwargs_to_strings (I = "sequence" , R = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
308
+ @kwargs_to_strings (I = "sequence" , i = "sequence_comma" , o = "sequence_comma" )
306
309
def blockmode (
307
310
data : PathLike | TableLike | None = None ,
308
311
x = None ,
309
312
y = None ,
310
313
z = None ,
311
314
output_type : Literal ["pandas" , "numpy" , "file" ] = "pandas" ,
312
315
outfile : PathLike | None = None ,
316
+ region = None ,
313
317
verbose : Literal ["quiet" , "error" , "warning" , "timing" , "info" , "compat" , "debug" ]
314
318
| bool = False ,
315
319
** kwargs ,
@@ -329,6 +333,7 @@ def blockmode(
329
333
Full GMT docs at :gmt-docs:`blockmode.html`.
330
334
331
335
{aliases}
336
+ - R = region
332
337
- V = verbose
333
338
334
339
Parameters
@@ -374,6 +379,7 @@ def blockmode(
374
379
>>> data_bmode = pygmt.blockmode(data=data, region=[245, 255, 20, 30], spacing="5m")
375
380
"""
376
381
aliasdict = AliasSystem ().add_common (
382
+ R = region ,
377
383
V = verbose ,
378
384
)
379
385
aliasdict .merge (kwargs )
0 commit comments