Skip to content

Add modifier +h[k|s] to gmt select -Z#7309

Merged
PaulWessel merged 4 commits intomasterfrom
select-segval
Mar 8, 2023
Merged

Add modifier +h[k|s] to gmt select -Z#7309
PaulWessel merged 4 commits intomasterfrom
select-segval

Conversation

@PaulWessel
Copy link
Member

See the Forum post for background. This modifier allows us to pick the segments fixed z-value via -Z<string> in the segment header to be used in the -Z range or value check. The optional argument k means "keep records whose segment header has no -Z<value> statement". The default is to skip the entire segment, i.e., +hs.

I added a test to demonstrate that it works.

This allows us to pick the segments fixed z-value via -Z<string> in the segment header to be used in the -Z range or value check.  The optional argument p means "pass records whose segment header has no -Z<value> statement".  THe default is to skip them.
@PaulWessel PaulWessel added the new core module feature PR that implements a new core module feature label Mar 8, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Mar 8, 2023
@PaulWessel PaulWessel self-assigned this Mar 8, 2023
Copy link
Member

@Esteban82 Esteban82 left a comment

Choose a reason for hiding this comment

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

Works fine!

Copy link
Member

@joa-quim joa-quim left a comment

Choose a reason for hiding this comment

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

I take it that you got tired of fighting the BitLocker.

@PaulWessel
Copy link
Member Author

I take it that you got tired of fighting the BitLocker.

Yes, sent a bunch of question to SOEST IT since they should know how - maybe even a zoom remote view assisted thing could work if they tell me what to push and type.

@PaulWessel PaulWessel merged commit 5c6a9c4 into master Mar 8, 2023
@PaulWessel PaulWessel deleted the select-segval branch March 8, 2023 13:45
@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 core module feature PR that implements a new core module feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants