Skip to content

Commit

Permalink
Don't display "No Data" data level code
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulat committed Jan 6, 2024
1 parent 9225103 commit a77b6be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scwx-qt/source/scwx/qt/map/radar_product_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ bool RadarProductLayer::RunMousePicking(
std::optional<float> 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());
Expand Down

0 comments on commit a77b6be

Please sign in to comment.