From 5278a25369f64d30a3fa7e0e64e1e02e81bb74f7 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Thu, 18 Jun 2020 17:12:19 -0600 Subject: [PATCH] Per #1380, only list the oper_event.technique name in the log message if it's non-empty. --- met/src/tools/tc_utils/tc_gen/tc_gen.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/met/src/tools/tc_utils/tc_gen/tc_gen.cc b/met/src/tools/tc_utils/tc_gen/tc_gen.cc index aba2e80d20..996b000caf 100644 --- a/met/src/tools/tc_utils/tc_gen/tc_gen.cc +++ b/met/src/tools/tc_utils/tc_gen/tc_gen.cc @@ -479,8 +479,10 @@ void process_track_files(const StringArray &files, // Analysis ATCF ID's if(is_anly) { - atcf_ids << conf_info.BestEventInfo.Technique << " or " - << conf_info.OperEventInfo.Technique << " analysis"; + atcf_ids << conf_info.BestEventInfo.Technique; + if(conf_info.OperEventInfo.Technique.nonempty()) { + atcf_ids << " or " << conf_info.OperEventInfo.Technique << " analysis"; + } } // Forecast ATCF ID's else {