Skip to content

[Feature]: separate tally of warnings vs notes in warnings.sso? #358

@iantaylor-NOAA

Description

@iantaylor-NOAA

Describe the solution you would like.

The warning file contains messages that are just informative and don't require any action, such as
"NOTE: Max data length bin: 200 < max pop len bins: 250; so will accumulate larger pop len bins" in
https://github.com/nmfs-stock-synthesis/test-models/blob/main/models/BigSkate_2019/warning.sso#L1-L5

It would be helpful for users to be able to separate the
Would it be possible to change the write_warning function: https://github.com/nmfs-stock-synthesis/stock-synthesis/blob/6b092fdc34dc347f6766163c3c9e5546de6c63f5/SS_global.tpl#L194-L201
so that it provides a separate tally of notes vs warnings, like:

N warnings: 3
N notes: 1

Right now I only see 4 instances of warnstream << "note in the source code, but more could be added in the future especially if they don't get added to the warnings tally so users can be more relaxed when they see them.

Tagging @MOshima-PIFSC who's query prompted this.

Describe alternatives you have considered

Leave things as they are.

Statistical validity, if applicable

No response

Describe if this is needed for a management application

No response

Additional context

No response

Metadata

Metadata

Labels

new requestinitial entry of a new request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions