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,12 +47,11 @@ static const std::unordered_map<common::Level2Product,
wsr88d::rda::DataBlockType::MomentCfp}};
static const std::unordered_map<common::Level2Product, std::string>
productUnits_ {
{common::Level2Product::Reflectivity, "dBZ"},
{common::Level2Product::DifferentialReflectivity, "dB"},
{common::Level2Product::DifferentialPhase, common::Unicode::kDegree},
{common::Level2Product::CorrelationCoefficient, "%"},
{common::Level2Product::ClutterFilterPowerRemoved, "dB"}};
productUnits_ {{common::Level2Product::Reflectivity, "dBZ"},
{common::Level2Product::DifferentialReflectivity, "dB"},
{common::Level2Product::DifferentialPhase, "\302\260"},
{common::Level2Product::CorrelationCoefficient, "%"},
{common::Level2Product::ClutterFilterPowerRemoved, "dB"}};
class Level2ProductViewImpl
{

View file

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