-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 18:06:42 2023 UTC
-- File 20220705_201836_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.663978 to 56.503932
-each separately from 12s to 56s and from 173882us to 753997us.
   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, ...
      12.509615 in 1 packets: 18
      5.579537 in 1 packets: 36
      25.749646 in 1 packets: 54
MIU packet time from 2022-07-05T20:18:51.663.978.000 to 2022-07-05T20:19:35.503.932.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, ...
      12.509615 in 1 packets: 18
      5.579537 in 1 packets: 36
      25.749646 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 14.1069851 to 58.1068243
   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, ...
      12.9999525 in 1 packets: 18
      4.9999817 in 1 packets: 36
      25.9999050 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 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: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220705_201836_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.7709643 to 14.7712533
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5095670  -- OK for SL --
   MIU time from 2022-07-05T20:18:51.663.978.000 to 2022-07-05T20:18:51.664.267.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.509615

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.2808203 to 27.2811093
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.5795190  -- OK for SL --
   MIU time from 2022-07-05T20:19:04.173.882.000 to 2022-07-05T20:19:04.174.171.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.579537

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8606283 to 32.8609173
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.7495510  -- OK for SL --
   MIU time from 2022-07-05T20:19:09.753.708.000 to 2022-07-05T20:19:09.753.997.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.749646

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.6104683 to 58.6107573
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-05T20:19:35.503.643.000 to 2022-07-05T20:19:35.503.932.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.770964300 corrected by 40bit 10MHz counter of 14.106985100 obtained at 1Hz counter of 12. Result: 12.663981590
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-05T20:18:51.663.837.725
   Max 1st sample MIU time among all SL packets: 2022-07-05T20:19:35.503.791.725
   Min 1st sample XO time among all SL packets: 12.663841315
   Max 1st sample XO time among all SL packets: 56.503794589
   TM values from -338 to 342 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-05T20:18:51.663.837.725 (XO: 12.663841315 - 12.664147316, t=38.8 degC)  Rank: 00085
   TM values: Max =   342  Min =  -338  Ave =    -4.52  Std =    45.80
   Min TM value:-338 at an offset of 116.325 usec -> 2022-07-05T20:18:51.663.954.050 (XO: 12.663957640)
   Max TM value:342 at an offset of 116.588 usec -> 2022-07-05T20:18:51.663.954.312 (XO: 12.663957903)
   Max dTM/dt [1/us]:3.19e+03 at an offset of 158.888 usec -> 2022-07-05T20:18:51.663.996.613 (XO: 12.664000203)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 114.100 usec -> 2022-07-05T20:18:51.663.951.825 (XO: 12.663955415)

 - Block number: 2 starting at 2022-07-05T20:19:04.173.741.725 (XO: 25.173743050 - 25.174049052, t=38.8 degC)  Rank: 00075
   TM values: Max =   316  Min =  -337  Ave =    -4.49  Std =    43.46
   Min TM value:-337 at an offset of 101.463 usec -> 2022-07-05T20:19:04.173.843.187 (XO: 25.173844513)
   Max TM value:316 at an offset of 101.200 usec -> 2022-07-05T20:19:04.173.842.925 (XO: 25.173844251)
   Max dTM/dt [1/us]:3.22e+03 at an offset of 103.763 usec -> 2022-07-05T20:19:04.173.845.487 (XO: 25.173846813)
   Min dTM/dt [1/us]:-3.33e+03 at an offset of 101.338 usec -> 2022-07-05T20:19:04.173.843.062 (XO: 25.173844388)

 - Block number: 3 starting at 2022-07-05T20:19:09.753.567.725 (XO: 30.753571438 - 30.753877439, t=38.8 degC)  Rank: 00077
   TM values: Max =   253  Min =  -285  Ave =    -4.50  Std =    44.01
   Min TM value:-285 at an offset of 241.363 usec -> 2022-07-05T20:19:09.753.809.088 (XO: 30.753812801)
   Max TM value:253 at an offset of 216.326 usec -> 2022-07-05T20:19:09.753.784.050 (XO: 30.753787764)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 216.251 usec -> 2022-07-05T20:19:09.753.783.975 (XO: 30.753787689)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 140.913 usec -> 2022-07-05T20:19:09.753.708.638 (XO: 30.753712351)

 - Block number: 4 starting at 2022-07-05T20:19:35.503.502.725 (XO: 56.503505588 - 56.503811589, t=38.8 degC)  Rank: 00087
   TM values: Max =   289  Min =  -303  Ave =    -4.46  Std =    40.02
   Min TM value:-303 at an offset of 154.913 usec -> 2022-07-05T20:19:35.503.657.638 (XO: 56.503660501)
   Max TM value:289 at an offset of 127.000 usec -> 2022-07-05T20:19:35.503.629.725 (XO: 56.503632588)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 155.051 usec -> 2022-07-05T20:19:35.503.657.775 (XO: 56.503660639)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 127.125 usec -> 2022-07-05T20:19:35.503.629.850 (XO: 56.503632713)
