mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:00:04 +00:00 
			
		
		
		
	Add previous scans for stepping back in time when merging level2 files
This commit is contained in:
		
							parent
							
								
									309a5ed25e
								
							
						
					
					
						commit
						16a73ed872
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		|  | @ -568,6 +568,15 @@ Ar2vFile::Ar2vFile(const std::shared_ptr<Ar2vFile>& current, | ||||||
|                continue; |                continue; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|  |             // Add previous scans for stepping back in time
 | ||||||
|  |             for (auto scan = ++(elevation.second.rbegin()); | ||||||
|  |                  scan != elevation.second.rend(); | ||||||
|  |                  ++scan) | ||||||
|  |             { | ||||||
|  |                p->index_[type.first][elevation.first][scan->first] = | ||||||
|  |                   scan->second; | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|             // Merge this scan with the last one if it is incomplete
 |             // Merge this scan with the last one if it is incomplete
 | ||||||
|             if (IsRadarDataIncomplete(mostRecent->second)) |             if (IsRadarDataIncomplete(mostRecent->second)) | ||||||
|             { |             { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak