Skip to content

CNG: Point cost functions are now based off of inverse square weighting#160

Merged
rcjackson merged 2 commits intoopenradar:mainfrom
rcjackson:iem_weighting
Apr 29, 2026
Merged

CNG: Point cost functions are now based off of inverse square weighting#160
rcjackson merged 2 commits intoopenradar:mainfrom
rcjackson:iem_weighting

Conversation

@rcjackson
Copy link
Copy Markdown
Collaborator

The point observation cost function and gradient, instead of using a constant weight for each grid point over a radius of influence from the point observation, now use weights based off of the inverse square of the distance between the grid point and the observation. This is a common technique used for spatial interpolation of point observations for GIS and weather maps and better takes into account the decreasing influence of an observation on the data assimilation the further away it is from the point.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.06%. Comparing base (9741941) to head (3f30db0).
⚠️ Report is 55 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #160      +/-   ##
==========================================
+ Coverage   70.00%   70.06%   +0.06%     
==========================================
  Files          32       32              
  Lines        5340     5351      +11     
==========================================
+ Hits         3738     3749      +11     
  Misses       1602     1602              
Flag Coverage Δ
unittests 70.06% <100.00%> (+0.06%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 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 rcjackson merged commit 90db38a into openradar:main Apr 29, 2026
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