-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jul  7 23:45:31 2023 UTC
-- File 20230628_224128_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 6.771618 to 57.347629
-each separately from 6s to 57s and from 303108us to 914686us.
   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, ...
      13.531201 in 1 packets: 18
      11.611000 in 1 packets: 36
      25.432654 in 1 packets: 54
MIU packet time from 2023-06-28T22:41:37.771.618.000 to 2023-06-28T22:42:28.347.629.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, ...
      13.531201 in 1 packets: 18
      11.611000 in 1 packets: 36
      25.432654 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 7.8816360 to 58.8814498
   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, ...
      13.9999489 in 1 packets: 18
      10.9999598 in 1 packets: 36
      25.9999051 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20230628_224128_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.6532542 to 8.6535432
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5311510  -- OK for SL --
   MIU time from 2023-06-28T22:41:37.771.618.000 to 2023-06-28T22:41:37.771.907.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.531201

 - 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 22.1846942 to 22.1849832
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.6109590  -- OK for SL --
   MIU time from 2023-06-28T22:41:51.303.108.000 to 2023-06-28T22:41:51.303.397.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.611000

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.7959422 to 33.7962312
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.4325590  -- OK for SL --
   MIU time from 2023-06-28T22:42:02.914.397.000 to 2023-06-28T22:42:02.914.686.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.432654

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.2287902 to 59.2290792
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T22:42:28.347.340.000 to 2023-06-28T22:42:28.347.629.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 = 6, 32bit 10MHz counter = 8.653254200 corrected by 40bit 10MHz counter of 7.881636000 obtained at 1Hz counter of 6. Result: 6.771621055
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2023-06-28T22:41:37.771.477.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T22:42:28.347.488.725
   Min 1st sample XO time among all SL packets: 6.771480779
   Max 1st sample XO time among all SL packets: 57.347490411
   TM values from -271 to 255 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T22:41:37.771.477.725 (XO: 6.771480779 - 6.771786781, t=37.2 degC)  Rank: 00081
   TM values: Max =   218  Min =  -256  Ave =    -4.58  Std =    24.37
   Min TM value:-256 at an offset of 125.025 usec -> 2023-06-28T22:41:37.771.602.750 (XO: 6.771605805)
   Max TM value:218 at an offset of 127.738 usec -> 2023-06-28T22:41:37.771.605.462 (XO: 6.771608517)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 127.613 usec -> 2023-06-28T22:41:37.771.605.337 (XO: 6.771608392)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 112.000 usec -> 2023-06-28T22:41:37.771.589.725 (XO: 6.771592780)

 - Block number: 2 starting at 2023-06-28T22:41:51.302.967.725 (XO: 20.302970146 - 20.303276147, t=37.2 degC)  Rank: 00080
   TM values: Max =   255  Min =  -271  Ave =    -4.64  Std =    20.71
   Min TM value:-271 at an offset of 128.913 usec -> 2023-06-28T22:41:51.303.096.637 (XO: 20.303099059)
   Max TM value:255 at an offset of 128.650 usec -> 2023-06-28T22:41:51.303.096.375 (XO: 20.303098796)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 126.400 usec -> 2023-06-28T22:41:51.303.094.125 (XO: 20.303096546)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 128.763 usec -> 2023-06-28T22:41:51.303.096.487 (XO: 20.303098909)

 - Block number: 3 starting at 2023-06-28T22:42:02.914.256.725 (XO: 31.914260608 - 31.914566609, t=37.2 degC)  Rank: 00081
   TM values: Max =   194  Min =  -256  Ave =    -4.46  Std =    19.82
   Min TM value:-256 at an offset of 125.363 usec -> 2023-06-28T22:42:02.914.382.087 (XO: 31.914385971)
   Max TM value:194 at an offset of 125.113 usec -> 2023-06-28T22:42:02.914.381.837 (XO: 31.914385721)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 127.988 usec -> 2023-06-28T22:42:02.914.384.712 (XO: 31.914388596)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 112.963 usec -> 2023-06-28T22:42:02.914.369.687 (XO: 31.914373571)

 - Block number: 4 starting at 2023-06-28T22:42:28.347.199.725 (XO: 57.347201410 - 57.347507411, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -236  Ave =    -4.56  Std =    20.33
   Min TM value:-236 at an offset of 118.188 usec -> 2023-06-28T22:42:28.347.317.912 (XO: 57.347319598)
   Max TM value:197 at an offset of 118.463 usec -> 2023-06-28T22:42:28.347.318.187 (XO: 57.347319873)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 118.325 usec -> 2023-06-28T22:42:28.347.318.050 (XO: 57.347319735)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 104.338 usec -> 2023-06-28T22:42:28.347.304.062 (XO: 57.347305748)
