mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Select product times based on current time, rather than volume time
Ensures scans not included in the volume times (e.g., multiple level 2 scans per file) are selected
This commit is contained in:
		
							parent
							
								
									d209ce97ea
								
							
						
					
					
						commit
						2a9dc72721
					
				
					 5 changed files with 18 additions and 26 deletions
				
			
		|  | @ -497,7 +497,7 @@ void Level2ProductView::UpdateColorTableLut() | |||
| 
 | ||||
| void Level2ProductView::ComputeSweep() | ||||
| { | ||||
|    logger_->debug("ComputeSweep()"); | ||||
|    logger_->trace("ComputeSweep()"); | ||||
| 
 | ||||
|    boost::timer::cpu_timer timer; | ||||
| 
 | ||||
|  | @ -529,6 +529,8 @@ void Level2ProductView::ComputeSweep() | |||
|       return; | ||||
|    } | ||||
| 
 | ||||
|    logger_->debug("Computing Sweep"); | ||||
| 
 | ||||
|    std::size_t radials       = radarData->crbegin()->first + 1; | ||||
|    std::size_t vertexRadials = radials; | ||||
| 
 | ||||
|  |  | |||
|  | @ -117,7 +117,7 @@ std::tuple<const void*, size_t, size_t> Level3RadialView::GetMomentData() const | |||
| 
 | ||||
| void Level3RadialView::ComputeSweep() | ||||
| { | ||||
|    logger_->debug("ComputeSweep()"); | ||||
|    logger_->trace("ComputeSweep()"); | ||||
| 
 | ||||
|    boost::timer::cpu_timer timer; | ||||
| 
 | ||||
|  | @ -185,6 +185,8 @@ void Level3RadialView::ComputeSweep() | |||
|       return; | ||||
|    } | ||||
| 
 | ||||
|    logger_->debug("Computing Sweep"); | ||||
| 
 | ||||
|    // A message with radial data should either have a Digital Radial Data
 | ||||
|    // Array Packet, or a Radial Data Array Packet
 | ||||
|    std::shared_ptr<wsr88d::rpg::DigitalRadialDataArrayPacket> | ||||
|  |  | |||
|  | @ -101,7 +101,7 @@ std::tuple<const void*, size_t, size_t> Level3RasterView::GetMomentData() const | |||
| 
 | ||||
| void Level3RasterView::ComputeSweep() | ||||
| { | ||||
|    logger_->debug("ComputeSweep()"); | ||||
|    logger_->trace("ComputeSweep()"); | ||||
| 
 | ||||
|    boost::timer::cpu_timer timer; | ||||
| 
 | ||||
|  | @ -169,6 +169,8 @@ void Level3RasterView::ComputeSweep() | |||
|       return; | ||||
|    } | ||||
| 
 | ||||
|    logger_->debug("Computing Sweep"); | ||||
| 
 | ||||
|    // A message with raster data should have a Raster Data Packet
 | ||||
|    std::shared_ptr<wsr88d::rpg::RasterDataPacket> rasterData = nullptr; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat