-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 10:17:45 2023 UTC
-- File 20230611_164555_1227.dat, 108  packets found.
APID:
      1227 (SL) in 108 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 108 packets (all packets)
Total number of packets: 
      18 in 108 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 4.368874 to 79.127504
-each separately from 4s to 79s and from 127215us to 967714us.
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.349140 in 1 packets: 18
      14.839251 in 1 packets: 36
      10.369618 in 1 packets: 54
      17.039386 in 1 packets: 72
      12.159501 in 1 packets: 90
MIU packet time from 2023-06-11T16:46:02.368.874.000 to 2023-06-11T16:47:17.127.504.000
   Differences in neigboring packets: 
      0.000017 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.349140 in 1 packets: 18
      14.839251 in 1 packets: 36
      10.369618 in 1 packets: 54
      17.039386 in 1 packets: 72
      12.159501 in 1 packets: 90
MIU orbit number: 
      60000 in 108 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 108 packets (all packets)
MIU orbit information / number of events: 
      0 in 108 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 108 packets (all packets)
Instrument anomalies: 
      0 (OK) in 108 packets (all packets)
FPGA configuration version: 
      211 in 108 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.7048721 to 80.7046105
   Differences in neigboring packets: 
      0.0000000 in 102 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999302 in 1 packets: 18
      14.9999478 in 1 packets: 36
      9.9999650 in 1 packets: 54
      16.9999408 in 1 packets: 72
      12.9999546 in 1 packets: 90
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      FF -> 56.3 degC in 18 packets: 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90
Temperature XO: 
      C4 -> 42.0 degC in 108 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 108 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 108 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
      3 in 1 packets: 19
      4 in 89 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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
      3 in 1 packets: 19
      4 in 89 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 108 packets (all packets)
Event memory error: 
      0 in 108 packets (all packets)
Configuration error: 
      0 in 108 packets (all packets)
SDRAM CRC error: 
      0 in 108 packets (all packets)
Radio gain: 
      0 in 108 packets (all packets)
Radio bandwidth: 
      0 in 108 packets (all packets)
Digital gain: 
      0 in 108 packets (all packets)
Analog gain: 
      0 in 108 packets (all packets)
 
SURVEY DATA READER
-- File 20230611_164555_1227.dat, 6 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0737470 to 6.0740360
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3490710  -- OK for SL --
   MIU time from 2023-06-11T16:46:02.368.874.000 to 2023-06-11T16:46:02.369.163.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.349140

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.4231070 to 26.4233960
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8391990  -- OK for SL --
   MIU time from 2023-06-11T16:46:22.718.303.000 to 2023-06-11T16:46:22.718.592.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.839251

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.2625950 to 41.2628840
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3695830  -- OK for SL --
   MIU time from 2023-06-11T16:46:37.557.843.000 to 2023-06-11T16:46:37.558.132.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.369618

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.6324670 to 51.6327560
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0393270  -- OK for SL --
   MIU time from 2023-06-11T16:46:47.927.750.000 to 2023-06-11T16:46:47.928.039.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.039386

 - Block number: 5 from the sequence of 18 packets.
   Block numbers in the data:
      5 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 68.6720830 to 68.6723720
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.1594550  -- OK for SL --
   MIU time from 2023-06-11T16:47:04.967.425.000 to 2023-06-11T16:47:04.967.714.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.159501

 - Block number: 6 from the sequence of 18 packets.
   Block numbers in the data:
      6 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 80.8318270 to 80.8321160
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T16:47:17.127.215.000 to 2023-06-11T16:47:17.127.504.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 89 XO calibration points at 1Hz counter from 0 to 88
   --- First point: 1Hz counter = 4, 32bit 10MHz counter = 6.073747000 corrected by 40bit 10MHz counter of 5.704872100 obtained at 1Hz counter of 4. Result: 4.368876191
--
   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-11T16:46:02.368.733.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T16:47:17.127.363.725
   Min 1st sample XO time among all SL packets: 4.368735916
   Max 1st sample XO time among all SL packets: 79.127365671
   TM values from -310 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T16:46:02.368.733.725 (XO: 4.368735916 - 4.369041917, t=42.0 degC)  Rank: 00086
   TM values: Max =   228  Min =  -288  Ave =    -4.44  Std =    21.38
   Min TM value:-288 at an offset of 125.563 usec -> 2023-06-11T16:46:02.368.859.287 (XO: 4.368861479)
   Max TM value:228 at an offset of 125.313 usec -> 2023-06-11T16:46:02.368.859.037 (XO: 4.368861229)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 127.875 usec -> 2023-06-11T16:46:02.368.861.600 (XO: 4.368863791)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 125.425 usec -> 2023-06-11T16:46:02.368.859.150 (XO: 4.368861341)

 - Block number: 2 starting at 2023-06-11T16:46:22.718.162.725 (XO: 24.718166939 - 24.718472940, t=42.0 degC)  Rank: 00081
   TM values: Max =   223  Min =  -269  Ave =    -4.49  Std =    23.35
   Min TM value:-269 at an offset of 116.888 usec -> 2023-06-11T16:46:22.718.279.612 (XO: 24.718283826)
   Max TM value:223 at an offset of 117.138 usec -> 2023-06-11T16:46:22.718.279.862 (XO: 24.718284076)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 117.000 usec -> 2023-06-11T16:46:22.718.279.725 (XO: 24.718283939)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 172.501 usec -> 2023-06-11T16:46:22.718.335.225 (XO: 24.718339439)

 - Block number: 3 starting at 2023-06-11T16:46:37.557.702.725 (XO: 39.557706577 - 39.558012578, t=42.0 degC)  Rank: 00080
   TM values: Max =   193  Min =  -256  Ave =    -4.47  Std =    20.36
   Min TM value:-256 at an offset of 126.588 usec -> 2023-06-11T16:46:37.557.829.312 (XO: 39.557833165)
   Max TM value:193 at an offset of 126.850 usec -> 2023-06-11T16:46:37.557.829.575 (XO: 39.557833427)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 126.675 usec -> 2023-06-11T16:46:37.557.829.400 (XO: 39.557833252)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 124.213 usec -> 2023-06-11T16:46:37.557.826.937 (XO: 39.557830790)

 - Block number: 4 starting at 2023-06-11T16:46:47.927.609.725 (XO: 49.927614779 - 49.927920780, t=42.0 degC)  Rank: 00078
   TM values: Max =   216  Min =  -310  Ave =    -4.50  Std =    22.10
   Min TM value:-310 at an offset of 99.075 usec -> 2023-06-11T16:46:47.927.708.800 (XO: 49.927713854)
   Max TM value:216 at an offset of 103.888 usec -> 2023-06-11T16:46:47.927.713.612 (XO: 49.927718667)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 96.938 usec -> 2023-06-11T16:46:47.927.706.662 (XO: 49.927711717)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 86.963 usec -> 2023-06-11T16:46:47.927.696.687 (XO: 49.927701742)

 - Block number: 5 starting at 2023-06-11T16:47:04.967.284.725 (XO: 66.967290211 - 66.967596212, t=42.0 degC)  Rank: 00076
   TM values: Max =   244  Min =  -274  Ave =    -4.45  Std =    27.47
   Min TM value:-274 at an offset of 155.576 usec -> 2023-06-11T16:47:04.967.440.300 (XO: 66.967445786)
   Max TM value:244 at an offset of 128.100 usec -> 2023-06-11T16:47:04.967.412.825 (XO: 66.967418311)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 130.675 usec -> 2023-06-11T16:47:04.967.415.400 (XO: 66.967420886)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 128.188 usec -> 2023-06-11T16:47:04.967.412.912 (XO: 66.967418398)

 - Block number: 6 starting at 2023-06-11T16:47:17.127.074.725 (XO: 79.127076670 - 79.127382671, t=42.0 degC)  Rank: 00076
   TM values: Max =   229  Min =  -283  Ave =    -4.52  Std =    26.06
   Min TM value:-283 at an offset of 124.125 usec -> 2023-06-11T16:47:17.127.198.850 (XO: 79.127200795)
   Max TM value:229 at an offset of 128.975 usec -> 2023-06-11T16:47:17.127.203.700 (XO: 79.127205645)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 126.575 usec -> 2023-06-11T16:47:17.127.201.300 (XO: 79.127203245)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 111.563 usec -> 2023-06-11T16:47:17.127.186.287 (XO: 79.127188233)
