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 up Showalter Index calculation #2007

Merged
merged 2 commits into from Aug 3, 2021

Conversation

dopplershift
Copy link
Member

Description Of Changes

This was incorrectly lifting a surface parcel to the LCL calculated from the 850 point. Instead, eliminate all of the manual calculation and just use parcel_profile. The new values are with 1% of those from Wyoming--which is now what's used in the test (the original test value was off by 50% of the new value). Also fix the function parameter name (dewpt -> dewpoint) and clean up a bit of the docstring.

Checklist

No API break since this has not been in a release yet.
@dopplershift dopplershift added this to the 1.1.0 milestone Aug 2, 2021
@dopplershift dopplershift added Area: Calc Pertains to calculations Type: Bug Something is not working like it should labels Aug 2, 2021
This was incorrectly lifting a surface parcel to the LCL calculated from
the 850 point. Instead, eliminate all of the manual calculation and just
use parcel_profile. The new values are with 1% of those from Wyoming.
@dcamron dcamron merged commit dd0e0f3 into Unidata:main Aug 3, 2021
@dopplershift dopplershift deleted the showalter-fixup branch August 3, 2021 02:58
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.

Showalter Index calculation difference from value in Wyoming upperair website
2 participants