Skip to content

Fix memory leaks and fill bug in EWA resampling - #751

Merged
djhoese merged 1 commit into
pytroll:mainfrom
djhoese:bugfix-ewa-leaks
Sep 15, 2026
Merged

djhoese merged 1 commit into
pytroll:mainfrom
djhoese:bugfix-ewa-leaks

Conversation

@djhoese

@djhoese djhoese commented Sep 15, 2026

Copy link
Copy Markdown
Member

While working on some C++ optimizations in EWA resampling Claude identified some memory leaks and logic bugs. These are fixed here:

  1. Allocated but not freed memory in some cases (mostly error cases)
  2. Float 32-bit input fill value not being respected.
  • Closes #xxxx
  • Tests added
  • Tests passed
  • Fully documented

@djhoese djhoese self-assigned this Sep 15, 2026
@djhoese djhoese added the bug label Sep 15, 2026
@codecov

codecov Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.87%. Comparing base (82b485c) to head (9e2bb3d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #751   +/-   ##
=======================================
  Coverage   93.87%   93.87%           
=======================================
  Files          89       89           
  Lines       13888    13905   +17     
=======================================
+ Hits        13037    13054   +17     
  Misses        851      851           
Flag Coverage Δ
unittests 93.87% <100.00%> (+<0.01%) ⬆️

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.

@djhoese
djhoese merged commit 1b16aa4 into pytroll:main Sep 15, 2026
25 of 26 checks passed
@djhoese
djhoese deleted the bugfix-ewa-leaks branch September 15, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant