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

Remove "united" as meaning "having units" #2432

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Conversation

dopplershift
Copy link
Member

Description Of Changes

"united" doesn't mean what we want it to in these contexts. Let's go with "unit-ed" at least. I am open to changing to things like "quantity with units" or...?

Checklist

  • [ ] Closes #xxxx
  • [ ] Tests added
  • [ ] Fully documented

@dopplershift dopplershift added the Type: Maintenance Updates and clean ups (but not wrong) label Apr 13, 2022
@dopplershift dopplershift requested a review from a team as a code owner April 13, 2022 00:15
@dopplershift dopplershift requested review from dcamron and removed request for a team April 13, 2022 00:15
@dopplershift dopplershift added this to the May 2022 milestone Apr 13, 2022
@dcamron
Copy link
Member

dcamron commented Apr 13, 2022

Can't say I'm a huge fan of the introduction of "un-unit-ed" throughout. I think "has units", "unitless", or even just letting "quantities" imply units throughout as appropriate seems cleaner to me.

@kgoebber
Copy link
Collaborator

In light of @dcamron comment and reviewing the Pint nomenclature, I think using quantity to signify an array with units is the way to go. Then anything without units could just be referred to as an array. This would also have the benefit of aligning with our use of xarray and quantify() and dequantify().

@dopplershift
Copy link
Member Author

Ok, I rewrote this to just avoid "unit[-]?ed" altogether. Lemme know what y'all think.

@dopplershift dopplershift changed the title Spelling "united" -> "unit-ed" Remove "united" as meaning "having units" Jun 1, 2022
tests/plots/test_station_plot.py Outdated Show resolved Hide resolved
src/metpy/units.py Outdated Show resolved Hide resolved
Instead use "quantity" as the general concept, and otherwise clarify
using the phrase "with units" or otherwise clarifying as needed.
@dcamron dcamron enabled auto-merge June 2, 2022 15:49
@dcamron dcamron merged commit bc26784 into Unidata:main Jun 2, 2022
@dopplershift dopplershift deleted the united branch June 2, 2022 17:21
@dopplershift dopplershift added the backport Pull Requests that are automatically back-ported to the stable release label Jun 30, 2022
@github-actions
Copy link
Contributor

🏁 Successfully backported as #2566. 🏁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull Requests that are automatically back-ported to the stable release Type: Maintenance Updates and clean ups (but not wrong)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants