-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 12:36:26 2023 UTC
-- File 20230611_232406_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 7.195933 to 53.399502
-each separately from 7s to 53s and from 195933us to 602469us.
   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, ...
      20.086773 in 1 packets: 18
      5.318896 in 1 packets: 36
      20.796744 in 1 packets: 54
MIU packet time from 2023-06-11T23:24:16.195.933.000 to 2023-06-11T23:25:02.399.502.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, ...
      20.086773 in 1 packets: 18
      5.318896 in 1 packets: 36
      20.796744 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 8.6800854 to 54.6799255
   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, ...
      19.9999305 in 1 packets: 18
      4.9999826 in 1 packets: 36
      20.9999270 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, ...
      00 -> 55.0 degC in 18 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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_232406_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 8.8760201 to 8.8763091
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0867030  -- OK for SL --
   MIU time from 2023-06-11T23:24:16.195.933.000 to 2023-06-11T23:24:16.196.222.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.086773

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.9630121 to 28.9633011
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.3188790  -- OK for SL --
   MIU time from 2023-06-11T23:24:36.282.995.000 to 2023-06-11T23:24:36.283.284.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.318896

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.2821801 to 34.2824691
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7966710  -- OK for SL --
   MIU time from 2023-06-11T23:24:41.602.180.000 to 2023-06-11T23:24:41.602.469.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.796744

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.0791401 to 55.0794291
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T23:25:02.399.213.000 to 2023-06-11T23:25:02.399.502.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 = 7, 32bit 10MHz counter = 8.876020100 corrected by 40bit 10MHz counter of 8.680085400 obtained at 1Hz counter of 7. Result: 7.195935386
--
   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-11T23:24:16.195.792.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T23:25:02.399.361.725
   Min 1st sample XO time among all SL packets: 7.195795110
   Max 1st sample XO time among all SL packets: 53.399364723
   TM values from -271 to 197 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T23:24:16.195.792.725 (XO: 7.195795110 - 7.196101111, t=42.0 degC)  Rank: 00083
   TM values: Max =   197  Min =  -271  Ave =    -4.44  Std =    24.30
   Min TM value:-271 at an offset of 129.850 usec -> 2023-06-11T23:24:16.195.922.575 (XO: 7.195924961)
   Max TM value:197 at an offset of 129.575 usec -> 2023-06-11T23:24:16.195.922.300 (XO: 7.195924686)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 132.225 usec -> 2023-06-11T23:24:16.195.924.950 (XO: 7.195927336)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 129.700 usec -> 2023-06-11T23:24:16.195.922.425 (XO: 7.195924811)

 - Block number: 2 starting at 2023-06-11T23:24:36.282.854.725 (XO: 27.282856915 - 27.283162916, t=42.0 degC)  Rank: 00074
   TM values: Max =   185  Min =  -232  Ave =    -4.46  Std =    31.67
   Min TM value:-232 at an offset of 59.388 usec -> 2023-06-11T23:24:36.282.914.112 (XO: 27.282916303)
   Max TM value:185 at an offset of 132.200 usec -> 2023-06-11T23:24:36.282.986.925 (XO: 27.282989115)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 87.300 usec -> 2023-06-11T23:24:36.282.942.025 (XO: 27.282944215)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 59.200 usec -> 2023-06-11T23:24:36.282.913.925 (XO: 27.282916115)

 - Block number: 3 starting at 2023-06-11T23:24:41.602.039.725 (XO: 32.602043372 - 32.602349373, t=42.0 degC)  Rank: 00077
   TM values: Max =   197  Min =  -238  Ave =    -4.38  Std =    27.40
   Min TM value:-238 at an offset of 114.813 usec -> 2023-06-11T23:24:41.602.154.537 (XO: 32.602158185)
   Max TM value:197 at an offset of 119.838 usec -> 2023-06-11T23:24:41.602.159.562 (XO: 32.602163210)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 72.663 usec -> 2023-06-11T23:24:41.602.112.387 (XO: 32.602116035)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 120.013 usec -> 2023-06-11T23:24:41.602.159.737 (XO: 32.602163385)

 - Block number: 4 starting at 2023-06-11T23:25:02.399.072.725 (XO: 53.399075722 - 53.399381723, t=42.0 degC)  Rank: 00076
   TM values: Max =   190  Min =  -258  Ave =    -4.53  Std =    25.37
   Min TM value:-258 at an offset of 129.338 usec -> 2023-06-11T23:25:02.399.202.062 (XO: 53.399205060)
   Max TM value:190 at an offset of 116.650 usec -> 2023-06-11T23:25:02.399.189.375 (XO: 53.399192372)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 131.763 usec -> 2023-06-11T23:25:02.399.204.487 (XO: 53.399207485)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 116.763 usec -> 2023-06-11T23:25:02.399.189.487 (XO: 53.399192485)
