Skip to content

Commit

Permalink
Feature #2801 warnings (#2802)
Browse files Browse the repository at this point in the history
* Per #2801, add new time_offset_warning config option.

* Per #2810, update MetConfig class to parse and check the time_offset_warning config option.

* Per #2801, update Grid-Stat, MODE, PCP-Combine, Series-Analysis, Wavelet-Stat, and the WWMCA tool to call MetConfig::time_offset_warning() to decide whether to print a Warning or Debug(3) log message about initialization or valid time differences.

* Per #2801, no change to content. Just removing unneeded whitespace.

* Per #2801, remove extra empty line foromw m warning message.

* Per #2801, remove extra empty line from MODE warning messages.

---------

Co-authored-by: MET Tools Test Account <met_test@seneca.rap.ucar.edu>
  • Loading branch information
JohnHalleyGotway and MET Tools Test Account committed Jan 29, 2024
1 parent 6ea6416 commit d15dc3a
Show file tree
Hide file tree
Showing 11 changed files with 370 additions and 241 deletions.
3 changes: 3 additions & 0 deletions data/config/ConfigConstants
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
// Warning message results in tool exiting.
exit_on_warning = FALSE;

// Allowable offset in seconds to silence time difference warning messages
time_offset_warning = 0;

// NetCDF Compression per variable (0 to 9, 0: disable compression)
// This will be overridden by the environment variable MET_NC_COMPRESS and the
// command line argument.
Expand Down
Loading

0 comments on commit d15dc3a

Please sign in to comment.