Skip to content

Commit

Permalink
Revert "Per #1788, since ss_index_name is in the StatJob class we no …
Browse files Browse the repository at this point in the history
…longer need to pass it around as an argument."

This reverts commit cde0be0.
  • Loading branch information
JohnHalleyGotway committed Aug 26, 2021
1 parent 5354d3e commit bbfd838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions met/src/tools/core/stat_analysis/aggr_stat_line.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3397,6 +3397,7 @@ void aggr_time_series_lines(LineDataFile &f, STATAnalysisJob &job,
////////////////////////////////////////////////////////////////////////

void aggr_ss_index(LineDataFile &f, STATAnalysisJob &job,
const ConcatString &name,
map<ConcatString, AggrSSIndexInfo> &m,
int &n_in, int &n_out) {
STATLine line;
Expand All @@ -3407,7 +3408,7 @@ void aggr_ss_index(LineDataFile &f, STATAnalysisJob &job,
//
// Store the index name
//
cur.job_info.ss_index_name = job.ss_index_name;
cur.job_info.name = name;

//
// Check that the -model option has been supplied exactly 2 times.
Expand All @@ -3426,7 +3427,7 @@ void aggr_ss_index(LineDataFile &f, STATAnalysisJob &job,
}

mlog << Debug(3)
<< "Computing " << cur.job_info.ss_index_name << " for forecast model ("
<< "Computing " << cur.job_info.name << " for forecast model ("
<< cur.job_info.fcst_model << ") versus reference model ("
<< cur.job_info.ref_model << ").\n";

Expand Down
1 change: 1 addition & 0 deletions met/src/tools/core/stat_analysis/aggr_stat_line.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ extern void aggr_time_series_lines(

extern void aggr_ss_index(
LineDataFile &, STATAnalysisJob &,
const ConcatString &,
map<ConcatString, AggrSSIndexInfo> &,
int &, int &);

Expand Down

0 comments on commit bbfd838

Please sign in to comment.