Skip to content

Commit

Permalink
Cleaned up interface to a method, removing unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalbo committed Aug 4, 2022
1 parent 4c33bd8 commit b2aede6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/tools/other/mode_time_domain/mtd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -821,9 +821,8 @@ mlog << Debug(2)
<< "Creating 2D constant-time slice attributes file: \""
<< path << "\"\n";

do_2d_txt_output(fcst_raw, obs_raw, valid_times_fcst, valid_times_obs,
fcst_simple_att_2d, obs_simple_att_2d,
fcst_cluster_att_2d, obs_cluster_att_2d, config, path.c_str());
do_2d_txt_output(fcst_raw, obs_raw, fcst_simple_att_2d, obs_simple_att_2d,
fcst_cluster_att_2d, obs_cluster_att_2d, config, path.c_str());

//
// write simple single attributes
Expand Down
2 changes: 0 additions & 2 deletions src/tools/other/mode_time_domain/mtd_txt_output.cc
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ return;

void do_2d_txt_output(const MtdFloatFile & fcst_raw,
const MtdFloatFile & obs_raw,
const vector<unixtime> &valid_times_fcst,
const vector<unixtime> &valid_times_obs,
const SingleAtt2DArray & fcst_simple_att,
const SingleAtt2DArray & obs_simple_att,
const SingleAtt2DArray & fcst_cluster_att,
Expand Down
2 changes: 0 additions & 2 deletions src/tools/other/mode_time_domain/mtd_txt_output.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ extern void do_3d_pair_txt_output(const PairAtt3DArray &,

extern void do_2d_txt_output(const MtdFloatFile & fcst_raw,
const MtdFloatFile & obs_raw,
const vector<unixtime> &valid_times_fcst,
const vector<unixtime> &valid_times_obs,
const SingleAtt2DArray & fcst_single_att,
const SingleAtt2DArray & obs_single_att,
const SingleAtt2DArray & fcst_cluster_att,
Expand Down

0 comments on commit b2aede6

Please sign in to comment.