mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 07:20:04 +00:00 
			
		
		
		
	Ignore normal condition where level 3 data is not found prior to loading
This commit is contained in:
		
							parent
							
								
									bb3b9094b8
								
							
						
					
					
						commit
						d041e7e217
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		|  | @ -115,6 +115,11 @@ void Level3RadialView::ComputeSweep() | ||||||
|    // Retrieve message from Radar Product Manager
 |    // Retrieve message from Radar Product Manager
 | ||||||
|    std::shared_ptr<wsr88d::rpg::Level3Message> message = |    std::shared_ptr<wsr88d::rpg::Level3Message> message = | ||||||
|       p->radarProductManager_->GetLevel3Data(p->product_, p->selectedTime_); |       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
 |    // A message with radial data should be a Graphic Product Message
 | ||||||
|    std::shared_ptr<wsr88d::rpg::GraphicProductMessage> gpm = |    std::shared_ptr<wsr88d::rpg::GraphicProductMessage> gpm = | ||||||
|  |  | ||||||
|  | @ -115,6 +115,11 @@ void Level3RasterView::ComputeSweep() | ||||||
|    // Retrieve message from Radar Product Manager
 |    // Retrieve message from Radar Product Manager
 | ||||||
|    std::shared_ptr<wsr88d::rpg::Level3Message> message = |    std::shared_ptr<wsr88d::rpg::Level3Message> message = | ||||||
|       p->radarProductManager_->GetLevel3Data(p->product_, p->selectedTime_); |       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
 |    // A message with radial data should be a Graphic Product Message
 | ||||||
|    std::shared_ptr<wsr88d::rpg::GraphicProductMessage> gpm = |    std::shared_ptr<wsr88d::rpg::GraphicProductMessage> gpm = | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat