From a77b6bea9d26c4a8bf15f01d86bcfc5d8c4a45e7 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sat, 6 Jan 2024 01:24:51 -0600 Subject: [PATCH] Don't display "No Data" data level code --- scwx-qt/source/scwx/qt/map/radar_product_layer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scwx-qt/source/scwx/qt/map/radar_product_layer.cpp b/scwx-qt/source/scwx/qt/map/radar_product_layer.cpp index 76ad3385..ca47e23d 100644 --- a/scwx-qt/source/scwx/qt/map/radar_product_layer.cpp +++ b/scwx-qt/source/scwx/qt/map/radar_product_layer.cpp @@ -353,7 +353,9 @@ bool RadarProductLayer::RunMousePicking( std::optional value = radarProductView->GetDataValue(binLevel.value()); - if (code.has_value() && code.value() != wsr88d::DataLevelCode::Blank) + if (code.has_value() && // + code.value() != wsr88d::DataLevelCode::Blank && + code.value() != wsr88d::DataLevelCode::NoData) { // Level has associated data level code std::string codeName = wsr88d::GetDataLevelCodeName(code.value());