From c99a3bd9a6311970696f703f110819939119b74c Mon Sep 17 00:00:00 2001 From: Seth Linden Date: Thu, 21 Sep 2023 09:09:19 -0600 Subject: [PATCH] Per issue #2476, cleaned up some unused test code. SL --- src/libcode/vx_tc_util/track_info.cc | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/libcode/vx_tc_util/track_info.cc b/src/libcode/vx_tc_util/track_info.cc index 43c5fdbfee..45ccb01ed9 100644 --- a/src/libcode/vx_tc_util/track_info.cc +++ b/src/libcode/vx_tc_util/track_info.cc @@ -628,25 +628,6 @@ void TrackInfo::add_uniq_diag_name(const string diag_name) { //////////////////////////////////////////////////////////////////////// -/* -double TrackInfo::get_diag_value(int i_pnt, int name_ind) { - double diag_val; - - // Range check - if(i_pnt < 0 || i_pnt >= NPoints) { - mlog << Error << "\nTrackInfo::get_diag_value() -> " - << "range check error for point " << i_pnt << "\n\n"; - exit(1); - } - - diag_val = Point[i_pnt].diag_val(name_ind); - - return(diag_val); -} -*/ - -//////////////////////////////////////////////////////////////////////// - bool TrackInfo::has(const ATCFTrackLine &l) const { return(TrackLines.has(l.get_line())); } @@ -1183,8 +1164,6 @@ TrackInfo consensus(const TrackInfoArray &tracks, if(!is_bad_data(pavg.v_max())) pavg.set_level(wind_speed_to_cyclonelevel(pavg.v_max())); // Notes - // SETH, before adding this track point, loop through the list of unique diag names and compute the pmean diag value across the members - //NumArray consensus_diag_vals; // loop over the diag name and the input track points and get their mean //pavg.DiagVals = consensus_diag_vals; //