In the select command, -Z will select a range of values: -Zmin/max. What exactly is the selection criteria? is it
min < val < max?
min < val ≤ max?
min ≤ val < max?
min ≤ val ≤ max?
My guess is that it is answer 4.
I suggest that more control be available to the user for the -Z command, perhaps as an option to utilize any of the 4 criteria above. In other words, to specify how the range is defined.
Currently, when parsing data over range levels, data situated exactly on a boundary can get placed into two adjacent ranges.
As a work around, the user has to artificially set their bounding values. Not a bad situation, but the user needs to be made aware of the particulars of what defines a “range of values” within GMT.
While I understand that for long time users adding one more flag to account for a very specific need may look the way to go, that, from all our sadness, will not continue to happen. Specific operations commonly used in programing languages should use … programming languages.
As an example, in Julia the ´>=´ would be done as (and please, don’t tell it’s harder to do=