Skip to content

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

Merged
joa-quim merged 1 commit intomasterfrom
paste-sides
Apr 10, 2023
Merged

Add option to grdpaste to only report the "pasting" side.#7368
joa-quim merged 1 commit intomasterfrom
paste-sides

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.

@joa-quim joa-quim requested a review from PaulWessel April 10, 2023 15:56
@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
@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.

3 participants