Skip to content

allow slop in wesn - #7356

Merged
PaulWessel merged 3 commits into
masterfrom
samp–roundoff
Apr 7, 2023

Hidden character warning

The head ref may contain hidden characters: "samp\u2013roundoff"
Merged

PaulWessel merged 3 commits into
masterfrom
samp–roundoff

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

See issue in forum, here I add/subtract 10-4 inc when checking if inside or outside.

Reviewers, please check each line to make sure I did add/subtract well. The PR fixes the posted case but might fail on another side.

See issue in forum, here I add/subtract 10-4 inc when checking if inside or outside.
@PaulWessel PaulWessel added the bug Something isn't working label Apr 1, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Apr 1, 2023
@PaulWessel
PaulWessel requested review from a team and joa-quim April 1, 2023 17:52
@PaulWessel PaulWessel self-assigned this Apr 1, 2023
@PaulWessel
PaulWessel merged commit bf49181 into master Apr 7, 2023
@PaulWessel
PaulWessel deleted the samp–roundoff branch April 7, 2023 11:02
PaulWessel added a commit that referenced this pull request May 21, 2023
This relates to #7453 but does not fix it.  When grdsample was changed by #7356 we got the sign of the error slop wrong for the x-direction.  I have also broken some long lines into 2-lines so easier to do debug.  With this fix the original problem fixed by #7356 is still fixed but now the grdcut command yields the correct sub-region.  However, the spike in the corners are still there and are there for different reasons.
PaulWessel added a commit that referenced this pull request May 22, 2023
* Fix wrong noise direction in grdsample wesn checking

This relates to #7453 but does not fix it.  When grdsample was changed by #7356 we got the sign of the error slop wrong for the x-direction.  I have also broken some long lines into 2-lines so easier to do debug.  With this fix the original problem fixed by #7356 is still fixed but now the grdcut command yields the correct sub-region.  However, the spike in the corners are still there and are there for different reasons.

* Update grdsample.c

* Use GMT_Report for debug stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant