-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 10:20:05 2023 UTC
-- File 20220615_123544_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.635400 to 54.234889
-each separately from 1s to 54s and from 154825us to 635689us.
   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, ...
      16.819351 in 1 packets: 18
      16.699496 in 1 packets: 36
      19.079486 in 1 packets: 54
MIU packet time from 2022-06-15T12:35:48.635.400.000 to 2022-06-15T12:36:41.234.889.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, ...
      16.819351 in 1 packets: 18
      16.699496 in 1 packets: 36
      19.079486 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.7397633 to 55.7395877
   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, ...
      16.9999437 in 1 packets: 18
      16.9999436 in 1 packets: 36
      18.9999371 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      00 -> 55.0 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220615_123544_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.3751651 to 3.3754541
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8192950  -- OK for SL --
   MIU time from 2022-06-15T12:35:48.635.400.000 to 2022-06-15T12:35:48.635.689.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.819351

 - 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 20.1947491 to 20.1950381
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6994390  -- OK for SL --
   MIU time from 2022-06-15T12:36:05.455.040.000 to 2022-06-15T12:36:05.455.329.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.699496

 - 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 36.8944771 to 36.8947661
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0794230  -- OK for SL --
   MIU time from 2022-06-15T12:36:22.154.825.000 to 2022-06-15T12:36:22.155.114.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.079486

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.9741891 to 55.9744781
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-15T12:36:41.234.600.000 to 2022-06-15T12:36:41.234.889.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.375165100 corrected by 40bit 10MHz counter of 2.739763300 obtained at 1Hz counter of 1. Result: 1.635403897
--
   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: 2022-06-15T12:35:48.635.259.725
   Max 1st sample MIU time among all SL packets: 2022-06-15T12:36:41.234.748.725
   Min 1st sample XO time among all SL packets: 1.635263621
   Max 1st sample XO time among all SL packets: 54.234750900
   TM values from -281 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-15T12:35:48.635.259.725 (XO: 1.635263621 - 1.635569622, t=43.6 degC)  Rank: 00083
   TM values: Max =   223  Min =  -262  Ave =    -4.59  Std =    24.51
   Min TM value:-262 at an offset of 149.775 usec -> 2022-06-15T12:35:48.635.409.500 (XO: 1.635413397)
   Max TM value:223 at an offset of 152.151 usec -> 2022-06-15T12:35:48.635.411.875 (XO: 1.635415772)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 152.001 usec -> 2022-06-15T12:35:48.635.411.725 (XO: 1.635415622)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 126.263 usec -> 2022-06-15T12:35:48.635.385.987 (XO: 1.635389884)

 - Block number: 2 starting at 2022-06-15T12:36:05.454.899.725 (XO: 18.454903372 - 18.455209373, t=43.6 degC)  Rank: 00079
   TM values: Max =   218  Min =  -281  Ave =    -4.51  Std =    30.60
   Min TM value:-281 at an offset of 207.463 usec -> 2022-06-15T12:36:05.455.107.188 (XO: 18.455110835)
   Max TM value:218 at an offset of 140.638 usec -> 2022-06-15T12:36:05.455.040.362 (XO: 18.455044010)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 168.226 usec -> 2022-06-15T12:36:05.455.067.950 (XO: 18.455071597)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 207.351 usec -> 2022-06-15T12:36:05.455.107.075 (XO: 18.455110722)

 - Block number: 3 starting at 2022-06-15T12:36:22.154.684.725 (XO: 35.154686735 - 35.154992736, t=43.6 degC)  Rank: 00079
   TM values: Max =   224  Min =  -274  Ave =    -4.35  Std =    32.10
   Min TM value:-274 at an offset of 208.538 usec -> 2022-06-15T12:36:22.154.893.263 (XO: 35.154895274)
   Max TM value:224 at an offset of 210.851 usec -> 2022-06-15T12:36:22.154.895.575 (XO: 35.154897586)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 139.988 usec -> 2022-06-15T12:36:22.154.824.712 (XO: 35.154826723)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 154.351 usec -> 2022-06-15T12:36:22.154.839.075 (XO: 35.154841086)

 - Block number: 4 starting at 2022-06-15T12:36:41.234.459.725 (XO: 54.234461899 - 54.234767900, t=43.6 degC)  Rank: 00081
   TM values: Max =   231  Min =  -253  Ave =    -4.43  Std =    29.51
   Min TM value:-253 at an offset of 108.650 usec -> 2022-06-15T12:36:41.234.568.375 (XO: 54.234570549)
   Max TM value:231 at an offset of 150.950 usec -> 2022-06-15T12:36:41.234.610.675 (XO: 54.234612849)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 150.838 usec -> 2022-06-15T12:36:41.234.610.562 (XO: 54.234612737)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 108.475 usec -> 2022-06-15T12:36:41.234.568.200 (XO: 54.234570374)
