mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 15:20:05 +00:00 
			
		
		
		
	Handle missing VCP data
This commit is contained in:
		
							parent
							
								
									e237e086f0
								
							
						
					
					
						commit
						6759766744
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -404,6 +404,13 @@ void Ar2vFileImpl::IndexFile() | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) << logPrefix_ << "Indexing file"; |    BOOST_LOG_TRIVIAL(debug) << logPrefix_ << "Indexing file"; | ||||||
| 
 | 
 | ||||||
|  |    if (vcpData_ == nullptr) | ||||||
|  |    { | ||||||
|  |       BOOST_LOG_TRIVIAL(warning) | ||||||
|  |          << logPrefix_ << "Cannot index file without VCP data"; | ||||||
|  |       return; | ||||||
|  |    } | ||||||
|  | 
 | ||||||
|    for (auto elevationCut : radarData_) |    for (auto elevationCut : radarData_) | ||||||
|    { |    { | ||||||
|       uint16_t elevationAngle = |       uint16_t elevationAngle = | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat