diff --git a/scwx-qt/source/scwx/qt/view/level2_product_view.cpp b/scwx-qt/source/scwx/qt/view/level2_product_view.cpp index 0938f614..61de7871 100644 --- a/scwx-qt/source/scwx/qt/view/level2_product_view.cpp +++ b/scwx-qt/source/scwx/qt/view/level2_product_view.cpp @@ -182,12 +182,9 @@ void Level2ProductView::ConnectRadarProductManager() [this](std::shared_ptr record) { if (record->radar_product_group() == - common::RadarProductGroup::Level2 && - std::chrono::floor(record->time()) == - selected_time()) + common::RadarProductGroup::Level2) { - // If the data associated with the currently selected time is - // reloaded, update the view + // If level 2 data associated was reloaded, update the view Update(); } }); @@ -517,17 +514,10 @@ void Level2ProductView::ComputeSweep() std::shared_ptr radarData; std::chrono::system_clock::time_point requestedTime {selected_time()}; - std::chrono::system_clock::time_point foundTime; - std::tie(radarData, p->elevationCut_, p->elevationCuts_, foundTime) = + std::tie(radarData, p->elevationCut_, p->elevationCuts_, std::ignore) = radarProductManager->GetLevel2Data( p->dataBlockType_, p->selectedElevation_, requestedTime); - // If a different time was found than what was requested, update it - if (requestedTime != foundTime) - { - SelectTime(foundTime); - } - if (radarData == nullptr) { Q_EMIT SweepNotComputed(types::NoUpdateReason::NotLoaded);