Skip to content

Commit

Permalink
Per #2204, update the log messages and user's guide with comments abo…
Browse files Browse the repository at this point in the history
…ut which end points are included in time_summary windows.
  • Loading branch information
JohnHalleyGotway committed Jul 8, 2022
1 parent f8ed9e6 commit 6d5e4e1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 9 additions & 2 deletions docs/Users_Guide/config_options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2236,8 +2236,15 @@ one hour prior:
width = { beg = -3600; end = 0; }
The summaries will only be calculated for the specified GRIB codes.
The supported summaries are "min" (minimum), "max" (maximum), "range",
The summaries will only be calculated for the specified GRIB codes
or observation variable ("obs_var") names.

When determining which observations fall within a time interval, data for the
beginning timestamp is included while data for the ending timestamp is excluded.
Users may need to adjust the "beg" and "end" settings in the "width" dictionary
to include the desired observations in each time interval.

The supported time summaries are "min" (minimum), "max" (maximum), "range",
"mean", "stdev" (standard deviation), "median", "sum", and "p##" (percentile,
with the desired percentile value specified in place of ##).

Expand Down
6 changes: 3 additions & 3 deletions src/libcode/vx_summary/summary_obs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ bool SummaryObs::summarizeObs(const TimeSummaryInfo &summary_info)
{
mlog << Debug(3) << "Computing "
<< unix_to_yyyymmdd_hhmmss(time_interval->getBaseTime())
<< " time summary from "
<< " time summary ("
<< unix_to_yyyymmdd_hhmmss(time_interval->getStartTime())
<< " to "
<< " <= time < "
<< unix_to_yyyymmdd_hhmmss(time_interval->getEndTime())
<< ".\n";
<< ").\n";

// Initialize the map used to sort observations in this time period
// into their correct summary groups
Expand Down

0 comments on commit 6d5e4e1

Please sign in to comment.