-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon May 22 00:15:59 2023 UTC
-- File 20230521_183155_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 1.047457 to 87.421423
-each separately from 1s to 87s and from 19109us to 421423us.
   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, ...
      16.020682 in 1 packets: 18
      14.038754 in 1 packets: 36
      18.911349 in 1 packets: 54
      15.360295 in 1 packets: 72
      22.041152 in 1 packets: 90
MIU packet time from 2023-05-21T18:31:59.047.457.000 to 2023-05-21T18:33:25.421.423.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, ...
      16.020682 in 1 packets: 18
      14.038754 in 1 packets: 36
      18.911349 in 1 packets: 54
      15.360295 in 1 packets: 72
      22.041152 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 2.7381022 to 88.7377849
   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, ...
      15.9999410 in 1 packets: 18
      13.9999484 in 1 packets: 36
      18.9999299 in 1 packets: 54
      14.9999447 in 1 packets: 72
      21.9999187 in 1 packets: 90
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 72 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      2 in 54 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      3 in 1 packets: 37
      4 in 5 packets: 38, 39, 40, 41, 42
      5 in 6 packets: 43, 44, 45, 46, 47, 48
      6 in 6 packets: 49, 50, 51, 52, 53, 54
      10 in 54 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, ...
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 20230521_183155_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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.7855599 to 2.7858489
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0206230  -- OK for SL --
   MIU time from 2023-05-21T18:31:59.047.457.000 to 2023-05-21T18:31:59.047.746.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.020682

 - 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:
      34 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.8064719 to 18.8067609
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0387030  -- OK for SL --
   MIU time from 2023-05-21T18:32:15.068.428.000 to 2023-05-21T18:32:15.068.717.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.038754

 - 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:
      345 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8454639 to 32.8457529
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9112790  -- OK for SL --
   MIU time from 2023-05-21T18:32:29.107.471.000 to 2023-05-21T18:32:29.107.760.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.911349

 - 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:
      36 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.7570319 to 51.7573209
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3602390  -- OK for SL --
   MIU time from 2023-05-21T18:32:48.019.109.000 to 2023-05-21T18:32:48.019.398.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.360295

 - 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:
      47 in 18 packets (all packets)  -- OK --
   10 MHz counter from 67.1175599 to 67.1178489
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.0410710  -- OK for SL --
   MIU time from 2023-05-21T18:33:03.379.693.000 to 2023-05-21T18:33:03.379.982.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.041152

 - 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:
      45 in 18 packets (all packets)  -- OK --
   10 MHz counter from 89.1589199 to 89.1592089
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-21T18:33:25.421.134.000 to 2023-05-21T18:33:25.421.423.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 = 1, 32bit 10MHz counter = 2.785559900 corrected by 40bit 10MHz counter of 2.738102200 obtained at 1Hz counter of 1. Result: 1.047457876
--
   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-05-21T18:31:59.047.316.725
   Max 1st sample MIU time among all SL packets: 2023-05-21T18:33:25.421.282.725
   Min 1st sample XO time among all SL packets: 1.047317600
   Max 1st sample XO time among all SL packets: 87.421285284
   TM values from -2048 to 1370 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-21T18:31:59.047.316.725 (XO: 1.047317600 - 1.047623601, t=37.2 degC)  Rank: 00064
   TM values: Max =  1298  Min =  -718  Ave =    -4.42  Std =    70.97
   Min TM value:-718 at an offset of 90.900 usec -> 2023-05-21T18:31:59.047.407.625 (XO: 1.047408500)
   Max TM value:1298 at an offset of 90.638 usec -> 2023-05-21T18:31:59.047.407.362 (XO: 1.047408238)
   Max dTM/dt [1/us]:1.09e+04 at an offset of 90.588 usec -> 2023-05-21T18:31:59.047.407.312 (XO: 1.047408188)
   Min dTM/dt [1/us]:-1.32e+04 at an offset of 90.688 usec -> 2023-05-21T18:31:59.047.407.412 (XO: 1.047408288)

 - Block number: 2 starting at 2023-05-21T18:32:15.068.287.725 (XO: 17.068288678 - 17.068594679, t=37.2 degC)  Rank: 00034
   TM values: Max =   233  Min =  -222  Ave =    -4.37  Std =    43.44
   Min TM value:-222 at an offset of 122.825 usec -> 2023-05-21T18:32:15.068.410.550 (XO: 17.068411503)
   Max TM value:233 at an offset of 107.438 usec -> 2023-05-21T18:32:15.068.395.162 (XO: 17.068396116)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 120.188 usec -> 2023-05-21T18:32:15.068.407.912 (XO: 17.068408866)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 122.700 usec -> 2023-05-21T18:32:15.068.410.425 (XO: 17.068411378)

 - Block number: 3 starting at 2023-05-21T18:32:29.107.330.725 (XO: 31.107332422 - 31.107638423, t=37.2 degC)  Rank: 00345
   TM values: Max =  1370  Min = -2048  Ave =    -4.12  Std =   208.20
   Min TM value:-2048 at an offset of 100.000 usec -> 2023-05-21T18:32:29.107.430.725 (XO: 31.107432422)
   Max TM value:1370 at an offset of 286.676 usec -> 2023-05-21T18:32:29.107.617.401 (XO: 31.107619098)
   Max dTM/dt [1/us]:1.58e+04 at an offset of 100.163 usec -> 2023-05-21T18:32:29.107.430.887 (XO: 31.107432585)
   Min dTM/dt [1/us]:-1.21e+04 at an offset of 48.950 usec -> 2023-05-21T18:32:29.107.379.675 (XO: 31.107381372)

 - Block number: 4 starting at 2023-05-21T18:32:48.018.968.725 (XO: 50.018970195 - 50.019276196, t=37.2 degC)  Rank: 00036
   TM values: Max =   181  Min =  -204  Ave =    -4.41  Std =    41.04
   Min TM value:-204 at an offset of 98.050 usec -> 2023-05-21T18:32:48.019.066.775 (XO: 50.019068246)
   Max TM value:181 at an offset of 85.525 usec -> 2023-05-21T18:32:48.019.054.250 (XO: 50.019055721)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 100.213 usec -> 2023-05-21T18:32:48.019.068.937 (XO: 50.019070408)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 97.613 usec -> 2023-05-21T18:32:48.019.066.337 (XO: 50.019067808)

 - Block number: 5 starting at 2023-05-21T18:33:03.379.552.725 (XO: 65.379554829 - 65.379860830, t=37.2 degC)  Rank: 00047
   TM values: Max =   220  Min =  -205  Ave =    -4.53  Std =    58.39
   Min TM value:-205 at an offset of 113.288 usec -> 2023-05-21T18:33:03.379.666.012 (XO: 65.379668117)
   Max TM value:220 at an offset of 112.725 usec -> 2023-05-21T18:33:03.379.665.450 (XO: 65.379667555)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 112.588 usec -> 2023-05-21T18:33:03.379.665.312 (XO: 65.379667417)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 112.750 usec -> 2023-05-21T18:33:03.379.665.475 (XO: 65.379667580)

 - Block number: 6 starting at 2023-05-21T18:33:25.420.993.725 (XO: 87.420996283 - 87.421302284, t=37.2 degC)  Rank: 00045
   TM values: Max =   156  Min =  -169  Ave =    -4.43  Std =    55.19
   Min TM value:-169 at an offset of 120.138 usec -> 2023-05-21T18:33:25.421.113.862 (XO: 87.421116421)
   Max TM value:156 at an offset of 194.426 usec -> 2023-05-21T18:33:25.421.188.150 (XO: 87.421190708)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 144.701 usec -> 2023-05-21T18:33:25.421.138.425 (XO: 87.421140983)
   Min dTM/dt [1/us]:-1.22e+03 at an offset of 155.088 usec -> 2023-05-21T18:33:25.421.148.813 (XO: 87.421151371)
