-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jun  5 04:53:27 2023 UTC
-- File 20230604_160101_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.650333 to 54.141597
-each separately from 1s to 54s and from 141308us to 982563us.
   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, ...
      25.809597 in 1 packets: 18
      11.521766 in 1 packets: 36
      15.158745 in 1 packets: 54
MIU packet time from 2023-06-04T16:01:05.650.333.000 to 2023-06-04T16:01:58.141.597.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, ...
      25.809597 in 1 packets: 18
      11.521766 in 1 packets: 36
      15.158745 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.8815306 to 55.8813392
   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, ...
      25.9999061 in 1 packets: 18
      10.9999602 in 1 packets: 36
      15.9999423 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, ...
      02 -> 52.4 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20230604_160101_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5318645 to 3.5321535
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.8095030  -- OK for SL --
   MIU time from 2023-06-04T16:01:05.650.333.000 to 2023-06-04T16:01:05.650.622.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.809597

 - 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 29.3416565 to 29.3419455
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5217270  -- OK for SL --
   MIU time from 2023-06-04T16:01:31.460.219.000 to 2023-06-04T16:01:31.460.508.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.521766

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.8636725 to 40.8639615
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1586870  -- OK for SL --
   MIU time from 2023-06-04T16:01:42.982.274.000 to 2023-06-04T16:01:42.982.563.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.158745

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.0226485 to 56.0229375
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T16:01:58.141.308.000 to 2023-06-04T16:01:58.141.597.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.531864500 corrected by 40bit 10MHz counter of 2.881530600 obtained at 1Hz counter of 1. Result: 1.650336306
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2023-06-04T16:01:05.650.192.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T16:01:58.141.456.725
   Min 1st sample XO time among all SL packets: 1.650196031
   Max 1st sample XO time among all SL packets: 54.141458534
   TM values from -235 to 190 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T16:01:05.650.192.725 (XO: 1.650196031 - 1.650502032, t=40.4 degC)  Rank: 00082
   TM values: Max =   190  Min =  -235  Ave =    -4.40  Std =    21.20
   Min TM value:-235 at an offset of 120.950 usec -> 2023-06-04T16:01:05.650.313.675 (XO: 1.650316981)
   Max TM value:190 at an offset of 123.663 usec -> 2023-06-04T16:01:05.650.316.387 (XO: 1.650319694)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 121.050 usec -> 2023-06-04T16:01:05.650.313.775 (XO: 1.650317081)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 105.963 usec -> 2023-06-04T16:01:05.650.298.687 (XO: 1.650301994)

 - Block number: 2 starting at 2023-06-04T16:01:31.460.078.725 (XO: 27.460081181 - 27.460387182, t=40.4 degC)  Rank: 00075
   TM values: Max =   138  Min =  -147  Ave =    -4.42  Std =    73.66
   Min TM value:-147 at an offset of 155.451 usec -> 2023-06-04T16:01:31.460.234.175 (XO: 27.460236632)
   Max TM value:138 at an offset of 136.563 usec -> 2023-06-04T16:01:31.460.215.287 (XO: 27.460217744)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 305.989 usec -> 2023-06-04T16:01:31.460.384.713 (XO: 27.460387170)
   Min dTM/dt [1/us]:-1.17e+03 at an offset of 179.951 usec -> 2023-06-04T16:01:31.460.258.675 (XO: 27.460261132)

 - Block number: 3 starting at 2023-06-04T16:01:42.982.133.725 (XO: 38.982138861 - 38.982444862, t=40.4 degC)  Rank: 00074
   TM values: Max =   119  Min =  -131  Ave =    -4.51  Std =    59.89
   Min TM value:-131 at an offset of 162.876 usec -> 2023-06-04T16:01:42.982.296.600 (XO: 38.982301736)
   Max TM value:119 at an offset of 145.951 usec -> 2023-06-04T16:01:42.982.279.675 (XO: 38.982284811)
   Max dTM/dt [1/us]:1.01e+03 at an offset of 145.901 usec -> 2023-06-04T16:01:42.982.279.625 (XO: 38.982284761)
   Min dTM/dt [1/us]:-1.09e+03 at an offset of 305.989 usec -> 2023-06-04T16:01:42.982.439.713 (XO: 38.982444849)

 - Block number: 4 starting at 2023-06-04T16:01:58.141.167.725 (XO: 54.141169533 - 54.141475534, t=40.4 degC)  Rank: 00075
   TM values: Max =   138  Min =  -146  Ave =    -4.54  Std =    73.32
   Min TM value:-146 at an offset of 153.813 usec -> 2023-06-04T16:01:58.141.321.538 (XO: 54.141323346)
   Max TM value:138 at an offset of 155.351 usec -> 2023-06-04T16:01:58.141.323.075 (XO: 54.141324884)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 129.638 usec -> 2023-06-04T16:01:58.141.297.362 (XO: 54.141299171)
   Min dTM/dt [1/us]:-1.13e+03 at an offset of 160.376 usec -> 2023-06-04T16:01:58.141.328.100 (XO: 54.141329909)
