Update degree symbol unicode for hover units display

This commit is contained in:
Dan Paulat 2024-05-02 23:57:30 -05:00
parent d9bcb7f086
commit 9577b215bd
2 changed files with 6 additions and 8 deletions

View file

@ -47,10 +47,9 @@ static const std::unordered_map<common::Level2Product,
wsr88d::rda::DataBlockType::MomentCfp}}; wsr88d::rda::DataBlockType::MomentCfp}};
static const std::unordered_map<common::Level2Product, std::string> static const std::unordered_map<common::Level2Product, std::string>
productUnits_ { productUnits_ {{common::Level2Product::Reflectivity, "dBZ"},
{common::Level2Product::Reflectivity, "dBZ"},
{common::Level2Product::DifferentialReflectivity, "dB"}, {common::Level2Product::DifferentialReflectivity, "dB"},
{common::Level2Product::DifferentialPhase, common::Unicode::kDegree}, {common::Level2Product::DifferentialPhase, "\302\260"},
{common::Level2Product::CorrelationCoefficient, "%"}, {common::Level2Product::CorrelationCoefficient, "%"},
{common::Level2Product::ClutterFilterPowerRemoved, "dB"}}; {common::Level2Product::ClutterFilterPowerRemoved, "dB"}};

View file

@ -37,8 +37,7 @@ static const std::unordered_map<common::Level3ProductCategory, std::string>
categoryUnits_ { categoryUnits_ {
{common::Level3ProductCategory::Reflectivity, "dBZ"}, {common::Level3ProductCategory::Reflectivity, "dBZ"},
{common::Level3ProductCategory::DifferentialReflectivity, "dB"}, {common::Level3ProductCategory::DifferentialReflectivity, "dB"},
{common::Level3ProductCategory::SpecificDifferentialPhase, {common::Level3ProductCategory::SpecificDifferentialPhase, "\302\260/km"},
common::Unicode::kDegree + "/km"},
{common::Level3ProductCategory::CorrelationCoefficient, "%"}, {common::Level3ProductCategory::CorrelationCoefficient, "%"},
{common::Level3ProductCategory::VerticallyIntegratedLiquid, {common::Level3ProductCategory::VerticallyIntegratedLiquid,
"kg/m\302\262"}}; "kg/m\302\262"}};