mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:50:04 +00:00 
			
		
		
		
	Scale internal units for echo tops and accumulation for GR compatibility
This commit is contained in:
		
							parent
							
								
									5ee2d10a1b
								
							
						
					
					
						commit
						dccbf0d12f
					
				
					 5 changed files with 43 additions and 7 deletions
				
			
		|  | @ -406,12 +406,7 @@ std::optional<float> Level3ProductView::GetDataValue(std::uint16_t level) const | |||
| 
 | ||||
| bool Level3ProductView::IgnoreUnits() const | ||||
| { | ||||
|    // Don't display units on these products. The current method of displaying
 | ||||
|    // units is not accurate for these.
 | ||||
|    static const std::unordered_set<std::string> kIgnoreUnitsProducts_ { | ||||
|       "DAA", "DTA", "DU3", "DU6"}; | ||||
| 
 | ||||
|    return (kIgnoreUnitsProducts_.contains(p->product_)); | ||||
|    return false; | ||||
| } | ||||
| 
 | ||||
| } // namespace view
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat