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

Fix masked array issue in equivalent potential temperature #1426

Merged
merged 1 commit into from Jul 28, 2020

Conversation

jthielen
Copy link
Collaborator

Description Of Changes

Fixes the equivalent potential temperature issue noted in #1364 with masked arrays by not reconstructing quantity with multiplication (instead, reconstructing directly).

Tagging this for 1.0 (and basing on master branch), but should probably get cherry-picked for 0.12.2 as well?

Replaces #1373 due to needing to recreate my MetPy fork.

Checklist

@jthielen jthielen added Type: Bug Something is not working like it should Area: Calc Pertains to calculations labels Jul 27, 2020
@jthielen jthielen added this to the 1.0 milestone Jul 27, 2020
@dopplershift
Copy link
Member

If it needs to go in 0.12.2, we should put it in that milestone.

@dopplershift dopplershift modified the milestones: 1.0, 0.12.2 Jul 27, 2020
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.

Straightforward enough. Always like it when there's more test code than fix code to review.

@dopplershift dopplershift merged commit e420468 into Unidata:master Jul 28, 2020
@jthielen jthielen deleted the fix-1364-2 branch January 18, 2021 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Calc Pertains to calculations Type: Bug Something is not working like it should
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with mpcalc.equivalent_potential_temperature
2 participants