-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 01:11:14 2021 UTC
-- File 20210818_024404_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.470196 to 56.691207
-each separately from 12s to 56s and from 470196us to 930872us.
   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, ...
      11.299907 in 1 packets: 18
      14.159902 in 1 packets: 36
      18.760046 in 1 packets: 54
MIU packet time from 2021-08-18T02:44:19.470.196.000 to 2021-08-18T02:45:03.691.207.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, ...
      11.299907 in 1 packets: 18
      14.159902 in 1 packets: 36
      18.760046 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.9400869 to 57.9399412
   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, ...
      10.9999636 in 1 packets: 18
      13.9999536 in 1 packets: 36
      18.9999371 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210818_024404_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.4102836 to 14.4105726
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2998710  -- OK for SL --
   MIU time from 2021-08-18T02:44:19.470.196.000 to 2021-08-18T02:44:19.470.485.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.299907

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7104436 to 25.7107326
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1598550  -- OK for SL --
   MIU time from 2021-08-18T02:44:30.770.392.000 to 2021-08-18T02:44:30.770.681.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.159902

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.8705876 to 39.8708766
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7599830  -- OK for SL --
   MIU time from 2021-08-18T02:44:44.930.583.000 to 2021-08-18T02:44:44.930.872.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.760046

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.6308596 to 58.6311486
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T02:45:03.690.918.000 to 2021-08-18T02:45:03.691.207.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.410283600 corrected by 40bit 10MHz counter of 13.940086900 obtained at 1Hz counter of 12. Result: 12.470198299
--
   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-08-18T02:44:19.470.055.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T02:45:03.691.066.725
   Min 1st sample XO time among all SL packets: 12.470058023
   Max 1st sample XO time among all SL packets: 56.691069406
   TM values from -255 to 211 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T02:44:19.470.055.725 (XO: 12.470058023 - 12.470364024, t=37.2 degC)  Rank: 00082
   TM values: Max =   194  Min =  -255  Ave =    -4.49  Std =    26.75
   Min TM value:-255 at an offset of 180.351 usec -> 2021-08-18T02:44:19.470.236.075 (XO: 12.470238374)
   Max TM value:194 at an offset of 180.051 usec -> 2021-08-18T02:44:19.470.235.775 (XO: 12.470238074)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 182.676 usec -> 2021-08-18T02:44:19.470.238.400 (XO: 12.470240699)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 180.188 usec -> 2021-08-18T02:44:19.470.235.913 (XO: 12.470238211)

 - Block number: 2 starting at 2021-08-18T02:44:30.770.251.725 (XO: 23.770255444 - 23.770561445, t=37.2 degC)  Rank: 00078
   TM values: Max =   192  Min =  -255  Ave =    -4.50  Std =    29.71
   Min TM value:-255 at an offset of 206.101 usec -> 2021-08-18T02:44:30.770.457.825 (XO: 23.770461545)
   Max TM value:192 at an offset of 109.888 usec -> 2021-08-18T02:44:30.770.361.612 (XO: 23.770365332)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 176.376 usec -> 2021-08-18T02:44:30.770.428.100 (XO: 23.770431819)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 178.713 usec -> 2021-08-18T02:44:30.770.430.438 (XO: 23.770434157)

 - Block number: 3 starting at 2021-08-18T02:44:44.930.442.725 (XO: 37.930446389 - 37.930752390, t=37.2 degC)  Rank: 00078
   TM values: Max =   195  Min =  -249  Ave =    -4.50  Std =    26.35
   Min TM value:-249 at an offset of 119.763 usec -> 2021-08-18T02:44:44.930.562.487 (XO: 37.930566151)
   Max TM value:195 at an offset of 122.425 usec -> 2021-08-18T02:44:44.930.565.150 (XO: 37.930568814)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 122.225 usec -> 2021-08-18T02:44:44.930.564.950 (XO: 37.930568614)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 107.388 usec -> 2021-08-18T02:44:44.930.550.112 (XO: 37.930553776)

 - Block number: 4 starting at 2021-08-18T02:45:03.690.777.725 (XO: 56.690780405 - 56.691086406, t=37.2 degC)  Rank: 00078
   TM values: Max =   211  Min =  -252  Ave =    -4.51  Std =    21.36
   Min TM value:-252 at an offset of 83.550 usec -> 2021-08-18T02:45:03.690.861.275 (XO: 56.690863955)
   Max TM value:211 at an offset of 86.025 usec -> 2021-08-18T02:45:03.690.863.750 (XO: 56.690866430)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 85.888 usec -> 2021-08-18T02:45:03.690.863.612 (XO: 56.690866292)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 83.363 usec -> 2021-08-18T02:45:03.690.861.087 (XO: 56.690863767)
