Skip to content

Commit 2ebe165

Browse files
michaelgrundwillschlitzerseismanweiji14
authored
Add alias for blockmean's -S parameter (#1601)
Co-authored-by: Will Schlitzer <[email protected]> Co-authored-by: Dongdong Tian <[email protected]> Co-authored-by: Wei Ji <[email protected]>
1 parent b328d49 commit 2ebe165

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pygmt/src/blockm.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def _blockm(block_method, data, x, y, z, outfile, **kwargs):
7070
@use_alias(
7171
I="spacing",
7272
R="region",
73+
S="summary",
7374
V="verbose",
7475
a="aspatial",
7576
b="binary",
@@ -111,6 +112,15 @@ def blockmean(data=None, x=None, y=None, z=None, outfile=None, **kwargs):
111112
112113
{I}
113114
115+
summary : str
116+
[**m**\|\ **n**\|\ **s**\|\ **w**].
117+
Type of summary values calculated by blockmean.
118+
119+
- **m** - reports mean value [Default]
120+
- **n** - report the number of input points inside each block
121+
- **s** - report the sum of all z-values inside a block
122+
- **w** - report the sum of weights
123+
114124
{R}
115125
116126
outfile : str

0 commit comments

Comments
 (0)