Ignore normal condition where level 3 data is not found prior to loading

This commit is contained in:
Dan Paulat 2022-06-04 08:17:31 -05:00
parent bb3b9094b8
commit d041e7e217
2 changed files with 10 additions and 0 deletions

View file

@ -115,6 +115,11 @@ void Level3RasterView::ComputeSweep()
// Retrieve message from Radar Product Manager
std::shared_ptr<wsr88d::rpg::Level3Message> message =
p->radarProductManager_->GetLevel3Data(p->product_, p->selectedTime_);
if (message == nullptr)
{
logger_->debug("Level 3 data not found");
return;
}
// A message with radial data should be a Graphic Product Message
std::shared_ptr<wsr88d::rpg::GraphicProductMessage> gpm =