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

Wet bulb potential temperature #2952

Merged
merged 3 commits into from
Nov 30, 2023
Merged

Wet bulb potential temperature #2952

merged 3 commits into from
Nov 30, 2023

Conversation

sec147
Copy link
Contributor

@sec147 sec147 commented Mar 11, 2023

Description Of Changes

Add function to calculate wet bulb potential temperature to calcs, with associated docstring and (minimal) test.
This is my first ever pull request - I've read all the docs and tested and think it's ok. Would value feedback.

Checklist

  • Tests added
  • Fully documented

@sec147 sec147 requested a review from a team as a code owner March 11, 2023 18:01
@sec147 sec147 requested review from dcamron and removed request for a team March 11, 2023 18:01
@CLAassistant
Copy link

CLAassistant commented Mar 11, 2023

CLA assistant check
All committers have signed the CLA.

@sec147 sec147 changed the title Wbpt Wet bulb potential temperature Mar 11, 2023
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.

Thanks for the contribution! At first I was concerned this would be fundamentally different from the Bolton 1980 stuff we've used before, but I see this actually explicitly relies on it--that's great! Just a few minor tweaks to improve the docs (especially for the web) and to improve the implementation a bit. Otherwise, it looks good!

src/metpy/calc/thermo.py Outdated Show resolved Hide resolved
src/metpy/calc/thermo.py Outdated Show resolved Hide resolved
src/metpy/calc/thermo.py Outdated Show resolved Hide resolved
src/metpy/calc/thermo.py Outdated Show resolved Hide resolved
@dopplershift dopplershift added Type: Feature New functionality Area: Calc Pertains to calculations labels Mar 24, 2023
@dopplershift dopplershift added this to the April 2023 milestone Mar 24, 2023
@dopplershift dopplershift modified the milestones: 1.5.0, September 2023 May 3, 2023
@kgoebber
Copy link
Collaborator

@sec147 just pinging to see if you have any cycles to address the comments on this PR and ability to rebase on main and address any conflicts that might have crept in while this was being worked on. If not, just let us know and we can move it forward from what you have submitted up to this point.

sec147 and others added 2 commits November 14, 2023 17:07
…lent potential

temperature function and formula given in DaviesJones2009
@dopplershift
Copy link
Member

Ok, git surgery taken care of. I think this is good to go, but I added a commit renaming wetbulb to wet_bulb for consistency with the existing wet_bulb_temperature.

Need a review from @dcamron since I committed here.

@dopplershift dopplershift merged commit cd7635d into Unidata:main Nov 30, 2023
34 checks passed
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: Feature New functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants