mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
Merge branch 'develop' into feature/placefiles
This commit is contained in:
commit
b381ed3a33
4 changed files with 14 additions and 9 deletions
2
data
2
data
|
|
@ -1 +1 @@
|
|||
Subproject commit 5d8ee283b7dc34c433d8509c3cb85ca5e8cf0fbf
|
||||
Subproject commit 9b6c72f847193bc29d3ff183b206f26a9b5c007e
|
||||
|
|
@ -278,11 +278,11 @@ set(JSON_FILES res/config/radar_sites.json)
|
|||
|
||||
set(TS_FILES ts/scwx_en_US.ts)
|
||||
|
||||
set(COUNTY_DBF_FILES ${SCWX_DIR}/data/db/c_08mr23.dbf)
|
||||
set(ZONE_DBF_FILES ${SCWX_DIR}/data/db/fz08mr23.dbf
|
||||
${SCWX_DIR}/data/db/mz08mr23.dbf
|
||||
set(COUNTY_DBF_FILES ${SCWX_DIR}/data/db/c_19se23.dbf)
|
||||
set(ZONE_DBF_FILES ${SCWX_DIR}/data/db/fz19se23.dbf
|
||||
${SCWX_DIR}/data/db/mz19se23.dbf
|
||||
${SCWX_DIR}/data/db/oz08mr23.dbf
|
||||
${SCWX_DIR}/data/db/z_08mr23.dbf)
|
||||
${SCWX_DIR}/data/db/z_19se23.dbf)
|
||||
set(COUNTIES_SQLITE_DB ${scwx-qt_BINARY_DIR}/res/db/counties.db)
|
||||
|
||||
set(VERSIONS_INPUT ${scwx-qt_SOURCE_DIR}/source/scwx/qt/main/versions.hpp.in)
|
||||
|
|
|
|||
|
|
@ -179,6 +179,8 @@ public:
|
|||
std::vector<map::MapWidget*> maps_;
|
||||
std::vector<float> elevationCuts_;
|
||||
|
||||
std::chrono::system_clock::time_point volumeTime_ {};
|
||||
|
||||
bool elevationButtonsChanged_;
|
||||
bool resizeElevationButtons_;
|
||||
|
||||
|
|
@ -832,6 +834,7 @@ void MainWindowImpl::ConnectAnimationSignals()
|
|||
{
|
||||
for (auto map : maps_)
|
||||
{
|
||||
volumeTime_ = dateTime;
|
||||
map->SelectTime(dateTime);
|
||||
}
|
||||
});
|
||||
|
|
@ -1021,8 +1024,7 @@ void MainWindowImpl::SelectRadarProduct(map::MapWidget* mapWidget,
|
|||
UpdateRadarProductSettings();
|
||||
}
|
||||
|
||||
mapWidget->SelectRadarProduct(
|
||||
group, productName, productCode, mapWidget->GetSelectedTime());
|
||||
mapWidget->SelectRadarProduct(group, productName, productCode, volumeTime_);
|
||||
}
|
||||
|
||||
void MainWindowImpl::SetActiveMap(map::MapWidget* mapWidget)
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@ static const std::unordered_map<Level2Product, std::string> level2Palette_ {
|
|||
{Level2Product::Unknown, "???"}};
|
||||
|
||||
static const std::unordered_map<int, std::string> level3ProductCodeMap_ {
|
||||
{37, "NCR"},
|
||||
{56, "SRM"},
|
||||
{94, "DR"},
|
||||
{99, "DV"},
|
||||
|
|
@ -62,6 +63,7 @@ static const std::unordered_map<std::string, std::string>
|
|||
{"DV", "Digital Velocity"},
|
||||
{"SDR", "Super-Resolution Reflectivity"},
|
||||
{"SDV", "Super-Resolution Velocity"},
|
||||
{"NCR", "Composite Reflectivity"},
|
||||
{"DZD", "Digital Differential Reflectivity"},
|
||||
{"DCC", "Digital Correlation Coefficient"},
|
||||
{"DKD", "Digital Specific Differential Phase"},
|
||||
|
|
@ -76,8 +78,9 @@ static const std::unordered_map<std::string, std::vector<std::string>>
|
|||
level3AwipsProducts_ {
|
||||
// Reflectivity
|
||||
{"SDR", {"NXB", "NYB", "NZB", "N0B", "NAB", "N1B", "NBB", "N2B", "N3B"}},
|
||||
{"DR", {"NXQ", "NY", "NZQ", "N0Q", "NAQ", "N1Q", "NBQ", "N2Q", "N3Q"}},
|
||||
{"DR", {"NXQ", "NYQ", "NZQ", "N0Q", "NAQ", "N1Q", "NBQ", "N2Q", "N3Q"}},
|
||||
{"TDR", {"TZ0", "TZ1", "TZ2"}},
|
||||
{"NCR", {"NCR"}},
|
||||
|
||||
// Velocity
|
||||
{"SDV", {"NXG", "NYG", "NZG", "N0G", "NAG", "N1G"}},
|
||||
|
|
@ -135,7 +138,7 @@ static const std::unordered_map<Level3ProductCategory, std::string>
|
|||
|
||||
static const std::unordered_map<Level3ProductCategory, std::vector<std::string>>
|
||||
level3CategoryProductList_ {
|
||||
{Level3ProductCategory::Reflectivity, {"SDR", "DR", "TDR"}},
|
||||
{Level3ProductCategory::Reflectivity, {"SDR", "DR", "TDR", "NCR"}},
|
||||
{Level3ProductCategory::Velocity, {"SDV", "DV", "TDV"}},
|
||||
{Level3ProductCategory::StormRelativeVelocity, {"SRM"}},
|
||||
{Level3ProductCategory::SpectrumWidth, {"SW"}},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue