Skip to content

Commit

Permalink
Per issue #2476, cleaned up some unused test code. SL
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Linden committed Sep 21, 2023
1 parent 70219a0 commit c99a3bd
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/libcode/vx_tc_util/track_info.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
}
Expand Down Expand Up @@ -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;
//
Expand Down

0 comments on commit c99a3bd

Please sign in to comment.