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

Answer (partial) to issue 118 #119

Merged
merged 2 commits into from
May 13, 2024
Merged

Answer (partial) to issue 118 #119

merged 2 commits into from
May 13, 2024

Conversation

alexdanjou
Copy link
Contributor

Add a filter that removes data for which the pblh is below a threshod (e.g. below 200m);

Change the name of the pblh filter (e.g. to pblh_inlet_diff) to clarify it and change the filter so that only data taken more than 50m below the pblh is retained; Add some tests about this.

…d (e.g. below 200m);

Change the name of the pblh filter (e.g. to pblh_inlet_diff) to clarify it and change the filter so that only data taken more than 50m below the pblh is retained;
Add some tests about this.
@alexdanjou alexdanjou linked an issue May 10, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

@joe-pitt joe-pitt left a comment

Choose a reason for hiding this comment

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

Should it not be a < sign in L412?
i for i, pblh in enumerate(pblh_da) if inlet_height > pblh - diff_threshold

It would also be good to add the new filters to the docstring (and remove the pblh entry). Otherwise I think this is good.

@ag12733
Copy link

ag12733 commented May 13, 2024 via email

Correct the error in pblh_inlet_diff (now keep inlet_height < pblh - diff_threshold)
Add docstrings
Copy link
Contributor

@joe-pitt joe-pitt 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!

@alexdanjou alexdanjou merged commit e9557e6 into devel May 13, 2024
3 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.

Improve filtering
3 participants