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

Document how to suppress warnings #5473

Closed
Tracked by #5474
trexfeathers opened this issue Sep 6, 2023 · 1 comment · Fixed by #5509
Closed
Tracked by #5474

Document how to suppress warnings #5473

trexfeathers opened this issue Sep 6, 2023 · 1 comment · Fixed by #5509
Assignees

Comments

@trexfeathers
Copy link
Contributor

Needs #5472

Explain to users how they can get Iris' warnings to work for them - only showing the warnings they need, either via Python scripts or command line configuration.

User Guide? Further Topics? Somewhere else?

Some notes from @bjlittle

  • Standard warnings filter initialisation through:
  • Use of –W and PYTHONWARNINGS allows user warnings control with no code changes
  • Can interpret warnings customisation through sys.warnoptions (unparsed)
  • Warnings filter specifications action:message:category:module:line
  • There are several types of warnings filter action
@trexfeathers
Copy link
Contributor Author

Thanks @bjlittle!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants