-
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
Add load_earth_vertical_gravity_gradient function for Earth vertical gravity gradient dataset #2240
Add load_earth_vertical_gravity_gradient function for Earth vertical gravity gradient dataset #2240
Conversation
Co-authored-by: Dongdong Tian <[email protected]>
doc/api/index.rst
Outdated
@@ -225,6 +225,7 @@ and store them in GMT's user data directory. | |||
datasets.load_earth_geoid | |||
datasets.load_earth_magnetic_anomaly | |||
datasets.load_earth_relief | |||
datasets.load_earth_vgg |
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.
Is earth_vgg
a good name? Perhaps we should use earth_vertical_gravity_gradient
instead?
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 debated that, but my decision to use earth_vgg
was that earth_vertical_gravity_gradient
is super long to type out. My thought is that earth_vgg
is unique enough as to not be confusing.
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.
earth_vertical_gravity_gradient
is super long to type out.
Yes, but we have autocompletion so a long name is still easy to type.
My thought is that
earth_vgg
is unique enough as to not be confusing.
earth_vgg
is unique, but it doesn't tell users what the dataset is.
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.
Changed to load_earth_vertical_gravity_gradient
Co-authored-by: Dongdong Tian <[email protected]>
…al-gravity-gradient' into load-remote-dataset/earth-vertical-gravity-gradient
Co-authored-by: Michael Grund <[email protected]>
This adds the
load_earth_vertical_gravity_gradient
function for the Earth vertical gravity gradient dataset.Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version