Adding additional palette types

This commit is contained in:
Dan Paulat 2022-04-10 19:09:46 -05:00
parent cf3c780abf
commit fd35a912e5
3 changed files with 32 additions and 16 deletions

View file

@ -37,25 +37,25 @@ static const std::unordered_map<Level2Product, std::string> level2Palette_ {
{Level2Product::Velocity, "BV"},
{Level2Product::SpectrumWidth, "SW"},
{Level2Product::DifferentialReflectivity, "ZDR"},
{Level2Product::DifferentialPhase, "PHI"},
{Level2Product::DifferentialPhase, "PHI2"},
{Level2Product::CorrelationCoefficient, "CC"},
{Level2Product::ClutterFilterPowerRemoved, "???"},
{Level2Product::Unknown, "???"}};
static const std::unordered_map<int16_t, std::string> level3Palette_ {
{19, "BR"}, {20, "BR"}, {27, "BV"}, {30, "SW"}, {31, "STP"},
{32, "BR"}, {37, "BR"}, {38, "BR"}, {41, "???"}, {50, "BR"},
{51, "BV"}, {56, "BV"}, {57, "???"}, {65, "BR"}, {66, "BR"},
{67, "BR"}, {78, "STP"}, {79, "STP"}, {80, "STP"}, {81, "???"},
{86, "BV"}, {90, "BR"}, {93, "BV"}, {94, "BR"}, {97, "BR"},
{98, "BR"}, {99, "BV"}, {113, "???"}, {132, "???"}, {133, "???"},
{134, "???"}, {135, "???"}, {137, "BR"}, {138, "???"}, {144, "STP"},
{145, "STP"}, {146, "STP"}, {150, "STP"}, {151, "STP"}, {153, "BR"},
{154, "BV"}, {155, "SW"}, {159, "ZDR"}, {161, "CC"}, {163, "PHI"},
{165, "???"}, {167, "CC"}, {168, "PHI"}, {169, "STP"}, {170, "???"},
{171, "???"}, {172, "???"}, {173, "???"}, {174, "???"}, {175, "???"},
{176, "???"}, {177, "???"}, {178, "???"}, {179, "???"}, {180, "BR"},
{181, "BR"}, {182, "BV"}, {184, "SW"}, {186, "BR"}, {193, "BR"},
{19, "BR"}, {20, "BR"}, {27, "BV"}, {30, "SW"}, {31, "STP"},
{32, "BR"}, {37, "BR"}, {38, "BR"}, {41, "ET"}, {50, "BR"},
{51, "BV"}, {56, "SRV"}, {57, "VIL"}, {65, "BR"}, {66, "BR"},
{67, "BR"}, {78, "OHP"}, {79, "OHP"}, {80, "STP"}, {81, "???"},
{86, "BV"}, {90, "BR"}, {93, "BV"}, {94, "BR"}, {97, "BR"},
{98, "BR"}, {99, "BV"}, {113, "???"}, {132, "???"}, {133, "???"},
{134, "VIL"}, {135, "ET"}, {137, "BR"}, {138, "???"}, {144, "STP"},
{145, "STP"}, {146, "STP"}, {150, "STP"}, {151, "STP"}, {153, "BR"},
{154, "BV"}, {155, "SW"}, {159, "ZDR"}, {161, "CC"}, {163, "PHI3"},
{165, "???"}, {167, "CC"}, {168, "PHI3"}, {169, "STP"}, {170, "???"},
{171, "???"}, {172, "???"}, {173, "???"}, {174, "DOD"}, {175, "DSD"},
{176, "???"}, {177, "???"}, {178, "???"}, {179, "???"}, {180, "BR"},
{181, "BR"}, {182, "BV"}, {184, "SW"}, {186, "BR"}, {193, "BR"},
{195, "BR"}, {-1, "???"}};
const std::string& GetRadarProductGroupName(RadarProductGroup group)