Adding additional STP/OHP palette assignments

This commit is contained in:
Dan Paulat 2022-04-10 21:25:16 -05:00
parent 9da8145fc8
commit 7b16972cb1
3 changed files with 20 additions and 15 deletions

View file

@ -25,9 +25,11 @@ static const std::vector<std::string> paletteNames_ = {
"DSD", "DSD",
"ET", "ET",
"OHP", "OHP",
"OHPIN",
"PHI3", "PHI3",
"SRV", "SRV",
"STP", "STP",
"STPIN",
"VIL", "VIL",
"???"}; "???"};

@ -1 +1 @@
Subproject commit ed7d402a8d5cc5b94ba0b03e63f12395ca8edfa6 Subproject commit ede24dd1b4e1f7f4591217769b74f80ca6ebbcf1

View file

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