From 22bcbafa1874b09cc5f5c98ae99865a526e430a2 Mon Sep 17 00:00:00 2001 From: John Halley Gotway Date: Fri, 17 Nov 2023 13:11:43 -0700 Subject: [PATCH] Per #2706, switch from writing 'Not set' with embedded whitespace to using the na_str variable instead. --- src/libcode/vx_shapedata/mode_conf_info.h | 8 ++++---- src/tools/core/mode/mode_exec.cc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/libcode/vx_shapedata/mode_conf_info.h b/src/libcode/vx_shapedata/mode_conf_info.h index a699531fc6..115112cd45 100644 --- a/src/libcode/vx_shapedata/mode_conf_info.h +++ b/src/libcode/vx_shapedata/mode_conf_info.h @@ -93,10 +93,10 @@ class ModeConfInfo { bool is_multivar(); - ConcatString fcst_multivar_logic; - ConcatString obs_multivar_logic; - IntArray fcst_multivar_compare_index; - IntArray obs_multivar_compare_index; + ConcatStringfcst_multivar_logic; + ConcatString obs_multivar_logic; + IntArray fcst_multivar_compare_index; + IntArray obs_multivar_compare_index; ConcatString fcst_multivar_name; ConcatString fcst_multivar_level; ConcatString obs_multivar_name; diff --git a/src/tools/core/mode/mode_exec.cc b/src/tools/core/mode/mode_exec.cc index a30557a96c..82cb261b11 100644 --- a/src/tools/core/mode/mode_exec.cc +++ b/src/tools/core/mode/mode_exec.cc @@ -673,11 +673,11 @@ void ModeExecutive::setup_fcst_data(const Grid &verification_grid) // store the input data units funits = engine.conf_info.Fcst->var_info->units(); - ounits = "Not set"; + ounits = na_str; // store the input data level flevel = engine.conf_info.Fcst->var_info->level_name(); - olevel = "Not set"; + olevel = na_str; // // done @@ -751,11 +751,11 @@ void ModeExecutive::setup_obs_data(const Grid &verification_grid) engine.conf_info.set_perc_thresh(Obs_sd.data); // store the input data units - funits = "Not set"; + funits = na_str; ounits = engine.conf_info.Obs->var_info->units(); // store the input data level - flevel = "Not set"; + flevel = na_str; olevel = engine.conf_info.Obs->var_info->level_name(); //