mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:20:06 +00:00 
			
		
		
		
	Add IEM load text product API functionality
This commit is contained in:
		
							parent
							
								
									f06191f290
								
							
						
					
					
						commit
						2720ad6a38
					
				
					 5 changed files with 90 additions and 20 deletions
				
			
		|  | @ -132,9 +132,19 @@ bool WmoHeader::Parse(std::istream& is) | |||
|    { | ||||
|       util::getline(is, sohLine); | ||||
|       util::getline(is, sequenceLine); | ||||
|       util::getline(is, wmoLine); | ||||
|    } | ||||
|    else | ||||
|    { | ||||
|       // The next line could be the WMO line or the sequence line
 | ||||
|       util::getline(is, wmoLine); | ||||
|       if (wmoLine.length() < 18) | ||||
|       { | ||||
|          sequenceLine.swap(wmoLine); | ||||
|          util::getline(is, wmoLine); | ||||
|       } | ||||
|    } | ||||
| 
 | ||||
|    util::getline(is, wmoLine); | ||||
|    util::getline(is, awipsLine); | ||||
| 
 | ||||
|    if (is.eof()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat