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

Add option to grdpaste to only report the "pasting" side. #7368

Merged
merged 1 commit into from Apr 10, 2023

Conversation

joa-quim
Copy link
Member

The problem this PR tries to address is that grdpaste does not works for externals that pass in GMTgrid objects. That is so because those structs already have the grid arrays with normal (or zero) padding but the grdpaste.c does quite some trickery with the pads to read the A and B grids directly on their final position in output array. So, the best is really to re-implement the matrix pasting in Julia or Matlab, which is a simple operation. But for that we must know how-to-paste and that's where the info returned by the new -S is important.

@PaulWessel PaulWessel added the new feature PR that implements a new feature or capability in GMT label Apr 10, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Apr 10, 2023
@joa-quim joa-quim merged commit 87f5513 into master Apr 10, 2023
7 checks passed
@joa-quim joa-quim deleted the paste-sides branch April 10, 2023 17:09
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-changelog Add PR to the changelog new feature PR that implements a new feature or capability in GMT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants