Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a separate grid index for area grid in grdfilter #5107

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

PaulWessel
Copy link
Member

See this post for details. The actual problem was that there was an assumption that the input grid and the area-per-node grid could share the same grid index, but in this case the input grid was a matrix with no pad while the area grid is created internally and has the regular pad. Hence different indices are needed. Now works for me with the pyGMT exampe as well as passing the usual CLI tests.

See this post for details.  The problem was that there was the assumtion that the input grid and the area-per-node grid could share the same grid index, but in this case the input grid was a matrix with no pad while the area grid is created internally and has the regualr pad.  hence different indices are needed.  Now works for me.
@PaulWessel PaulWessel self-assigned this Apr 6, 2021
Copy link
Member

@seisman seisman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works.

@PaulWessel PaulWessel merged commit 87a3aad into master Apr 7, 2021
@PaulWessel PaulWessel deleted the grdfilter-area-index branch April 7, 2021 00:27
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.

2 participants