Skip to content

Commit 9b18a1f

Browse files
seismanweiji14michaelgrund
authored
Fix the command to extract GMT CLI for GMT>=6.4.0 (#2561)
Co-authored-by: Wei Ji <[email protected]> Co-authored-by: Michael Grund <[email protected]>
1 parent 9465b1b commit 9b18a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ the problem:
6262
filter the messages to include only the GMT-equivalent commands using a command
6363
such as:
6464

65-
python <test>.py 2>&1 | awk -F': ' '$2=="GMT_Call_Command string" {print "gmt", $3}'
65+
python <test>.py 2>&1 | awk -F': ' '$2=="GMT_Call_Command string" {print $3}'
6666

67-
where `<test>` is the name of your test script.
67+
where `<test>` is the name of your test script. Note that this script works only with GMT>=6.4
6868
* If the bug is produced when passing an in-memory data object (e.g., a
6969
pandas.DataFrame or xarray.DataArray) to a PyGMT function, try writing the
7070
data to a file (e.g., a NetCDF or ASCII txt file) and passing the data file

0 commit comments

Comments
 (0)