From 00a98f2321680e86d1f202b66b69dd86bb07184e Mon Sep 17 00:00:00 2001 From: Howard Soh Date: Fri, 1 Sep 2023 14:59:20 -0600 Subject: [PATCH] #2640 Do not initialize metadata_name at find_meta_name --- src/tools/other/ioda2nc/ioda2nc.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/tools/other/ioda2nc/ioda2nc.cc b/src/tools/other/ioda2nc/ioda2nc.cc index 4a607afdde..622d949f58 100644 --- a/src/tools/other/ioda2nc/ioda2nc.cc +++ b/src/tools/other/ioda2nc/ioda2nc.cc @@ -1262,13 +1262,15 @@ bool check_missing_thresh(float value) { //////////////////////////////////////////////////////////////////////// ConcatString find_meta_name(string meta_key, StringArray available_names) { - ConcatString metadata_name = meta_key; - StringArray alt_names = conf_info.metadata_map[meta_key]; - - for(int idx =0; idx