-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 11:18:47 2023 UTC
-- File 20230611_211000_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.793578 to 51.925276
-each separately from 0s to 51s and from 167326us to 925276us.
   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, ...
      23.735843 in 1 packets: 18
      13.637327 in 1 packets: 36
      13.757372 in 1 packets: 54
MIU packet time from 2023-06-11T21:10:03.793.578.000 to 2023-06-11T21:10:54.925.276.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, ...
      23.735843 in 1 packets: 18
      13.637327 in 1 packets: 36
      13.757372 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.7068972 to 52.7067199
   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, ...
      23.9999165 in 1 packets: 18
      13.9999514 in 1 packets: 36
      12.9999548 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 20230611_211000_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.5004768 to 2.5007658
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.7357590  -- OK for SL --
   MIU time from 2023-06-11T21:10:03.793.578.000 to 2023-06-11T21:10:03.793.867.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.735843

 - 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 26.2365248 to 26.2368138
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6372790  -- OK for SL --
   MIU time from 2023-06-11T21:10:27.529.710.000 to 2023-06-11T21:10:27.529.999.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.637327

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.8740928 to 39.8743818
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7573270  -- OK for SL --
   MIU time from 2023-06-11T21:10:41.167.326.000 to 2023-06-11T21:10:41.167.615.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.757372

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.6317088 to 53.6319978
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T21:10:54.924.987.000 to 2023-06-11T21:10:54.925.276.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.500476800 corrected by 40bit 10MHz counter of 1.706897200 obtained at 1Hz counter of 0. Result: 0.793582378
--
   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: 2023-06-11T21:10:03.793.437.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T21:10:54.925.135.725
   Min 1st sample XO time among all SL packets: 0.793442102
   Max 1st sample XO time among all SL packets: 51.925140863
   TM values from -309 to 217 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T21:10:03.793.437.725 (XO: 0.793442102 - 0.793748103, t=43.6 degC)  Rank: 00085
   TM values: Max =   217  Min =  -309  Ave =    -4.44  Std =    27.03
   Min TM value:-309 at an offset of 118.100 usec -> 2023-06-11T21:10:03.793.555.825 (XO: 0.793560202)
   Max TM value:217 at an offset of 116.100 usec -> 2023-06-11T21:10:03.793.553.825 (XO: 0.793558202)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 120.413 usec -> 2023-06-11T21:10:03.793.558.137 (XO: 0.793562515)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 105.913 usec -> 2023-06-11T21:10:03.793.543.637 (XO: 0.793548015)

 - Block number: 2 starting at 2023-06-11T21:10:27.529.569.725 (XO: 24.529572626 - 24.529878627, t=43.6 degC)  Rank: 00079
   TM values: Max =   175  Min =  -231  Ave =    -4.37  Std =    23.21
   Min TM value:-231 at an offset of 118.338 usec -> 2023-06-11T21:10:27.529.688.062 (XO: 24.529690963)
   Max TM value:175 at an offset of 123.113 usec -> 2023-06-11T21:10:27.529.692.837 (XO: 24.529695738)
   Max dTM/dt [1/us]:1.25e+03 at an offset of 120.900 usec -> 2023-06-11T21:10:27.529.690.625 (XO: 24.529693526)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 106.300 usec -> 2023-06-11T21:10:27.529.676.025 (XO: 24.529678926)

 - Block number: 3 starting at 2023-06-11T21:10:41.167.185.725 (XO: 38.167188010 - 38.167494011, t=43.6 degC)  Rank: 00082
   TM values: Max =   192  Min =  -275  Ave =    -4.49  Std =    23.28
   Min TM value:-275 at an offset of 107.225 usec -> 2023-06-11T21:10:41.167.292.950 (XO: 38.167295236)
   Max TM value:192 at an offset of 112.088 usec -> 2023-06-11T21:10:41.167.297.812 (XO: 38.167300098)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 92.975 usec -> 2023-06-11T21:10:41.167.278.700 (XO: 38.167280985)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 95.188 usec -> 2023-06-11T21:10:41.167.280.912 (XO: 38.167283198)

 - Block number: 4 starting at 2023-06-11T21:10:54.924.846.725 (XO: 51.924851862 - 51.925157863, t=43.6 degC)  Rank: 00078
   TM values: Max =   212  Min =  -279  Ave =    -4.34  Std =    26.99
   Min TM value:-279 at an offset of 118.563 usec -> 2023-06-11T21:10:54.924.965.287 (XO: 51.924970425)
   Max TM value:212 at an offset of 118.288 usec -> 2023-06-11T21:10:54.924.965.012 (XO: 51.924970150)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 120.875 usec -> 2023-06-11T21:10:54.924.967.600 (XO: 51.924972737)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 118.388 usec -> 2023-06-11T21:10:54.924.965.112 (XO: 51.924970250)
