-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 24 03:05:18 2022 UTC
-- File 20210929_221017_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 2.566125 to 32.686082
-each separately from 2s to 32s and from 566125us to 686082us.
   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, ...
      25.009426 in 1 packets: 18
      5.109664 in 1 packets: 36
MIU packet time from 2021-09-29T22:10:22.566.125.000 to 2021-09-29T22:10:52.686.082.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, ...
      25.009426 in 1 packets: 18
      5.109664 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 3.8907845 to 33.8906844
   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, ...
      24.9999166 in 1 packets: 18
      4.9999833 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210929_221017_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.4569101 to 4.4571991
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.0093430  -- OK for SL --
   MIU time from 2021-09-29T22:10:22.566.125.000 to 2021-09-29T22:10:22.566.414.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.009426

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.4665421 to 29.4668311
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.1096470  -- OK for SL --
   MIU time from 2021-09-29T22:10:47.575.840.000 to 2021-09-29T22:10:47.576.129.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.109664

 - 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 34.5764781 to 34.5767671
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-29T22:10:52.685.793.000 to 2021-09-29T22:10:52.686.082.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 = 2, 32bit 10MHz counter = 4.456910100 corrected by 40bit 10MHz counter of 3.890784500 obtained at 1Hz counter of 2. Result: 2.566127468
--
   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-09-29T22:10:22.565.984.725
   Max 1st sample MIU time among all SL packets: 2021-09-29T22:10:52.685.941.725
   Min 1st sample XO time among all SL packets: 2.565987193
   Max 1st sample XO time among all SL packets: 32.685944689
   TM values from -276 to 250 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-29T22:10:22.565.984.725 (XO: 2.565987193 - 2.566293194, t=37.2 degC)  Rank: 00081
   TM values: Max =   235  Min =  -274  Ave =    -4.60  Std =    23.53
   Min TM value:-274 at an offset of 117.963 usec -> 2021-09-29T22:10:22.566.102.687 (XO: 2.566105156)
   Max TM value:235 at an offset of 120.613 usec -> 2021-09-29T22:10:22.566.105.337 (XO: 2.566107806)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 120.475 usec -> 2021-09-29T22:10:22.566.105.200 (XO: 2.566107668)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 90.900 usec -> 2021-09-29T22:10:22.566.075.625 (XO: 2.566078093)

 - Block number: 2 starting at 2021-09-29T22:10:47.575.699.725 (XO: 27.575702682 - 27.576008683, t=37.2 degC)  Rank: 00081
   TM values: Max =   250  Min =  -228  Ave =    -4.46  Std =    21.19
   Min TM value:-228 at an offset of 121.675 usec -> 2021-09-29T22:10:47.575.821.400 (XO: 27.575824358)
   Max TM value:250 at an offset of 124.350 usec -> 2021-09-29T22:10:47.575.824.075 (XO: 27.575827033)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 124.263 usec -> 2021-09-29T22:10:47.575.823.987 (XO: 27.575826945)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 121.500 usec -> 2021-09-29T22:10:47.575.821.225 (XO: 27.575824183)

 - Block number: 3 starting at 2021-09-29T22:10:52.685.652.725 (XO: 32.685655688 - 32.685961689, t=37.2 degC)  Rank: 00080
   TM values: Max =   234  Min =  -276  Ave =    -4.50  Std =    26.27
   Min TM value:-276 at an offset of 105.350 usec -> 2021-09-29T22:10:52.685.758.075 (XO: 32.685761038)
   Max TM value:234 at an offset of 107.963 usec -> 2021-09-29T22:10:52.685.760.687 (XO: 32.685763651)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 107.750 usec -> 2021-09-29T22:10:52.685.760.475 (XO: 32.685763438)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 105.188 usec -> 2021-09-29T22:10:52.685.757.912 (XO: 32.685760876)
