-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 15 19:24:13 2023 UTC
-- File 20220608_135150_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 0.530585 to 59.238052
-each separately from 0s to 59s and from 53239us to 530874us.
   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, ...
      17.522365 in 1 packets: 18
      23.262414 in 1 packets: 36
      17.921532 in 1 packets: 54
MIU packet time from 2022-06-08T13:51:53.530.585.000 to 2022-06-08T13:52:52.238.052.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, ...
      17.522365 in 1 packets: 18
      23.262414 in 1 packets: 36
      17.921532 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 1.7485772 to 60.7483754
   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, ...
      17.9999384 in 1 packets: 18
      22.9999213 in 1 packets: 36
      17.9999385 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      01 -> 53.7 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C4 -> 42.0 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220608_135150_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.2791640 to 2.2794530
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5223030  -- OK for SL --
   MIU time from 2022-06-08T13:51:53.530.585.000 to 2022-06-08T13:51:53.530.874.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.522365

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.8017560 to 19.8020450
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2623350  -- OK for SL --
   MIU time from 2022-06-08T13:52:11.053.239.000 to 2022-06-08T13:52:11.053.528.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.262414

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.0643800 to 43.0646690
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9214710  -- OK for SL --
   MIU time from 2022-06-08T13:52:34.315.942.000 to 2022-06-08T13:52:34.316.231.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.921532

 - 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 60.9861400 to 60.9864290
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-08T13:52:52.237.763.000 to 2022-06-08T13:52:52.238.052.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 = 0, 32bit 10MHz counter = 2.279164000 corrected by 40bit 10MHz counter of 1.748577200 obtained at 1Hz counter of 0. Result: 0.530588657
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2022-06-08T13:51:53.530.444.725
   Max 1st sample MIU time among all SL packets: 2022-06-08T13:52:52.237.911.725
   Min 1st sample XO time among all SL packets: 0.530448382
   Max 1st sample XO time among all SL packets: 59.237914158
   TM values from -320 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-08T13:51:53.530.444.725 (XO: 0.530448382 - 0.530754383, t=42.0 degC)  Rank: 00080
   TM values: Max =   224  Min =  -275  Ave =    -4.50  Std =    24.74
   Min TM value:-275 at an offset of 158.038 usec -> 2022-06-08T13:51:53.530.602.763 (XO: 0.530606420)
   Max TM value:224 at an offset of 116.938 usec -> 2022-06-08T13:51:53.530.561.662 (XO: 0.530565319)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 116.788 usec -> 2022-06-08T13:51:53.530.561.512 (XO: 0.530565169)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 157.913 usec -> 2022-06-08T13:51:53.530.602.638 (XO: 0.530606295)

 - Block number: 2 starting at 2022-06-08T13:52:11.053.098.725 (XO: 18.053100306 - 18.053406307, t=42.0 degC)  Rank: 00080
   TM values: Max =   237  Min =  -320  Ave =    -4.42  Std =    25.03
   Min TM value:-320 at an offset of 161.438 usec -> 2022-06-08T13:52:11.053.260.163 (XO: 18.053261744)
   Max TM value:237 at an offset of 163.763 usec -> 2022-06-08T13:52:11.053.262.488 (XO: 18.053264069)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 163.638 usec -> 2022-06-08T13:52:11.053.262.363 (XO: 18.053263944)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 118.775 usec -> 2022-06-08T13:52:11.053.217.500 (XO: 18.053219081)

 - Block number: 3 starting at 2022-06-08T13:52:34.315.801.725 (XO: 41.315803899 - 41.316109900, t=42.0 degC)  Rank: 00087
   TM values: Max =   203  Min =  -252  Ave =    -4.44  Std =    28.48
   Min TM value:-252 at an offset of 127.913 usec -> 2022-06-08T13:52:34.315.929.637 (XO: 41.315931812)
   Max TM value:203 at an offset of 132.475 usec -> 2022-06-08T13:52:34.315.934.200 (XO: 41.315936374)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 157.988 usec -> 2022-06-08T13:52:34.315.959.713 (XO: 41.315961887)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 132.600 usec -> 2022-06-08T13:52:34.315.934.325 (XO: 41.315936499)

 - Block number: 4 starting at 2022-06-08T13:52:52.237.622.725 (XO: 59.237625157 - 59.237931158, t=42.0 degC)  Rank: 00079
   TM values: Max =   219  Min =  -262  Ave =    -4.34  Std =    34.58
   Min TM value:-262 at an offset of 129.688 usec -> 2022-06-08T13:52:52.237.752.412 (XO: 59.237754845)
   Max TM value:219 at an offset of 129.938 usec -> 2022-06-08T13:52:52.237.752.662 (XO: 59.237755095)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 215.613 usec -> 2022-06-08T13:52:52.237.838.338 (XO: 59.237840770)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 129.600 usec -> 2022-06-08T13:52:52.237.752.325 (XO: 59.237754757)
