Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the annoying warning about the sloppy w/e/s/n one level up (GMT_MSG_INFORMATION) #8619

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

joa-quim
Copy link
Member

I propose to move the warning about the sloppy w/e/s/n one level up (require -Ii).

This warning shows up like

gmtread [WARNING]: (w - x_min) must equal (NX + eps) * x_inc), where NX is an integer and |eps| <= 0.0001.
gmtread [WARNING]: w reset from 5.96701 to 5.93333333333
...

and I bet a large majority of users don't understand what we are talking about. On the other side, at least to me, that occurs with codes generated inside a wrapper where user has really no control on the exact w/e/s/n being asked, which will be modified anyway. So, for a bit sanity (perhaps mostly mine) let's move it up one level of verbosity.

@joa-quim joa-quim requested a review from a team November 16, 2024 18:00
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.

Sounds fine to me. Blind approval. Let me know if you want me to test it.

@joa-quim
Copy link
Member Author

No need to test (I did it).

@joa-quim joa-quim merged commit 753418c into master Nov 17, 2024
13 of 18 checks passed
@joa-quim joa-quim deleted the move-annoying-warning-up branch November 17, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants