Feature #500

gmtconvert needs option to select segments based on number or records

Added by Paul over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:2014-02-03
Priority:NormalDue date:
Assignee:Paul% Done:

0%

Category:-
Target version:Candidate for next minor release
Platform:

Description

Please add a new option to gmtconvert such as -C[+l<min>][+u<max>][+i]

-C would limit which segments are output according to these modifiers:
+l sets the lowest number of records a segment should have to be considered for output [0].
+u set the highest number of records a segment should have to be considered for output [inf].
+i inverts the test based on +l/+u.

So gmtconvert -C+l10+u20+i would output all segments except those with 10-20 records.

Note: gmtinfo -As tells us the number of records and domain of individual segments.

Associated revisions

Revision 12845
Added by Paul over 3 years ago

Add gmtconvert -C option as requested per issue #500

History

#1 Updated by Paul over 3 years ago

  • Status changed from New to Resolved

Implemented in r12845.

#2 Updated by Paul over 3 years ago

  • Status changed from Resolved to Closed

Closed as implemented.

Also available in: Atom PDF