Implement support for log levels in MPAS dynamical core #352
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tag name (required for release branches):
None
Originator(s):
kuanchihwang
Descriptions (include the issue title, and the keyword ['closes', 'fixes', 'resolves'] followed by the issue number):
Implement support for log levels in MPAS dynamical core. The log level is configured by the
debug_output
option, under thecam_logfile_nl
group, in theatm_in
namelist file.log_level_quiet
(a.k.a.debugout_none
in CAM-SIMA)Log nothing.
log_level_info
(a.k.a.debugout_info
in CAM-SIMA)Log plain and user-friendly information about the status of MPAS dynamical core. Public procedures start with this log level.
log_level_verbose
(a.k.a.debugout_verbose
in CAM-SIMA)Same as the above, but for private procedures.
log_level_debug
(a.k.a.debugout_debug
in CAM-SIMA)Log elaborate information about the inner workings of MPAS dynamical core, which may be useful for diagnosing issues. However, the log volume may be very large.
Describe any changes made to the build system:
None
Describe any changes made to the namelist:
None
List any changes to the defaults for the input datasets (e.g., boundary datasets):
None
List all files eliminated and why:
None
List all files added and what they do:
None
List all existing files that have been modified, and describe the changes:
M src/dynamics/mpas/driver/dyn_mpas_subdriver.F90
M src/dynamics/mpas/dyn_comp.F90
M src/dynamics/mpas/dyn_coupling.F90
M src/dynamics/mpas/dyn_grid.F90
Regression tests:
No changes to any existing tests. All tests pass with respect to the last baseline,
sima0_01_001
.