Skip to content

Document how to suppress warnings #5473

@trexfeathers

Description

@trexfeathers

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions