-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  2 00:46:55 2022 UTC
-- File 20210903_052345_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 3.085833 to 58.796784
-each separately from 3s to 58s and from 85833us to 846338us.
   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.759927 in 1 packets: 18
      14.959970 in 1 packets: 36
      27.989898 in 1 packets: 54
MIU packet time from 2021-09-03T05:23:51.085.833.000 to 2021-09-03T05:24:46.796.784.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.759927 in 1 packets: 18
      14.959970 in 1 packets: 36
      27.989898 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 4.9395277 to 59.9393457
   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, ...
      11.9999603 in 1 packets: 18
      14.9999503 in 1 packets: 36
      27.9999074 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 20210903_052345_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.0253616 to 5.0256506
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7598870  -- OK for SL --
   MIU time from 2021-09-03T05:23:51.085.833.000 to 2021-09-03T05:23:51.086.122.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.759927

 - 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 17.7855376 to 17.7858266
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9599190  -- OK for SL --
   MIU time from 2021-09-03T05:24:03.846.049.000 to 2021-09-03T05:24:03.846.338.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.959970

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7457456 to 32.7460346
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.9898070  -- OK for SL --
   MIU time from 2021-09-03T05:24:18.806.308.000 to 2021-09-03T05:24:18.806.597.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.989898

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.7358416 to 60.7361306
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-03T05:24:46.796.495.000 to 2021-09-03T05:24:46.796.784.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 = 3, 32bit 10MHz counter = 5.025361600 corrected by 40bit 10MHz counter of 4.939527700 obtained at 1Hz counter of 3. Result: 3.085834183
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-03T05:23:51.085.692.725
   Max 1st sample MIU time among all SL packets: 2021-09-03T05:24:46.796.643.725
   Min 1st sample XO time among all SL packets: 3.085693908
   Max 1st sample XO time among all SL packets: 58.796647254
   TM values from -252 to 211 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-03T05:23:51.085.692.725 (XO: 3.085693908 - 3.085999909, t=37.2 degC)  Rank: 00078
   TM values: Max =   198  Min =  -252  Ave =    -4.56  Std =    22.94
   Min TM value:-252 at an offset of 117.513 usec -> 2021-09-03T05:23:51.085.810.237 (XO: 3.085811421)
   Max TM value:198 at an offset of 120.125 usec -> 2021-09-03T05:23:51.085.812.850 (XO: 3.085814033)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 119.938 usec -> 2021-09-03T05:23:51.085.812.662 (XO: 3.085813846)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 117.350 usec -> 2021-09-03T05:23:51.085.810.075 (XO: 3.085811258)

 - Block number: 2 starting at 2021-09-03T05:24:03.845.908.725 (XO: 15.845912117 - 15.846218118, t=37.2 degC)  Rank: 00078
   TM values: Max =   211  Min =  -251  Ave =    -4.57  Std =    17.07
   Min TM value:-251 at an offset of 120.613 usec -> 2021-09-03T05:24:03.846.029.337 (XO: 15.846032729)
   Max TM value:211 at an offset of 120.350 usec -> 2021-09-03T05:24:03.846.029.075 (XO: 15.846032467)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 123.000 usec -> 2021-09-03T05:24:03.846.031.725 (XO: 15.846035117)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 120.450 usec -> 2021-09-03T05:24:03.846.029.175 (XO: 15.846032567)

 - Block number: 3 starting at 2021-09-03T05:24:18.806.167.725 (XO: 30.806169605 - 30.806475606, t=37.2 degC)  Rank: 00076
   TM values: Max =   202  Min =  -247  Ave =    -4.56  Std =    20.45
   Min TM value:-247 at an offset of 118.400 usec -> 2021-09-03T05:24:18.806.286.125 (XO: 30.806288005)
   Max TM value:202 at an offset of 121.000 usec -> 2021-09-03T05:24:18.806.288.725 (XO: 30.806290605)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 120.813 usec -> 2021-09-03T05:24:18.806.288.537 (XO: 30.806290418)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 118.250 usec -> 2021-09-03T05:24:18.806.285.975 (XO: 30.806287855)

 - Block number: 4 starting at 2021-09-03T05:24:46.796.354.725 (XO: 58.796358253 - 58.796664254, t=37.2 degC)  Rank: 00082
   TM values: Max =   201  Min =  -212  Ave =    -4.57  Std =    19.98
   Min TM value:-212 at an offset of 92.575 usec -> 2021-09-03T05:24:46.796.447.300 (XO: 58.796450828)
   Max TM value:201 at an offset of 107.563 usec -> 2021-09-03T05:24:46.796.462.287 (XO: 58.796465816)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 107.413 usec -> 2021-09-03T05:24:46.796.462.137 (XO: 58.796465666)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 92.388 usec -> 2021-09-03T05:24:46.796.447.112 (XO: 58.796450641)
