File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,27 @@ top of the GitHub repository and click *New Issue*.
50
50
* After submitting your bug report, try to answer any follow up questions about the bug
51
51
as best as you can.
52
52
53
+ #### Reporting upstream bugs
54
+
55
+ If you are aware that a bug is caused by an upstream GMT issue rather than a
56
+ PyGMT-specific issue, you can optionally take the following steps to help resolve
57
+ the problem:
58
+
59
+ * Add the line ` pygmt.config(GMT_VERBOSE='d') ` after your import statements, which
60
+ will report the equivalent GMT commands as one of the debug messages.
61
+ * Either append all messages from running your script to your GitHub issue, or
62
+ filter the messages to include only the GMT-equivalent commands using a command
63
+ such as:
64
+
65
+ python <test>.py 2>&1 | awk -F': ' '$2=="GMT_Call_Command string" {print "gmt", $3}'
66
+
67
+ where ` <test> ` is the name of your test script.
68
+ * If the bug is produced when passing an in-memory data object (e.g., a
69
+ pandas.DataFrame or xarray.DataArray) to a PyGMT function, try writing the
70
+ data to a file (e.g., a NetCDF or ASCII txt file) and passing the data file
71
+ to the PyGMT function instead. In the GitHub issue, please share the results
72
+ for both cases along with your code.
73
+
53
74
### Submitting a Feature Request
54
75
55
76
* Find the [ * Issues* ] ( https://github.com/GenericMappingTools/pygmt/issues ) tab on the
You can’t perform that action at this time.
0 commit comments