-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  1 08:19:44 2021 UTC
-- File 20210730_112955_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.804279 to 51.548229
-each separately from 4s to 51s and from 381769us to 804568us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.577201 in 1 packets: 18
      6.398708 in 1 packets: 36
      20.766885 in 1 packets: 54
MIU packet time from 2021-07-30T11:30:02.804.279.000 to 2021-07-30T11:30:49.548.229.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.577201 in 1 packets: 18
      6.398708 in 1 packets: 36
      20.766885 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.8868422 to 52.8866853
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999332 in 1 packets: 18
      5.9999800 in 1 packets: 36
      20.9999299 in 1 packets: 54
Temperature FPGA: 
      07 -> 45.9 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C0 -> 35.6 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210730_112955_1227.dat, 4 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6911215 to 6.6914105
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5771350  -- OK for SL --
   MIU time from 2021-07-30T11:30:02.804.279.000 to 2021-07-30T11:30:02.804.568.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.577201

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.2685455 to 26.2688345
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.3986870  -- OK for SL --
   MIU time from 2021-07-30T11:30:22.381.769.000 to 2021-07-30T11:30:22.382.058.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.398708

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.6675215 to 32.6678105
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7668150  -- OK for SL --
   MIU time from 2021-07-30T11:30:28.780.766.000 to 2021-07-30T11:30:28.781.055.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.766885

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.4346255 to 53.4349145
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-30T11:30:49.547.940.000 to 2021-07-30T11:30:49.548.229.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 6.691121500 corrected by 40bit 10MHz counter of 5.886842200 obtained at 1Hz counter of 4. Result: 4.804281954
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-30T11:30:02.804.138.725
   Max 1st sample MIU time among all SL packets: 2021-07-30T11:30:49.548.088.725
   Min 1st sample XO time among all SL packets: 4.804141679
   Max 1st sample XO time among all SL packets: 51.548090789
   TM values from -251 to 219 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-30T11:30:02.804.138.725 (XO: 4.804141679 - 4.804447680, t=37.2 degC)  Rank: 00080
   TM values: Max =   206  Min =  -240  Ave =    -4.53  Std =    19.53
   Min TM value:-240 at an offset of 116.088 usec -> 2021-07-30T11:30:02.804.254.812 (XO: 4.804257767)
   Max TM value:206 at an offset of 118.625 usec -> 2021-07-30T11:30:02.804.257.350 (XO: 4.804260304)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 118.450 usec -> 2021-07-30T11:30:02.804.257.175 (XO: 4.804260129)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 115.913 usec -> 2021-07-30T11:30:02.804.254.637 (XO: 4.804257592)

 - Block number: 2 starting at 2021-07-30T11:30:22.381.628.725 (XO: 24.381631123 - 24.381937124, t=37.2 degC)  Rank: 00085
   TM values: Max =   219  Min =  -251  Ave =    -4.45  Std =    21.95
   Min TM value:-251 at an offset of 126.588 usec -> 2021-07-30T11:30:22.381.755.312 (XO: 24.381757710)
   Max TM value:219 at an offset of 126.288 usec -> 2021-07-30T11:30:22.381.755.012 (XO: 24.381757410)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 128.963 usec -> 2021-07-30T11:30:22.381.757.687 (XO: 24.381760085)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 126.375 usec -> 2021-07-30T11:30:22.381.755.100 (XO: 24.381757498)

 - Block number: 3 starting at 2021-07-30T11:30:28.780.625.725 (XO: 30.780628479 - 30.780934480, t=35.6 degC)  Rank: 00076
   TM values: Max =   194  Min =  -235  Ave =    -4.50  Std =    18.93
   Min TM value:-235 at an offset of 127.750 usec -> 2021-07-30T11:30:28.780.753.475 (XO: 30.780756230)
   Max TM value:194 at an offset of 130.425 usec -> 2021-07-30T11:30:28.780.756.150 (XO: 30.780758905)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 130.238 usec -> 2021-07-30T11:30:28.780.755.962 (XO: 30.780758717)
   Min dTM/dt [1/us]:-1.45e+03 at an offset of 127.563 usec -> 2021-07-30T11:30:28.780.753.287 (XO: 30.780756042)

 - Block number: 4 starting at 2021-07-30T11:30:49.547.799.725 (XO: 51.547801788 - 51.548107789, t=35.6 degC)  Rank: 00080
   TM values: Max =   188  Min =  -221  Ave =    -4.50  Std =    27.14
   Min TM value:-221 at an offset of 112.838 usec -> 2021-07-30T11:30:49.547.912.562 (XO: 51.547914625)
   Max TM value:188 at an offset of 84.700 usec -> 2021-07-30T11:30:49.547.884.425 (XO: 51.547886488)
   Max dTM/dt [1/us]:1.63e+03 at an offset of 84.575 usec -> 2021-07-30T11:30:49.547.884.300 (XO: 51.547886363)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 112.675 usec -> 2021-07-30T11:30:49.547.912.400 (XO: 51.547914463)
