Don't display "No Data" data level code

This commit is contained in:
Dan Paulat 2024-01-06 01:24:51 -06:00
parent 9225103a92
commit a77b6bea9d

View file

@ -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());