Skip to content

Add polar resampling via -Ar|t in plot, plot3d, and clip - #5263

Merged
PaulWessel merged 3 commits into
masterfrom
polar-resampling
Jun 6, 2021
Merged

PaulWessel merged 3 commits into
masterfrom
polar-resampling

Conversation

@PaulWessel

Copy link
Copy Markdown
Contributor

Description of proposed changes

See #5260 for background. This PR implements the feature request in modules plot, plot3d, and clip. As an example of what this looks like I added a new test (polarcurves.sh) which produces this plot with -Ar|t vs no -A:

polarcurves

I set the theta resampling interval to 1 degree for now - this may need to be revisited. To be merged after 6.2.0 release.

See #5260 for background.  This PR implements the feature request in modules plot, plot3d, and clip.  As an example of what this looks like I added a new test (polarcurves.sh) which produces this plot with -Ar|t vs no -A.
@PaulWessel PaulWessel added the new feature PR that implements a new feature or capability in GMT label May 26, 2021
@PaulWessel PaulWessel added this to the Future release milestone May 26, 2021
@PaulWessel PaulWessel self-assigned this May 26, 2021
PaulWessel added a commit that referenced this pull request May 26, 2021
Inspired by #5260, do the same when creating mask grids from polygons if we wish to resample the input polygon along straight theta and r path segments.  Merge after 6.2.0, and will have no effect until #5263 have been merged as well.
@PaulWessel PaulWessel changed the title WIP Add polar resampling via -Ar|t in plot, plot3d, and clip Add polar resampling via -Ar|t in plot, plot3d, and clip Jun 6, 2021
@PaulWessel

Copy link
Copy Markdown
Contributor Author

Did you get a chance to check this out @seisman ?

@seisman seisman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great.

@PaulWessel
PaulWessel merged commit b987e21 into master Jun 6, 2021
@PaulWessel
PaulWessel deleted the polar-resampling branch June 6, 2021 04:12
PaulWessel added a commit that referenced this pull request Jun 6, 2021
* WIP Let grdclip handle polar resampling via -Ar|t

Inspired by #5260, do the same when creating mask grids from polygons if we wish to resample the input polygon along straight theta and r path segments.  Merge after 6.2.0, and will have no effect until #5263 have been merged as well.

* Update grdmask.c
@maxrjones maxrjones added new core module feature PR that implements a new core module feature add-changelog Add PR to the changelog labels Jun 8, 2021
@seisman seisman removed this from the Future release milestone Jan 7, 2024

This branch was previously deployed

1 inactive deployment
Preview — 82cef121 Deployed Jun 6, 2021 by vercel[bot]
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 core module feature PR that implements a new core module feature 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