-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 14:26:08 2021 UTC
-- File 20210820_165600_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 12.433425 to 46.264323
-each separately from 12s to 46s and from 264034us to 834094us.
   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, ...
      7.889882 in 1 packets: 18
      10.509920 in 1 packets: 36
      15.429940 in 1 packets: 54
MIU packet time from 2021-08-20T16:56:15.433.425.000 to 2021-08-20T16:56:49.264.323.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, ...
      7.889882 in 1 packets: 18
      10.509920 in 1 packets: 36
      15.429940 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 13.8980333 to 47.8979201
   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, ...
      7.9999734 in 1 packets: 18
      9.9999667 in 1 packets: 36
      15.9999467 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210820_165600_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.3314593 to 14.3317483
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.8898550  -- OK for SL --
   MIU time from 2021-08-20T16:56:15.433.425.000 to 2021-08-20T16:56:15.433.714.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.889882

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.2216033 to 22.2218923
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5098870  -- OK for SL --
   MIU time from 2021-08-20T16:56:23.323.596.000 to 2021-08-20T16:56:23.323.885.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.509920

 - 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.7317793 to 32.7320683
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4298870  -- OK for SL --
   MIU time from 2021-08-20T16:56:33.833.805.000 to 2021-08-20T16:56:33.834.094.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.429940

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.1619553 to 48.1622443
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T16:56:49.264.034.000 to 2021-08-20T16:56:49.264.323.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 = 12, 32bit 10MHz counter = 14.331459300 corrected by 40bit 10MHz counter of 13.898033300 obtained at 1Hz counter of 12. Result: 12.433427430
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-20T16:56:15.433.284.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T16:56:49.264.182.725
   Min 1st sample XO time among all SL packets: 12.433287155
   Max 1st sample XO time among all SL packets: 46.264184797
   TM values from -275 to 241 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T16:56:15.433.284.725 (XO: 12.433287155 - 12.433593156, t=37.2 degC)  Rank: 00086
   TM values: Max =   208  Min =  -243  Ave =    -4.47  Std =    21.60
   Min TM value:-243 at an offset of 115.038 usec -> 2021-08-20T16:56:15.433.399.762 (XO: 12.433402193)
   Max TM value:208 at an offset of 130.413 usec -> 2021-08-20T16:56:15.433.415.137 (XO: 12.433417568)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 130.238 usec -> 2021-08-20T16:56:15.433.414.962 (XO: 12.433417393)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 127.563 usec -> 2021-08-20T16:56:15.433.412.287 (XO: 12.433414718)

 - Block number: 2 starting at 2021-08-20T16:56:23.323.455.725 (XO: 20.323457392 - 20.323763393, t=37.2 degC)  Rank: 00077
   TM values: Max =   241  Min =  -245  Ave =    -4.49  Std =    19.31
   Min TM value:-245 at an offset of 108.100 usec -> 2021-08-20T16:56:23.323.563.825 (XO: 20.323565493)
   Max TM value:241 at an offset of 105.938 usec -> 2021-08-20T16:56:23.323.561.662 (XO: 20.323563330)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 105.800 usec -> 2021-08-20T16:56:23.323.561.525 (XO: 20.323563193)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 107.950 usec -> 2021-08-20T16:56:23.323.563.675 (XO: 20.323565343)

 - Block number: 3 starting at 2021-08-20T16:56:33.833.664.725 (XO: 30.833668376 - 30.833974377, t=37.2 degC)  Rank: 00076
   TM values: Max =   192  Min =  -275  Ave =    -4.49  Std =    20.43
   Min TM value:-275 at an offset of 118.013 usec -> 2021-08-20T16:56:33.833.782.737 (XO: 30.833786389)
   Max TM value:192 at an offset of 120.600 usec -> 2021-08-20T16:56:33.833.785.325 (XO: 30.833788977)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 120.388 usec -> 2021-08-20T16:56:33.833.785.112 (XO: 30.833788764)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 117.825 usec -> 2021-08-20T16:56:33.833.782.550 (XO: 30.833786201)

 - Block number: 4 starting at 2021-08-20T16:56:49.263.893.725 (XO: 46.263895796 - 46.264201797, t=37.2 degC)  Rank: 00079
   TM values: Max =   228  Min =  -239  Ave =    -4.46  Std =    21.78
   Min TM value:-239 at an offset of 128.850 usec -> 2021-08-20T16:56:49.264.022.575 (XO: 46.264024646)
   Max TM value:228 at an offset of 160.476 usec -> 2021-08-20T16:56:49.264.054.200 (XO: 46.264056271)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 126.488 usec -> 2021-08-20T16:56:49.264.020.212 (XO: 46.264022284)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 128.650 usec -> 2021-08-20T16:56:49.264.022.375 (XO: 46.264024446)
