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

Minor adjustments to convective-stratiform algorith, documentation, and example #1434

Merged
merged 6 commits into from
Jun 15, 2023

Conversation

lauratomkins
Copy link
Contributor

Hi folks,

I found a minor error with my initial code which masked the final convective-stratiform array by the background field instead of the field itself. There were also a minor format issue in one of the functions and some minor issues related to the plotting in the example (which I hope I have fixed).

Hopefully this is a straightforward edit.

Best,
Laura

This fix prevents the final convective stratiform array from being masked by the background field. Due to the nature of the `calc_thres` (minimum number of points needed to calculate the background average), the background field does not compute on the edges of the echo. Instead, we want the convective stratiform field to cover the same region as the original reflectivity field.
Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great - thanks @lauratomkins !

@mgrover1 mgrover1 merged commit e89aca0 into ARM-DOE:main Jun 15, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants