-
Notifications
You must be signed in to change notification settings - Fork 416
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
Renames #1299
Renames #1299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me! Just a couple things I noticed going through this:
src/metpy/calc/indices.py
Outdated
@@ -323,7 +324,7 @@ def significant_tornado(sbcape, surface_based_lcl_height, storm_helicity_1km, sh | |||
@exporter.export | |||
@preprocess_xarray | |||
@check_units('[pressure]', '[speed]', '[speed]', '[length]', '[speed]', '[speed]') | |||
def critical_angle(pressure, u, v, heights, stormu, stormv): | |||
def critical_angle(pressure, u, v, height, stormu, stormv): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a signature to keep as-is? The two things that stood out to me as unexpected (based on the new quasi-standard) are:
- having the two different velocity component pairs separated by the height argument
stormu
andstormv
might be better asu_storm
andv_storm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Also, it looks like the argument order swap in |
pressure -> temp -> moisture
Description Of Changes
Checklist