From b0ebc8eab6f9ce19f8bbda9f96578fa41fd757b9 Mon Sep 17 00:00:00 2001 From: Dan Paulat Date: Sun, 25 Feb 2024 01:56:48 -0600 Subject: [PATCH] Add VIL/DVL product to level 3 lists --- wxdata/include/scwx/common/products.hpp | 1 + wxdata/source/scwx/common/products.cpp | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/wxdata/include/scwx/common/products.hpp b/wxdata/include/scwx/common/products.hpp index ce1b12cb..b4e57a36 100644 --- a/wxdata/include/scwx/common/products.hpp +++ b/wxdata/include/scwx/common/products.hpp @@ -47,6 +47,7 @@ enum class Level3ProductCategory DifferentialReflectivity, SpecificDifferentialPhase, CorrelationCoefficient, + VerticallyIntegratedLiquid, HydrometeorClassification, Unknown }; diff --git a/wxdata/source/scwx/common/products.cpp b/wxdata/source/scwx/common/products.cpp index 87144c8d..b068fa4e 100644 --- a/wxdata/source/scwx/common/products.cpp +++ b/wxdata/source/scwx/common/products.cpp @@ -47,6 +47,7 @@ static const std::unordered_map level3ProductCodeMap_ { {56, "SRM"}, {94, "DR"}, {99, "DV"}, + {134, "DVL"}, {153, "SDR"}, {154, "SDV"}, {159, "DZD"}, @@ -68,6 +69,7 @@ static const std::unordered_map {"DZD", "Digital Differential Reflectivity"}, {"DCC", "Digital Correlation Coefficient"}, {"DKD", "Digital Specific Differential Phase"}, + {"DVL", "Digital Vertically Integrated Liquid"}, {"DHC", "Digital Hydrometeor Classification"}, {"HHC", "Hybrid Hydrometeor Classification"}, {"ML", "Melting Layer"}, @@ -104,6 +106,9 @@ static const std::unordered_map> // Specific Differential Phase {"DKD", {"NXK", "NYK", "NZK", "N0K", "NAK", "N1K", "NBK", "N2K", "N3K"}}, + // Digital Vertically Integrated Liquid + {"DVL", {"DVL"}}, + // Hydrometeor Classification {"DHC", {"NXH", "NYH", "NZH", "N0H", "NAH", "N1H", "NBH", "N2H", "N3H"}}, {"HHC", {"HHC"}}, @@ -123,6 +128,7 @@ static const std::unordered_map {Level3ProductCategory::DifferentialReflectivity, "ZDR"}, {Level3ProductCategory::SpecificDifferentialPhase, "KDP"}, {Level3ProductCategory::CorrelationCoefficient, "CC"}, + {Level3ProductCategory::VerticallyIntegratedLiquid, "VIL"}, {Level3ProductCategory::HydrometeorClassification, "HC"}, {Level3ProductCategory::Unknown, "?"}}; @@ -138,6 +144,8 @@ static const std::unordered_map "Specific Differential Phase"}, {Level3ProductCategory::CorrelationCoefficient, "Correlation Coefficient"}, + {Level3ProductCategory::VerticallyIntegratedLiquid, + "Vertically Integrated Liquid"}, {Level3ProductCategory::HydrometeorClassification, "Hydrometeor Classification"}, {Level3ProductCategory::Unknown, "?"}}; @@ -151,6 +159,7 @@ static const std::unordered_map> {Level3ProductCategory::DifferentialReflectivity, {"DZD"}}, {Level3ProductCategory::SpecificDifferentialPhase, {"DKD"}}, {Level3ProductCategory::CorrelationCoefficient, {"DCC"}}, + {Level3ProductCategory::VerticallyIntegratedLiquid, {"DVL"}}, {Level3ProductCategory::HydrometeorClassification, {"DHC", "HHC"}}, {Level3ProductCategory::Unknown, {}}}; @@ -163,6 +172,7 @@ static const std::unordered_map {Level3ProductCategory::DifferentialReflectivity, "N0X"}, {Level3ProductCategory::SpecificDifferentialPhase, "N0K"}, {Level3ProductCategory::CorrelationCoefficient, "N0C"}, + {Level3ProductCategory::VerticallyIntegratedLiquid, "DVL"}, {Level3ProductCategory::HydrometeorClassification, "N0H"}}; static const std::unordered_map level3Palette_ {