Skip to content

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

Merged
PaulWessel merged 1 commit intomasterfrom
grdfilter-area-index
Apr 7, 2021
Merged

Use a separate grid index for area grid in grdfilter#5107
PaulWessel merged 1 commit intomasterfrom
grdfilter-area-index

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