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

Add argument name check in preprocess_and_wrap, and fix dewpoint_from_specific_humidity #2073

Merged
merged 1 commit into from
Sep 1, 2021

Conversation

jthielen
Copy link
Collaborator

Description Of Changes

Implements the argument name check suggested in #2069, and fixes the spelling error in the decorator on dewpoint_from_specific_humidity.

I'm marking this as closing #2069, but if the intent for #2069 was broader than just this particular function's issue, then I'll edit that out. Also, not sure where to log the suggestion to "audit" all the decorator usage for broadcasting order and the like.

Checklist

@jthielen jthielen added Type: Bug Something is not working like it should Area: Calc Pertains to calculations Area: Xarray Pertains to xarray integration labels Aug 31, 2021
@jthielen jthielen added this to the 1.2.0 milestone Aug 31, 2021
@jthielen jthielen requested a review from a team as a code owner August 31, 2021 19:13
dopplershift
dopplershift previously approved these changes Aug 31, 2021
Copy link
Member

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

Looks good, pending fixing the flake8 issues (quotes).

dopplershift
dopplershift previously approved these changes Aug 31, 2021
@dopplershift dopplershift enabled auto-merge (squash) August 31, 2021 19:23
src/metpy/xarray.py Outdated Show resolved Hide resolved
tests/test_xarray.py Outdated Show resolved Hide resolved
tests/test_xarray.py Outdated Show resolved Hide resolved
@dopplershift dopplershift merged commit 5da7d90 into Unidata:main Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Calc Pertains to calculations Area: Xarray Pertains to xarray integration Type: Bug Something is not working like it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with xarray broadcasting/dimensions
2 participants