mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 13:30:06 +00:00 
			
		
		
		
	Add resolution data for level 3 products 33 and 34
This commit is contained in:
		
							parent
							
								
									1dbc68a7d9
								
							
						
					
					
						commit
						0b761185a0
					
				
					 1 changed files with 12 additions and 12 deletions
				
			
		|  | @ -40,17 +40,17 @@ static const std::unordered_map<int16_t, uint16_t> rangeMap_ { | |||
| 
 | ||||
| static const std::unordered_map<int16_t, uint16_t> xResolutionMap_ { | ||||
|    {19, 1000},  {20, 2000},  {27, 1000},  {30, 1000},  {31, 2000},  {32, 1000}, | ||||
|    {37, 1000},  {38, 4000},  {41, 4000},  {50, 1000},  {51, 1000},  {56, 1000}, | ||||
|    {57, 4000},  {65, 4000},  {66, 4000},  {67, 4000},  {78, 2000},  {79, 2000}, | ||||
|    {80, 2000},  {86, 1000},  {90, 4000},  {93, 1000},  {94, 1000},  {97, 1000}, | ||||
|    {98, 1000},  {99, 250},   {113, 250},  {132, 1000}, {133, 1000}, {134, 1000}, | ||||
|    {135, 1000}, {137, 1000}, {138, 2000}, {144, 1000}, {145, 1000}, {146, 1000}, | ||||
|    {147, 1000}, {150, 1000}, {151, 1000}, {153, 250},  {154, 250},  {155, 250}, | ||||
|    {159, 250},  {161, 250},  {163, 250},  {165, 250},  {166, 250},  {167, 250}, | ||||
|    {168, 250},  {169, 2000}, {170, 250},  {171, 2000}, {172, 250},  {173, 250}, | ||||
|    {174, 250},  {175, 250},  {176, 250},  {177, 250},  {178, 1000}, {179, 1000}, | ||||
|    {180, 150},  {181, 150},  {182, 150},  {184, 150},  {186, 300},  {193, 250}, | ||||
|    {195, 1000}}; | ||||
|    {33, 1000},  {34, 1000},  {37, 1000},  {38, 4000},  {41, 4000},  {50, 1000}, | ||||
|    {51, 1000},  {56, 1000},  {57, 4000},  {65, 4000},  {66, 4000},  {67, 4000}, | ||||
|    {78, 2000},  {79, 2000},  {80, 2000},  {86, 1000},  {90, 4000},  {93, 1000}, | ||||
|    {94, 1000},  {97, 1000},  {98, 1000},  {99, 250},   {113, 250},  {132, 1000}, | ||||
|    {133, 1000}, {134, 1000}, {135, 1000}, {137, 1000}, {138, 2000}, {144, 1000}, | ||||
|    {145, 1000}, {146, 1000}, {147, 1000}, {150, 1000}, {151, 1000}, {153, 250}, | ||||
|    {154, 250},  {155, 250},  {159, 250},  {161, 250},  {163, 250},  {165, 250}, | ||||
|    {166, 250},  {167, 250},  {168, 250},  {169, 2000}, {170, 250},  {171, 2000}, | ||||
|    {172, 250},  {173, 250},  {174, 250},  {175, 250},  {176, 250},  {177, 250}, | ||||
|    {178, 1000}, {179, 1000}, {180, 150},  {181, 150},  {182, 150},  {184, 150}, | ||||
|    {186, 300},  {193, 250},  {195, 1000}}; | ||||
| 
 | ||||
| static const std::unordered_map<int16_t, uint16_t> yResolutionMap_ {{37, 1000}, | ||||
|                                                                     {38, 4000}, | ||||
|  | @ -432,7 +432,7 @@ float ProductDescriptionBlock::scale() const | |||
|       break; | ||||
| 
 | ||||
|    case 138: | ||||
|       scale = p->halfword32_ * 0.01; | ||||
|       scale = p->halfword32_ * 0.01f; | ||||
|       break; | ||||
| 
 | ||||
|    case 159: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat