From 4613e7c2f527fc94fb4929d762d72295370d789b Mon Sep 17 00:00:00 2001 From: Seth Linden Date: Fri, 22 Sep 2023 12:50:31 -0600 Subject: [PATCH] Per issue #2476, updated the diag code in consensus() to use tavg.diag_name(). Added some debugging. SL --- src/libcode/vx_tc_util/track_info.cc | 51 ++++++++-------------------- 1 file changed, 15 insertions(+), 36 deletions(-) diff --git a/src/libcode/vx_tc_util/track_info.cc b/src/libcode/vx_tc_util/track_info.cc index afd7382ee6..4824039a3d 100644 --- a/src/libcode/vx_tc_util/track_info.cc +++ b/src/libcode/vx_tc_util/track_info.cc @@ -979,8 +979,6 @@ TrackInfo consensus(const TrackInfoArray &tracks, bool skip; TrackInfo tavg; NumArray lead_list; - - StringArray diag_names; // Variables for average TrackPoint int pcnt; @@ -1005,7 +1003,7 @@ TrackInfo consensus(const TrackInfoArray &tracks, tavg.set_technique(model.c_str()); tavg.set_init(tracks[0].init()); tavg.set_storm_id(); - + // Loop through the tracks and build a list of lead times for(i=0; i