Skip to content

ADD: Liese filter - #162

Merged
rcjackson merged 2 commits into
openradar:mainfrom
rcjackson:leise_filter
Jul 31, 2026
Merged

ADD: Liese filter#162
rcjackson merged 2 commits into
openradar:mainfrom
rcjackson:leise_filter

Conversation

@rcjackson

Copy link
Copy Markdown
Collaborator

This pull request adds the liese filter, encoded in Python, that was present in the original MultiDop package as an option.

Robert Jackson and others added 2 commits June 3, 2026 13:19
Adds filter_type="leise" alongside the existing Savitzky-Golay filter
in both the scipy and tensorflow wind retrieval engines. The Leise path
uses an iterated 5-point kernel ([-1/16, 1/4, 5/8, 1/4, -1/16]) with
mirror boundaries via scipy.ndimage.convolve1d, controlled by a new
leise_nstep kwarg. Default filter_type="savgol" preserves existing
behavior. Refactored the duplicated 9-line filter blocks in both
engines into a shared _apply_low_pass_filter helper.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.22222% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.28%. Comparing base (a18445d) to head (67e4af8).
⚠️ Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
pydda/retrieval/wind_retrieve.py 72.22% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   70.38%   70.28%   -0.11%     
==========================================
  Files          32       32              
  Lines        5315     5313       -2     
==========================================
- Hits         3741     3734       -7     
- Misses       1574     1579       +5     
Flag Coverage Δ
unittests 70.28% <72.22%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rcjackson

Copy link
Copy Markdown
Collaborator Author

One test failed due to IEM hangup (unrelated to PR), another fledging on conda download.

@rcjackson
rcjackson merged commit 2456a61 into openradar:main Jul 31, 2026
15 of 16 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.

1 participant