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

BUG: Fix unit-handling in heat_index (Fixes #1867) #1869

Merged
merged 1 commit into from
May 12, 2021

Conversation

dopplershift
Copy link
Member

@dopplershift dopplershift commented May 12, 2021

Description Of Changes

Was changed in c7b0b9b to remove multiplication by units and slightly change the operations used--this runs afoul of upstream changes in Pint where a Quantity is passed as the data in a constructor. Instead, change the units on a constant to produce the required dimensionality properly.

Checklist

Was changed in c7b0b9b to remove multiplication by units and slightly
change the operations used--this runs afoul of upstream changes in Pint
where a Quantity is passed as the data in a constructor. Instead, change
the units on a constant to produce the required dimensionality properly.
@dopplershift dopplershift added Area: Calc Pertains to calculations Type: Bug Something is not working like it should labels May 12, 2021
@Unidata Unidata deleted a comment from sourcery-ai bot May 12, 2021
Copy link
Collaborator

@jthielen jthielen 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 to me!

@dcamron dcamron merged commit 25f9fbe into Unidata:main May 12, 2021
@github-actions github-actions bot added this to the 1.1.0 milestone May 12, 2021
@dopplershift dopplershift deleted the heat-index-units branch May 12, 2021 19:05
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.

Nightly build is failing
3 participants