Skip to content
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

Remote Datasets: Use complete word for units in "load_remote_dataset" and related tests #3725

Merged
merged 5 commits into from
Dec 26, 2024

Conversation

yvonnefroehlich
Copy link
Member

Description of proposed changes

See comment #3706 (comment) and the following comments for context.

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

@yvonnefroehlich yvonnefroehlich added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Dec 26, 2024
@yvonnefroehlich yvonnefroehlich added this to the 0.14.0 milestone Dec 26, 2024
@yvonnefroehlich yvonnefroehlich self-assigned this Dec 26, 2024
@yvonnefroehlich yvonnefroehlich changed the title Remote Datasets: Use complete word for units in "load_remote_dataset" Remote Datasets: Use complete word for units in "load_remote_dataset" and related tests Dec 26, 2024
@@ -57,7 +57,7 @@ class GMTRemoteDataset(NamedTuple):
datasets = {
"earth_age": GMTRemoteDataset(
description="EarthByte Earth seafloor crustal age",
units="Myr",
units="million years",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think "million years" are valid units.

Let's focus on "meters" vs "m" in this PR.

Copy link
Member Author

@yvonnefroehlich yvonnefroehlich Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! I was unsure with the crustal age dataset. Also have a preference to keep Myr.
See commit 676ece8 for the update.

@seisman seisman merged commit c68ea48 into main Dec 26, 2024
21 checks passed
@seisman seisman deleted the make-unit-consistent-datasets branch December 26, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants