-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  2 13:31:14 2022 UTC
-- File 20210903_150207_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 1.734671 to 33.976378
-each separately from 1s to 33s and from 725582us to 976378us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.990622 in 1 packets: 18
      8.250218 in 1 packets: 36
MIU packet time from 2021-09-03T15:02:11.734.671.000 to 2021-09-03T15:02:43.976.378.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.990622 in 1 packets: 18
      8.250218 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 2.9046195 to 34.9045134
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      23.9999204 in 1 packets: 18
      7.9999735 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210903_150207_1227.dat, 3 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.6392909 to 3.6395799
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9905430  -- OK for SL --
   MIU time from 2021-09-03T15:02:11.734.671.000 to 2021-09-03T15:02:11.734.960.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.990622

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.6301229 to 27.6304119
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2501910  -- OK for SL --
   MIU time from 2021-09-03T15:02:35.725.582.000 to 2021-09-03T15:02:35.725.871.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.250218

 - 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 35.8806029 to 35.8808919
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-03T15:02:43.976.089.000 to 2021-09-03T15:02:43.976.378.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 1, 32bit 10MHz counter = 3.639290900 corrected by 40bit 10MHz counter of 2.904619500 obtained at 1Hz counter of 1. Result: 1.734673898
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-09-03T15:02:11.734.530.725
   Max 1st sample MIU time among all SL packets: 2021-09-03T15:02:43.976.237.725
   Min 1st sample XO time among all SL packets: 1.734533622
   Max 1st sample XO time among all SL packets: 33.976241544
   TM values from -256 to 225 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-03T15:02:11.734.530.725 (XO: 1.734533622 - 1.734839623, t=37.2 degC)  Rank: 00087
   TM values: Max =   206  Min =  -256  Ave =    -4.55  Std =    21.09
   Min TM value:-256 at an offset of 130.325 usec -> 2021-09-03T15:02:11.734.661.050 (XO: 1.734663948)
   Max TM value:206 at an offset of 130.588 usec -> 2021-09-03T15:02:11.734.661.312 (XO: 1.734664210)
   Max dTM/dt [1/us]:2.43e+03 at an offset of 130.425 usec -> 2021-09-03T15:02:11.734.661.150 (XO: 1.734664048)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 127.875 usec -> 2021-09-03T15:02:11.734.658.600 (XO: 1.734661498)

 - Block number: 2 starting at 2021-09-03T15:02:35.725.441.725 (XO: 25.725445192 - 25.725751193, t=37.2 degC)  Rank: 00079
   TM values: Max =   225  Min =  -222  Ave =    -4.53  Std =    18.36
   Min TM value:-222 at an offset of 117.088 usec -> 2021-09-03T15:02:35.725.558.812 (XO: 25.725562279)
   Max TM value:225 at an offset of 131.613 usec -> 2021-09-03T15:02:35.725.573.337 (XO: 25.725576804)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 131.488 usec -> 2021-09-03T15:02:35.725.573.212 (XO: 25.725576679)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 116.950 usec -> 2021-09-03T15:02:35.725.558.675 (XO: 25.725562142)

 - Block number: 3 starting at 2021-09-03T15:02:43.975.948.725 (XO: 33.975952543 - 33.976258544, t=37.2 degC)  Rank: 00077
   TM values: Max =   208  Min =  -237  Ave =    -4.45  Std =    25.85
   Min TM value:-237 at an offset of 191.188 usec -> 2021-09-03T15:02:43.976.139.913 (XO: 33.976143731)
   Max TM value:208 at an offset of 119.500 usec -> 2021-09-03T15:02:43.976.068.225 (XO: 33.976072044)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 119.363 usec -> 2021-09-03T15:02:43.976.068.087 (XO: 33.976071906)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 191.101 usec -> 2021-09-03T15:02:43.976.139.825 (XO: 33.976143644)
