-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 12:35:33 2023 UTC
-- File 20220129_204530_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 11.968276 to 76.454684
-each separately from 11s to 76s and from 283065us to 968565us.
   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, ...
      18.475603 in 1 packets: 18
      4.838608 in 1 packets: 36
      24.284197 in 1 packets: 54
      14.066785 in 1 packets: 72
      2.819481 in 1 packets: 90
MIU packet time from 2022-01-29T20:45:44.968.276.000 to 2022-01-29T20:46:49.454.684.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, ...
      18.475603 in 1 packets: 18
      4.838608 in 1 packets: 36
      24.284197 in 1 packets: 54
      14.066785 in 1 packets: 72
      2.819481 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 11.6104843 to 76.6102532
   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, ...
      18.9999324 in 1 packets: 18
      4.9999822 in 1 packets: 36
      23.9999148 in 1 packets: 54
      13.9999501 in 1 packets: 72
      2.9999894 in 1 packets: 90
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 90 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 108 packets (all packets)
Number of generated alerts: 
      0 in 108 packets (all packets)
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 20220129_204530_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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.5787612 to 12.5790502
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4755350  -- OK for SL --
   MIU time from 2022-01-29T20:45:44.968.276.000 to 2022-01-29T20:45:44.968.565.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.475603

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.0545852 to 31.0548742
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.8385910  -- OK for SL --
   MIU time from 2022-01-29T20:46:03.444.168.000 to 2022-01-29T20:46:03.444.457.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.838608

 - 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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.8934652 to 35.8937542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.2841110  -- OK for SL --
   MIU time from 2022-01-29T20:46:08.283.065.000 to 2022-01-29T20:46:08.283.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.284197

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1778652 to 60.1781542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0667350  -- OK for SL --
   MIU time from 2022-01-29T20:46:32.567.551.000 to 2022-01-29T20:46:32.567.840.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.066785

 - 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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 74.2448892 to 74.2451782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.8194710  -- OK for SL --
   MIU time from 2022-01-29T20:46:46.634.625.000 to 2022-01-29T20:46:46.634.914.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.819481

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 77.0646492 to 77.0649382
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-29T20:46:49.454.395.000 to 2022-01-29T20:46:49.454.684.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 90 XO calibration points at 1Hz counter from 0 to 89
   --- First point: 1Hz counter = 11, 32bit 10MHz counter = 12.578761200 corrected by 40bit 10MHz counter of 11.610484300 obtained at 1Hz counter of 11. Result: 11.968280289
--
   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-01-29T20:45:44.968.135.725
   Max 1st sample MIU time among all SL packets: 2022-01-29T20:46:49.454.543.725
   Min 1st sample XO time among all SL packets: 11.968140013
   Max 1st sample XO time among all SL packets: 76.454546361
   TM values from -211 to 169 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-29T20:45:44.968.135.725 (XO: 11.968140013 - 11.968446015, t=37.2 degC)  Rank: 00050
   TM values: Max =   169  Min =  -187  Ave =    -4.48  Std =    23.11
   Min TM value:-187 at an offset of 163.376 usec -> 2022-01-29T20:45:44.968.299.100 (XO: 11.968303389)
   Max TM value:169 at an offset of 122.238 usec -> 2022-01-29T20:45:44.968.257.962 (XO: 11.968262251)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 165.738 usec -> 2022-01-29T20:45:44.968.301.463 (XO: 11.968305752)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 163.326 usec -> 2022-01-29T20:45:44.968.299.050 (XO: 11.968303339)

 - Block number: 2 starting at 2022-01-29T20:46:03.444.027.725 (XO: 30.444029824 - 30.444335825, t=37.2 degC)  Rank: 00054
   TM values: Max =   136  Min =  -174  Ave =    -4.47  Std =    21.26
   Min TM value:-174 at an offset of 107.188 usec -> 2022-01-29T20:46:03.444.134.912 (XO: 30.444137011)
   Max TM value:136 at an offset of 105.263 usec -> 2022-01-29T20:46:03.444.132.987 (XO: 30.444135086)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 67.238 usec -> 2022-01-29T20:46:03.444.094.962 (XO: 30.444097061)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 64.713 usec -> 2022-01-29T20:46:03.444.092.437 (XO: 30.444094536)

 - Block number: 3 starting at 2022-01-29T20:46:08.282.924.725 (XO: 35.282927015 - 35.283233016, t=37.2 degC)  Rank: 00052
   TM values: Max =   167  Min =  -170  Ave =    -4.53  Std =    21.50
   Min TM value:-170 at an offset of 196.201 usec -> 2022-01-29T20:46:08.283.120.925 (XO: 35.283123216)
   Max TM value:167 at an offset of 108.250 usec -> 2022-01-29T20:46:08.283.032.975 (XO: 35.283035266)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 198.588 usec -> 2022-01-29T20:46:08.283.123.313 (XO: 35.283125603)
   Min dTM/dt [1/us]:-1.39e+03 at an offset of 108.400 usec -> 2022-01-29T20:46:08.283.033.125 (XO: 35.283035416)

 - Block number: 4 starting at 2022-01-29T20:46:32.567.410.725 (XO: 59.567413268 - 59.567719269, t=37.2 degC)  Rank: 00057
   TM values: Max =   164  Min =  -184  Ave =    -4.56  Std =    22.37
   Min TM value:-184 at an offset of 121.450 usec -> 2022-01-29T20:46:32.567.532.175 (XO: 59.567534718)
   Max TM value:164 at an offset of 194.501 usec -> 2022-01-29T20:46:32.567.605.225 (XO: 59.567607768)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 192.513 usec -> 2022-01-29T20:46:32.567.603.238 (XO: 59.567605781)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 121.300 usec -> 2022-01-29T20:46:32.567.532.025 (XO: 59.567534568)

 - Block number: 5 starting at 2022-01-29T20:46:46.634.484.725 (XO: 73.634487346 - 73.634793347, t=37.2 degC)  Rank: 00052
   TM values: Max =   142  Min =  -164  Ave =    -4.46  Std =    20.36
   Min TM value:-164 at an offset of 106.263 usec -> 2022-01-29T20:46:46.634.590.987 (XO: 73.634593609)
   Max TM value:142 at an offset of 105.913 usec -> 2022-01-29T20:46:46.634.590.637 (XO: 73.634593259)
   Max dTM/dt [1/us]:1.34e+03 at an offset of 108.463 usec -> 2022-01-29T20:46:46.634.593.187 (XO: 73.634595809)
   Min dTM/dt [1/us]:-1.28e+03 at an offset of 108.275 usec -> 2022-01-29T20:46:46.634.593.000 (XO: 73.634595621)

 - Block number: 6 starting at 2022-01-29T20:46:49.454.254.725 (XO: 76.454257360 - 76.454563361, t=37.2 degC)  Rank: 00053
   TM values: Max =   152  Min =  -211  Ave =    -4.54  Std =    23.80
   Min TM value:-211 at an offset of 77.163 usec -> 2022-01-29T20:46:49.454.331.887 (XO: 76.454334523)
   Max TM value:152 at an offset of 48.400 usec -> 2022-01-29T20:46:49.454.303.125 (XO: 76.454305761)
   Max dTM/dt [1/us]:1.31e+03 at an offset of 120.825 usec -> 2022-01-29T20:46:49.454.375.550 (XO: 76.454378186)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 106.388 usec -> 2022-01-29T20:46:49.454.361.112 (XO: 76.454363748)
