mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	In level 2 debug output, convert Julian date and milliseconds to standard format
This commit is contained in:
		
							parent
							
								
									3f5a0056e4
								
							
						
					
					
						commit
						607d72d7bb
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -23,6 +23,7 @@ | |||
| #include <boost/iostreams/copy.hpp> | ||||
| #include <boost/iostreams/filtering_streambuf.hpp> | ||||
| #include <boost/iostreams/filter/bzip2.hpp> | ||||
| #include <fmt/chrono.h> | ||||
| 
 | ||||
| #if defined(__GNUC__) | ||||
| #   pragma GCC diagnostic pop | ||||
|  | @ -253,10 +254,13 @@ bool Ar2vFile::LoadData(std::istream& is) | |||
| 
 | ||||
|    if (dataValid) | ||||
|    { | ||||
|       auto timePoint = util::TimePoint(p->julianDate_, p->milliseconds_); | ||||
| 
 | ||||
|       logger_->debug("Filename:  {}", p->tapeFilename_); | ||||
|       logger_->debug("Extension: {}", p->extensionNumber_); | ||||
|       logger_->debug("Date:      {}", p->julianDate_); | ||||
|       logger_->debug("Time:      {}", p->milliseconds_); | ||||
|       logger_->debug("Date:      {} ({:%Y-%m-%d})", p->julianDate_, timePoint); | ||||
|       logger_->debug( | ||||
|          "Time:      {} ({:%H:%M:%S})", p->milliseconds_, timePoint); | ||||
|       logger_->debug("ICAO:      {}", p->icao_); | ||||
| 
 | ||||
|       size_t decompressedRecords = p->DecompressLDMRecords(is); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat