-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Nov 29 09:36:38 2021 UTC
-- File 20210727_163610_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 1.469905 to 56.770651
-each separately from 1s to 56s and from 469905us to 890209us.
   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, ...
      14.419726 in 1 packets: 18
      14.749922 in 1 packets: 36
      26.129942 in 1 packets: 54
MIU packet time from 2021-07-27T16:36:14.469.905.000 to 2021-07-27T16:37:09.770.651.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, ...
      14.419726 in 1 packets: 18
      14.749922 in 1 packets: 36
      26.129942 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 2.8537661 to 57.8535812
   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, ...
      13.9999530 in 1 packets: 18
      14.9999495 in 1 packets: 36
      25.9999126 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210727_163610_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.3236719 to 3.3239609
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4196790  -- OK for SL --
   MIU time from 2021-07-27T16:36:14.469.905.000 to 2021-07-27T16:36:14.470.194.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.419726

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7436399 to 17.7439289
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7498710  -- OK for SL --
   MIU time from 2021-07-27T16:36:28.889.920.000 to 2021-07-27T16:36:28.890.209.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.749922

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.4937999 to 32.4940889
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.1298550  -- OK for SL --
   MIU time from 2021-07-27T16:36:43.640.131.000 to 2021-07-27T16:36:43.640.420.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.129942

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.6239439 to 58.6242329
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-27T16:37:09.770.362.000 to 2021-07-27T16:37:09.770.651.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 = 1, 32bit 10MHz counter = 3.323671900 corrected by 40bit 10MHz counter of 2.853766100 obtained at 1Hz counter of 1. Result: 1.469907398
--
   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-27T16:36:14.469.764.725
   Max 1st sample MIU time among all SL packets: 2021-07-27T16:37:09.770.510.725
   Min 1st sample XO time among all SL packets: 1.469767122
   Max 1st sample XO time among all SL packets: 56.770514045
   TM values from -291 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-27T16:36:14.469.764.725 (XO: 1.469767122 - 1.470073123, t=37.2 degC)  Rank: 00079
   TM values: Max =   213  Min =  -234  Ave =    -4.35  Std =    19.90
   Min TM value:-234 at an offset of 126.000 usec -> 2021-07-27T16:36:14.469.890.725 (XO: 1.469893123)
   Max TM value:213 at an offset of 125.725 usec -> 2021-07-27T16:36:14.469.890.450 (XO: 1.469892848)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 128.425 usec -> 2021-07-27T16:36:14.469.893.150 (XO: 1.469895548)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 125.825 usec -> 2021-07-27T16:36:14.469.890.550 (XO: 1.469892948)

 - Block number: 2 starting at 2021-07-27T16:36:28.889.779.725 (XO: 15.889783550 - 15.890089551, t=37.2 degC)  Rank: 00080
   TM values: Max =   203  Min =  -260  Ave =    -4.47  Std =    24.92
   Min TM value:-260 at an offset of 126.000 usec -> 2021-07-27T16:36:28.889.905.725 (XO: 15.889909551)
   Max TM value:203 at an offset of 123.725 usec -> 2021-07-27T16:36:28.889.903.450 (XO: 15.889907276)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 123.575 usec -> 2021-07-27T16:36:28.889.903.300 (XO: 15.889907126)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 125.838 usec -> 2021-07-27T16:36:28.889.905.562 (XO: 15.889909388)

 - Block number: 3 starting at 2021-07-27T16:36:43.639.990.725 (XO: 30.639993137 - 30.640299138, t=37.2 degC)  Rank: 00080
   TM values: Max =   215  Min =  -291  Ave =    -4.37  Std =    29.36
   Min TM value:-291 at an offset of 99.025 usec -> 2021-07-27T16:36:43.640.089.750 (XO: 30.640092162)
   Max TM value:215 at an offset of 96.988 usec -> 2021-07-27T16:36:43.640.087.712 (XO: 30.640090125)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 58.450 usec -> 2021-07-27T16:36:43.640.049.175 (XO: 30.640051587)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 86.288 usec -> 2021-07-27T16:36:43.640.077.012 (XO: 30.640079425)

 - Block number: 4 starting at 2021-07-27T16:37:09.770.221.725 (XO: 56.770225044 - 56.770531045, t=37.2 degC)  Rank: 00083
   TM values: Max =   228  Min =  -258  Ave =    -4.35  Std =    26.02
   Min TM value:-258 at an offset of 126.075 usec -> 2021-07-27T16:37:09.770.347.800 (XO: 56.770351119)
   Max TM value:228 at an offset of 187.476 usec -> 2021-07-27T16:37:09.770.409.200 (XO: 56.770412519)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 187.363 usec -> 2021-07-27T16:37:09.770.409.088 (XO: 56.770412407)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 125.925 usec -> 2021-07-27T16:37:09.770.347.650 (XO: 56.770350969)
