-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 15:00:21 2021 UTC
-- File 20210820_172509_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 11.750528 to 55.129427
-each separately from 11s to 55s and from 129138us to 750817us.
   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, ...
      15.429268 in 1 packets: 18
      15.309169 in 1 packets: 36
      12.639306 in 1 packets: 54
MIU packet time from 2021-08-20T17:25:23.750.528.000 to 2021-08-20T17:26:07.129.427.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, ...
      15.429268 in 1 packets: 18
      15.309169 in 1 packets: 36
      12.639306 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 12.8610914 to 56.8609449
   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, ...
      15.9999467 in 1 packets: 18
      14.9999501 in 1 packets: 36
      12.9999567 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210820_172509_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 13.6116205 to 13.6119095
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4292150  -- OK for SL --
   MIU time from 2021-08-20T17:25:23.750.528.000 to 2021-08-20T17:25:23.750.817.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.429268

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.0411245 to 29.0414135
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3091190  -- OK for SL --
   MIU time from 2021-08-20T17:25:39.180.085.000 to 2021-08-20T17:25:39.180.374.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.309169

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.3505325 to 44.3508215
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6392630  -- OK for SL --
   MIU time from 2021-08-20T17:25:54.489.543.000 to 2021-08-20T17:25:54.489.832.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.639306

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.9900845 to 56.9903735
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T17:26:07.129.138.000 to 2021-08-20T17:26:07.129.427.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 = 11, 32bit 10MHz counter = 13.611620500 corrected by 40bit 10MHz counter of 12.861091400 obtained at 1Hz counter of 11. Result: 11.750531577
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-20T17:25:23.750.387.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T17:26:07.129.286.725
   Min 1st sample XO time among all SL packets: 11.750391301
   Max 1st sample XO time among all SL packets: 55.129288752
   TM values from -285 to 232 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T17:25:23.750.387.725 (XO: 11.750391301 - 11.750697302, t=37.2 degC)  Rank: 00082
   TM values: Max =   205  Min =  -250  Ave =    -4.55  Std =    22.35
   Min TM value:-250 at an offset of 125.863 usec -> 2021-08-20T17:25:23.750.513.587 (XO: 11.750517164)
   Max TM value:205 at an offset of 128.363 usec -> 2021-08-20T17:25:23.750.516.087 (XO: 11.750519664)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 128.213 usec -> 2021-08-20T17:25:23.750.515.937 (XO: 11.750519514)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 125.638 usec -> 2021-08-20T17:25:23.750.513.362 (XO: 11.750516939)

 - Block number: 2 starting at 2021-08-20T17:25:39.179.944.725 (XO: 27.179946719 - 27.180252720, t=37.2 degC)  Rank: 00076
   TM values: Max =   232  Min =  -225  Ave =    -4.44  Std =    22.43
   Min TM value:-225 at an offset of 91.988 usec -> 2021-08-20T17:25:39.180.036.712 (XO: 27.180038707)
   Max TM value:232 at an offset of 89.800 usec -> 2021-08-20T17:25:39.180.034.525 (XO: 27.180036519)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 89.675 usec -> 2021-08-20T17:25:39.180.034.400 (XO: 27.180036394)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 91.838 usec -> 2021-08-20T17:25:39.180.036.562 (XO: 27.180038557)

 - Block number: 3 starting at 2021-08-20T17:25:54.489.402.725 (XO: 42.489405640 - 42.489711641, t=37.2 degC)  Rank: 00083
   TM values: Max =   201  Min =  -285  Ave =    -4.46  Std =    27.06
   Min TM value:-285 at an offset of 209.126 usec -> 2021-08-20T17:25:54.489.611.850 (XO: 42.489614766)
   Max TM value:201 at an offset of 193.051 usec -> 2021-08-20T17:25:54.489.595.775 (XO: 42.489598691)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 124.475 usec -> 2021-08-20T17:25:54.489.527.200 (XO: 42.489530115)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 209.001 usec -> 2021-08-20T17:25:54.489.611.725 (XO: 42.489614641)

 - Block number: 4 starting at 2021-08-20T17:26:07.128.997.725 (XO: 55.128999751 - 55.129305752, t=37.2 degC)  Rank: 00074
   TM values: Max =   215  Min =  -260  Ave =    -4.50  Std =    28.31
   Min TM value:-260 at an offset of 173.401 usec -> 2021-08-20T17:26:07.129.171.125 (XO: 55.129173151)
   Max TM value:215 at an offset of 171.126 usec -> 2021-08-20T17:26:07.129.168.850 (XO: 55.129170876)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 116.350 usec -> 2021-08-20T17:26:07.129.114.075 (XO: 55.129116101)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 113.813 usec -> 2021-08-20T17:26:07.129.111.537 (XO: 55.129113564)
