Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
This PR replaces the scipy-based 3D interpolation approach with a custom 2D+1D bilinear interpolation method for the CRUST1.0 model. The change appears to address accuracy issues in the original implementation by performing separate 1D vertical interpolations at grid corners followed by horizontal bilinear interpolation.
Key Changes:
- Added two helper functions (
degree_to_idxanddegree_to_idx_and_ratio) to convert geographic coordinates to grid indices - Introduced a dictionary-based data structure (
points_dict) that organizes model points by horizontal grid location for faster lookup - Replaced scipy's
griddatawith a manual bilinear interpolation algorithm that performs 1D vertical interpolation at four corners, then blends horizontally
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
I have removed old |
…used for dependency installation in all jobs
…ependency management
No description provided.