Skip to content

Commit d580dff

Browse files
pygmt.select: Fix typos (#2518)
Co-authored-by: Michael Grund <[email protected]>
1 parent 9be073a commit d580dff

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pygmt/src/select.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ def select(data=None, outfile=None, **kwargs):
4242
Select data table subsets based on multiple spatial criteria.
4343
4444
This is a filter that reads (x, y) or (longitude, latitude) positions from
45-
the first 2 columns of *data* and uses a combination of 1-7 criteria to
45+
the first 2 columns of ``data`` and uses a combination of 1-7 criteria to
4646
pass or reject the records. Records can be selected based on whether or not
47-
they are:
48-
49-
1. inside a rectangular region (``region`` [and ``projection``])
50-
2. within *dist* km of any point in *pointfile*
51-
3. within *dist* km of any line in *linefile*
52-
4. inside one of the polygons in the *polygonfile*
53-
5. inside geographical features (based on coastlines)
54-
6. has z-values within a given range, or
55-
7. inside bins of a grid mask whose nodes are non-zero
47+
they:
48+
49+
1. are inside a rectangular region (``region`` [and ``projection``])
50+
2. are within *dist* km of any point in *pointfile*
51+
3. are within *dist* km of any line in *linefile*
52+
4. are inside one of the polygons in *polygonfile*
53+
5. are inside geographical features (based on coastlines)
54+
6. have z-values within a given range
55+
7. are inside bins of a grid mask whose nodes are non-zero
5656
5757
The sense of the tests can be reversed for each of these 7 criteria by
5858
using the ``reverse`` parameter.

0 commit comments

Comments
 (0)