-
Notifications
You must be signed in to change notification settings - Fork 235
DOC: Improve link to the GMT documentation #3944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
86d731a
f6fd3e9
fbe8b0b
bc4bca5
001a066
23853e4
8cd4d3c
c53f2c9
d488f43
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -125,14 +125,17 @@ def grdfill( | |
| r""" | ||
| Interpolate across holes in a grid. | ||
|
|
||
| .. note:: | ||
|
|
||
| Wraps the GMT module ``grdfill``. | ||
| The GMT documentation is at :gmt-docs:`grdfill.html`. | ||
|
|
||
| Read a grid that presumably has unfilled holes that the user wants to fill in some | ||
| fashion. Holes are identified by NaN values but this criteria can be changed via the | ||
| ``hole`` parameter. There are several different algorithms that can be used to | ||
| replace the hole values. If no holes are found the original unchanged grid is | ||
| returned. | ||
|
|
||
| Full option list at :gmt-docs:`grdfill.html`. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I thought we usually use the same method name as upstream GMT? Different ones I can find are:
The names seem to follow closely enough that we don't need to repeat the name really.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
For those convenience methods, then yes, it makes sense to use "Wraps GMT module
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK. I've changed it to "Full GMT docs at ...". Will apply the same changes to other files when getting at least two approvals. Edit: I've applied the changes to all files. |
||
|
|
||
| {aliases} | ||
|
|
||
| Parameters | ||
|
|
||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. If it should fit into one line, maye we can put the link to the docs within the
grdfill.Not sure, if the link works in this way or the full URL is required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if your solution works, but the one below is shorter and should work. This way, the URL isn't explicitly shown, so readers might not realize that it links to the GMT documentation. Is it OK?