-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 02:38:03 2023 UTC
-- File 20220522_030620_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.796721 to 59.274018
-each separately from 14s to 59s and from 14655us to 797010us.
   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, ...
      11.458938 in 1 packets: 18
      18.758418 in 1 packets: 36
      14.258785 in 1 packets: 54
MIU packet time from 2022-05-22T03:06:37.796.721.000 to 2022-05-22T03:07:22.274.018.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, ...
      11.458938 in 1 packets: 18
      18.758418 in 1 packets: 36
      14.258785 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.8072471 to 60.8070871
   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, ...
      11.9999572 in 1 packets: 18
      18.9999325 in 1 packets: 36
      13.9999503 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220522_030620_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.6039691 to 16.6042581
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4588950  -- OK for SL --
   MIU time from 2022-05-22T03:06:37.796.721.000 to 2022-05-22T03:06:37.797.010.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.458938

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.0631531 to 28.0634421
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7583510  -- OK for SL --
   MIU time from 2022-05-22T03:06:49.255.948.000 to 2022-05-22T03:06:49.256.237.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.758418

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.8217931 to 46.8220821
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2587350  -- OK for SL --
   MIU time from 2022-05-22T03:07:08.014.655.000 to 2022-05-22T03:07:08.014.944.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.258785

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.0808171 to 61.0811061
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T03:07:22.273.729.000 to 2022-05-22T03:07:22.274.018.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.603969100 corrected by 40bit 10MHz counter of 15.807247100 obtained at 1Hz counter of 14. Result: 14.796724868
--
   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-22T03:06:37.796.580.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T03:07:22.273.877.725
   Min 1st sample XO time among all SL packets: 14.796584593
   Max 1st sample XO time among all SL packets: 59.273879711
   TM values from -275 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T03:06:37.796.580.725 (XO: 14.796584593 - 14.796890594, t=40.4 degC)  Rank: 00074
   TM values: Max =   215  Min =  -255  Ave =    -4.46  Std =    19.94
   Min TM value:-255 at an offset of 110.225 usec -> 2022-05-22T03:06:37.796.690.950 (XO: 14.796694818)
   Max TM value:215 at an offset of 110.463 usec -> 2022-05-22T03:06:37.796.691.187 (XO: 14.796695056)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 110.388 usec -> 2022-05-22T03:06:37.796.691.112 (XO: 14.796694981)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 110.138 usec -> 2022-05-22T03:06:37.796.690.862 (XO: 14.796694731)

 - Block number: 2 starting at 2022-05-22T03:06:49.255.807.725 (XO: 26.255809420 - 26.256115421, t=40.4 degC)  Rank: 00075
   TM values: Max =   157  Min =  -254  Ave =    -4.43  Std =    22.86
   Min TM value:-254 at an offset of 106.913 usec -> 2022-05-22T03:06:49.255.914.637 (XO: 26.255916333)
   Max TM value:157 at an offset of 104.950 usec -> 2022-05-22T03:06:49.255.912.675 (XO: 26.255914371)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 109.175 usec -> 2022-05-22T03:06:49.255.916.900 (XO: 26.255918596)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 108.988 usec -> 2022-05-22T03:06:49.255.916.712 (XO: 26.255918408)

 - Block number: 3 starting at 2022-05-22T03:07:08.014.514.725 (XO: 45.014516077 - 45.014822078, t=40.4 degC)  Rank: 00075
   TM values: Max =   237  Min =  -275  Ave =    -4.41  Std =    25.97
   Min TM value:-275 at an offset of 122.200 usec -> 2022-05-22T03:07:08.014.636.925 (XO: 45.014638278)
   Max TM value:237 at an offset of 122.450 usec -> 2022-05-22T03:07:08.014.637.175 (XO: 45.014638528)
   Max dTM/dt [1/us]:2.62e+03 at an offset of 122.325 usec -> 2022-05-22T03:07:08.014.637.050 (XO: 45.014638403)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 119.950 usec -> 2022-05-22T03:07:08.014.634.675 (XO: 45.014636028)

 - Block number: 4 starting at 2022-05-22T03:07:22.273.588.725 (XO: 59.273590710 - 59.273896711, t=40.4 degC)  Rank: 00082
   TM values: Max =   167  Min =  -246  Ave =    -4.42  Std =    26.28
   Min TM value:-246 at an offset of 107.638 usec -> 2022-05-22T03:07:22.273.696.362 (XO: 59.273698348)
   Max TM value:167 at an offset of 107.913 usec -> 2022-05-22T03:07:22.273.696.637 (XO: 59.273698623)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 107.775 usec -> 2022-05-22T03:07:22.273.696.500 (XO: 59.273698485)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 134.338 usec -> 2022-05-22T03:07:22.273.723.062 (XO: 59.273725048)
