ADD: Harr wavelet example - #1041
Open
rcjackson wants to merge 2 commits into
Open
Conversation
zssherman
reviewed
Aug 4, 2026
|
|
||
|
|
||
| def calculate_wavelet_pbl( | ||
| in_ds, |
Collaborator
There was a problem hiding this comment.
for consistency, can we keep this as 'ds'
Collaborator
Author
There was a problem hiding this comment.
Fixed in latest commit
Collaborator
|
@AdamTheisen Are you fine if we add a new optional dependency for this code? |
Collaborator
|
@zssherman I think a new dependency like scipy is fine to bring in and likely something we would do in the long run anyways. I would want to finalized a decision on my question in #1040 before merging this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements the Harr wavelet technique for retrieving PBL from lidar backscatter profiles. An example for the test ceilometer data is included. Co-authored by Claude Sonnet 5. This will add PyWavelets as an optional dependency.
References:
Brooks, I. M. (2003). Finding boundary layer top using
wavelet covariance transform. Journal of Atmospheric and Oceanic
Technology, 20(8), 1092-1105.
https://doi.org/10.1175/1520-0426(2003)20%3C1092:FBLTUB%3E2.0.CO;2
Cohn, S. A., & Angevine, W. M. (2000). Boundary layer height and
entrainment zone thickness measured by lidars and wind-profiling
radars. Journal of Applied Meteorology, 39(8), 1233-1247.
https://doi.org/10.1175/1520-0450(2000)039%3C1233:BLHAEZ%3E2.0.CO;2