Skip to content

Conversation

@github-actions
Copy link
Contributor

Backport 2b0683c from #3688

* Incomplete fix of grdsample required more work

As documented on the forum, grdsample still failed to set the proper read area for input grids.  This time I hopefully paid more attention to details.  The two regions (the subset needed to be read and the desired new output region) are now carefully compared to the input grid to ensure that we inlcude all the nodes needed to do a full interpolation.  The users case passes for me, several cases I checked (including 360-regions and smaller ones with shifts of longitdues) passes plus the regular test suite.

* Update grdsample.c
@PaulWessel PaulWessel requested review from joa-quim and seisman July 19, 2020 23:43
@joa-quim joa-quim merged commit 7e41fa3 into 6.1 Jul 19, 2020
@joa-quim joa-quim deleted the backport-3688-to-6.1 branch July 19, 2020 23:45
PaulWessel added a commit that referenced this pull request Jul 19, 2020
PaulWessel added a commit that referenced this pull request Jul 20, 2020
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.

3 participants