NOAA-SWPC / GSMWAM-IPE

Coupled NEMS app for WAM-IPE
5 stars 11 forks source link

stdout reduction #29

Closed akubaryk closed 4 years ago

akubaryk commented 4 years ago

To address #27, changes from @ZhuxiaoLi66 and myself.

This includes some general source cleanup in WAM (some backup files that are not actually in the source tree), as well as general print cleanup in IPE, the mediator, and WAM. We need feedback particularly on the approach in the NEMS submodule, @rmontuoro.

rmontuoro commented 4 years ago

I've implemented diagnostic and verbosity levels in the SWPC mediator to control the volume of output generated at runtime through NUOPC Diagnostic and Verbosity standard attributes, which are set in nems.configure (see example below).

# MED #
MED_model:                      swpc
MED_petlist_bounds:             72 111
MED_attributes::
  Verbosity = max
  Diagnostic = 131072
::

Minor changes are also included for code cleanup.