Skip to content

Conversation

@PaulWessel
Copy link
Member

Given the dumb arc CPT posted in the forum, I found that the very last record ( line 21000!) missed the zmax and thus GMT read red (255) as the upper z, while zmin was 20999. But, because our check for error only checks if dz == 0 we don't catch his snafu. This PR now checks that dz is not zero nor negative.

Given the dumb arc CPT posted in the forum, I found that the very last record (#21000!) missed the zmax and thus GMT read red (255) as the upper z, while zmin was 20999.  But, because our check for error only checks if dz == 0 we dont catch his snafu.
THis PR now checks that dz is not zero nor negative.
@PaulWessel PaulWessel added the maintenance Boring but important stuff for the core devs label May 15, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone May 15, 2023
@PaulWessel PaulWessel requested review from joa-quim and seisman May 15, 2023 08:23
@PaulWessel PaulWessel self-assigned this May 15, 2023
@PaulWessel PaulWessel merged commit a100e41 into master May 15, 2023
@PaulWessel PaulWessel deleted the neg-slice-z branch May 15, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants