-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  8 22:44:11 2023 UTC
-- File 20220528_004922_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 14.853213 to 49.526091
-each separately from 14s to 49s and from 191217us to 853502us.
   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, ...
      9.337715 in 1 packets: 18
      16.196312 in 1 packets: 36
      9.137695 in 1 packets: 54
MIU packet time from 2022-05-28T00:49:39.853.213.000 to 2022-05-28T00:50:14.526.091.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, ...
      9.337715 in 1 packets: 18
      16.196312 in 1 packets: 36
      9.137695 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 15.7582673 to 50.7581426
   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, ...
      9.9999643 in 1 packets: 18
      15.9999430 in 1 packets: 36
      8.9999680 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220528_004922_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 16.6114821 to 16.6117711
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3376790  -- OK for SL --
   MIU time from 2022-05-28T00:49:39.853.213.000 to 2022-05-28T00:49:39.853.502.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.337715

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.9494501 to 25.9497391
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1962550  -- OK for SL --
   MIU time from 2022-05-28T00:49:49.191.217.000 to 2022-05-28T00:49:49.191.506.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.196312

 - 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 42.1459941 to 42.1462831
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1376630  -- OK for SL --
   MIU time from 2022-05-28T00:50:05.387.818.000 to 2022-05-28T00:50:05.388.107.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.137695

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.2839461 to 51.2842351
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T00:50:14.525.802.000 to 2022-05-28T00:50:14.526.091.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 = 14, 32bit 10MHz counter = 16.611482100 corrected by 40bit 10MHz counter of 15.758267300 obtained at 1Hz counter of 14. Result: 14.853217872
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-28T00:49:39.853.072.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T00:50:14.525.950.725
   Min 1st sample XO time among all SL packets: 14.853077596
   Max 1st sample XO time among all SL packets: 49.525954066
   TM values from -261 to 248 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T00:49:39.853.072.725 (XO: 14.853077596 - 14.853383597, t=42.0 degC)  Rank: 00078
   TM values: Max =   228  Min =  -259  Ave =    -4.44  Std =    30.84
   Min TM value:-259 at an offset of 95.875 usec -> 2022-05-28T00:49:39.853.168.600 (XO: 14.853173471)
   Max TM value:228 at an offset of 96.138 usec -> 2022-05-28T00:49:39.853.168.862 (XO: 14.853173734)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 96.063 usec -> 2022-05-28T00:49:39.853.168.787 (XO: 14.853173659)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 93.638 usec -> 2022-05-28T00:49:39.853.166.362 (XO: 14.853171234)

 - Block number: 2 starting at 2022-05-28T00:49:49.191.076.725 (XO: 24.191078913 - 24.191384914, t=42.0 degC)  Rank: 00079
   TM values: Max =   248  Min =  -261  Ave =    -4.46  Std =    23.79
   Min TM value:-261 at an offset of 104.938 usec -> 2022-05-28T00:49:49.191.181.662 (XO: 24.191183851)
   Max TM value:248 at an offset of 104.675 usec -> 2022-05-28T00:49:49.191.181.400 (XO: 24.191183588)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 107.163 usec -> 2022-05-28T00:49:49.191.183.887 (XO: 24.191186076)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 104.750 usec -> 2022-05-28T00:49:49.191.181.475 (XO: 24.191183663)

 - Block number: 3 starting at 2022-05-28T00:50:05.387.677.725 (XO: 40.387680582 - 40.387986583, t=42.0 degC)  Rank: 00083
   TM values: Max =   202  Min =  -238  Ave =    -4.47  Std =    24.08
   Min TM value:-238 at an offset of 145.863 usec -> 2022-05-28T00:50:05.387.823.588 (XO: 40.387826445)
   Max TM value:202 at an offset of 119.675 usec -> 2022-05-28T00:50:05.387.797.400 (XO: 40.387800257)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 145.938 usec -> 2022-05-28T00:50:05.387.823.663 (XO: 40.387826520)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 119.825 usec -> 2022-05-28T00:50:05.387.797.550 (XO: 40.387800407)

 - Block number: 4 starting at 2022-05-28T00:50:14.525.661.725 (XO: 49.525665065 - 49.525971066, t=42.0 degC)  Rank: 00077
   TM values: Max =   214  Min =  -250  Ave =    -4.54  Std =    26.11
   Min TM value:-250 at an offset of 108.463 usec -> 2022-05-28T00:50:14.525.770.187 (XO: 49.525773528)
   Max TM value:214 at an offset of 150.388 usec -> 2022-05-28T00:50:14.525.812.113 (XO: 49.525815453)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 150.276 usec -> 2022-05-28T00:50:14.525.812.000 (XO: 49.525815340)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 108.375 usec -> 2022-05-28T00:50:14.525.770.100 (XO: 49.525773440)
