-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 10 23:47:48 2021 UTC
-- File 20210711_010402_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 1.674673 to 49.501603
-each separately from 1s to 49s and from 368587us to 674962us.
   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, ...
      21.693625 in 1 packets: 18
      14.295790 in 1 packets: 36
      11.836359 in 1 packets: 54
MIU packet time from 2021-07-11T01:04:06.674.673.000 to 2021-07-11T01:04:54.501.603.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, ...
      21.693625 in 1 packets: 18
      14.295790 in 1 packets: 36
      11.836359 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 2.9454378 to 50.9452767
   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, ...
      21.9999261 in 1 packets: 18
      13.9999530 in 1 packets: 36
      11.9999598 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210711_010402_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.6201116 to 3.6204006
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6935510  -- OK for SL --
   MIU time from 2021-07-11T01:04:06.674.673.000 to 2021-07-11T01:04:06.674.962.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.693625

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.3139516 to 25.3142406
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2957430  -- OK for SL --
   MIU time from 2021-07-11T01:04:28.368.587.000 to 2021-07-11T01:04:28.368.876.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.295790

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.6099836 to 39.6102726
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8363190  -- OK for SL --
   MIU time from 2021-07-11T01:04:42.664.666.000 to 2021-07-11T01:04:42.664.955.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.836359

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.4465916 to 51.4468806
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-11T01:04:54.501.314.000 to 2021-07-11T01:04:54.501.603.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 = 1, 32bit 10MHz counter = 3.620111600 corrected by 40bit 10MHz counter of 2.945437800 obtained at 1Hz counter of 1. Result: 1.674676094
--
   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-07-11T01:04:06.674.532.725
   Max 1st sample MIU time among all SL packets: 2021-07-11T01:04:54.501.462.725
   Min 1st sample XO time among all SL packets: 1.674535818
   Max 1st sample XO time among all SL packets: 49.501465330
   TM values from -255 to 221 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-11T01:04:06.674.532.725 (XO: 1.674535818 - 1.674841819, t=37.2 degC)  Rank: 00081
   TM values: Max =   221  Min =  -250  Ave =    -4.45  Std =    18.10
   Min TM value:-250 at an offset of 111.663 usec -> 2021-07-11T01:04:06.674.644.387 (XO: 1.674647481)
   Max TM value:221 at an offset of 111.413 usec -> 2021-07-11T01:04:06.674.644.137 (XO: 1.674647231)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 114.063 usec -> 2021-07-11T01:04:06.674.646.787 (XO: 1.674649881)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 111.513 usec -> 2021-07-11T01:04:06.674.644.237 (XO: 1.674647331)

 - Block number: 2 starting at 2021-07-11T01:04:28.368.446.725 (XO: 23.368448641 - 23.368754642, t=37.2 degC)  Rank: 00085
   TM values: Max =   217  Min =  -255  Ave =    -4.49  Std =    30.14
   Min TM value:-255 at an offset of 165.838 usec -> 2021-07-11T01:04:28.368.612.563 (XO: 23.368614479)
   Max TM value:217 at an offset of 122.863 usec -> 2021-07-11T01:04:28.368.569.587 (XO: 23.368571504)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 120.900 usec -> 2021-07-11T01:04:28.368.567.625 (XO: 23.368569541)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 122.988 usec -> 2021-07-11T01:04:28.368.569.712 (XO: 23.368571629)

 - Block number: 3 starting at 2021-07-11T01:04:42.664.525.725 (XO: 37.664528684 - 37.664834685, t=37.2 degC)  Rank: 00079
   TM values: Max =   187  Min =  -234  Ave =    -4.47  Std =    17.12
   Min TM value:-234 at an offset of 120.200 usec -> 2021-07-11T01:04:42.664.645.925 (XO: 37.664648885)
   Max TM value:187 at an offset of 119.900 usec -> 2021-07-11T01:04:42.664.645.625 (XO: 37.664648585)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 122.638 usec -> 2021-07-11T01:04:42.664.648.362 (XO: 37.664651322)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 120.000 usec -> 2021-07-11T01:04:42.664.645.725 (XO: 37.664648685)

 - Block number: 4 starting at 2021-07-11T01:04:54.501.173.725 (XO: 49.501176329 - 49.501482330, t=37.2 degC)  Rank: 00079
   TM values: Max =   194  Min =  -247  Ave =    -4.59  Std =    25.64
   Min TM value:-247 at an offset of 152.851 usec -> 2021-07-11T01:04:54.501.326.575 (XO: 49.501329180)
   Max TM value:194 at an offset of 110.588 usec -> 2021-07-11T01:04:54.501.284.312 (XO: 49.501286917)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 110.388 usec -> 2021-07-11T01:04:54.501.284.112 (XO: 49.501286717)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 166.576 usec -> 2021-07-11T01:04:54.501.340.300 (XO: 49.501342905)
