-
Notifications
You must be signed in to change notification settings - Fork 224
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
Figure.coast/pygmt.select/pygmt.grdlandmask: Use long names ("crude"/"low"/"intermediate"/"high"/"full") for the 'resolution' parameter #3013
base: main
Are you sure you want to change the base?
Conversation
e4ea5a1
to
d9af3e0
Compare
d9af3e0
to
88be372
Compare
b493d81
to
6840b39
Compare
…ll") for the 'resolution' parameter
6840b39
to
5fac3ae
Compare
fdf817e
to
5e1ebe8
Compare
CodSpeed Performance ReportMerging #3013 will degrade performances by 12.94%Comparing Summary
Benchmarks breakdown
|
if not found]. Note that because the coastlines differ in details | ||
it is not guaranteed that a point will remain inside [or outside] when | ||
a different resolution is selected. | ||
resolution |
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.
Copied from https://docs.generic-mapping-tools.org/dev/gmtselect.html#d, but the +f
modifier is not mentioned.
the coastlines differ in details a node in a mask file using one | ||
resolution is not guaranteed to remain inside [or outside] when a | ||
different resolution is selected. | ||
resolution |
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.
Copied from https://docs.generic-mapping-tools.org/dev/grdlandmask.html#d, but the +f
modifier is not mentioned.
**f**\|\ **h**\|\ **i**\|\ **l**\|\ **c**. | ||
Select the resolution of the data set to: (**f**\ )ull, (**h**\ )igh, | ||
(**i**\ )ntermediate, (**l**\ )ow, and (**c**\ )rude. | ||
resolution |
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.
Copied from https://docs.generic-mapping-tools.org/dev/coast.html#d, but the +f modifier is not mentioned at all, since it's rarely used. It may not work as documented since in recent GMT versions, GMT can automatically download GSHHG and DCW datasets from the GMT data server.
Ping @GenericMappingTools/pygmt-maintainers for thoughts on the proposed changes towards more Pythonic arguments. |
Actually, this PR is not needed if PR #3238 is implemented. |
This PR updates the
resolution
parameter forFigure.coast
/pygmt.select
/pygmt.grdlandmask
to use long names.