-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 05:19:27 2023 UTC
-- File 20220522_144019_1227.dat, 171  packets found.
APID:
      1227 (SL) in 171 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 171 packets (all packets)
Total number of packets: 
      18 in 171 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
!!!ERROR: Last packet number must be = 18
Hz and MHz counters from 13.756408 to 140.878661
-each separately from 13s to 140s and from 97134us to 878661us.
   Differences in neigboring packets: 
      0.000017 in 161 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.849781 in 1 packets: 18
      19.010034 in 1 packets: 36
      16.480044 in 1 packets: 54
      15.350165 in 1 packets: 72
      7.169640 in 1 packets: 90
      23.020113 in 1 packets: 108
      13.850065 in 1 packets: 126
      15.689960 in 1 packets: 144
      10.699714 in 1 packets: 162
MIU packet time from 2022-05-22T14:40:35.756.408.000 to 2022-05-22T14:42:42.878.661.000
   Differences in neigboring packets: 
      0.000017 in 161 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.849781 in 1 packets: 18
      19.010034 in 1 packets: 36
      16.480044 in 1 packets: 54
      15.350165 in 1 packets: 72
      7.169640 in 1 packets: 90
      23.020113 in 1 packets: 108
      13.850065 in 1 packets: 126
      15.689960 in 1 packets: 144
      10.699714 in 1 packets: 162
MIU orbit number: 
      60000 in 171 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 171 packets (all packets)
MIU orbit information / number of events: 
      0 in 171 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 171 packets (all packets)
Instrument anomalies: 
      0 (OK) in 171 packets (all packets)
FPGA configuration version: 
      211 in 171 packets (all packets)
10 MHz counter at the last 1Hz pulse from 14.4762544 to 141.4758013
   Differences in neigboring packets: 
      0.0000000 in 161 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.9999786 in 1 packets: 18
      18.9999323 in 1 packets: 36
      16.9999393 in 1 packets: 54
      14.9999465 in 1 packets: 72
      6.9999750 in 1 packets: 90
      22.9999180 in 1 packets: 108
      13.9999500 in 1 packets: 126
      15.9999428 in 1 packets: 144
      9.9999644 in 1 packets: 162
Temperature FPGA: 
      00 -> 55.0 degC in 135 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, ...
Temperature XO: 
      C4 -> 42.0 degC in 171 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 171 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 171 packets (all packets)
Number of external events: 
      0 in 171 packets (all packets)
Number of generated alerts: 
      0 in 171 packets (all packets)
Survey memory error: 
      0 in 171 packets (all packets)
Event memory error: 
      0 in 171 packets (all packets)
Configuration error: 
      0 in 171 packets (all packets)
SDRAM CRC error: 
      0 in 171 packets (all packets)
Radio gain: 
      0 in 171 packets (all packets)
Radio bandwidth: 
      0 in 171 packets (all packets)
Digital gain: 
      0 in 171 packets (all packets)
Analog gain: 
      0 in 171 packets (all packets)
 
SURVEY DATA READER
-- File 20220522_144019_1227.dat, 9 SL data blocks found. Extra packets: 9.
   ERROR -  Extra packets
--
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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2326641 to 15.2329531
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8497590  -- OK for SL --
   MIU time from 2022-05-22T14:40:35.756.408.000 to 2022-05-22T14:40:35.756.697.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.849781

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.0827121 to 21.0830011
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0099670  -- OK for SL --
   MIU time from 2022-05-22T14:40:41.606.478.000 to 2022-05-22T14:40:41.606.767.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.010034

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.0929681 to 40.0932571
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4799830  -- OK for SL --
   MIU time from 2022-05-22T14:41:00.616.801.000 to 2022-05-22T14:41:00.617.090.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.480044

 - 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.5732401 to 56.5735291
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.3501110  -- OK for SL --
   MIU time from 2022-05-22T14:41:17.097.134.000 to 2022-05-22T14:41:17.097.423.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.350165

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 71.9236401 to 71.9239291
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.1696150  -- OK for SL --
   MIU time from 2022-05-22T14:41:32.447.588.000 to 2022-05-22T14:41:32.447.877.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.169640

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 79.0935441 to 79.0938331
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0200310  -- OK for SL --
   MIU time from 2022-05-22T14:41:39.617.517.000 to 2022-05-22T14:41:39.617.806.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.020113

 - Block number: 7 from the sequence of 18 packets.
   Block numbers in the data:
      7 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 102.1138641 to 102.1141531
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8500150  -- OK for SL --
   MIU time from 2022-05-22T14:42:02.637.919.000 to 2022-05-22T14:42:02.638.208.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.850065

 - Block number: 8 from the sequence of 18 packets.
   Block numbers in the data:
      8 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 115.9641681 to 115.9644571
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6899030  -- OK for SL --
   MIU time from 2022-05-22T14:42:16.488.273.000 to 2022-05-22T14:42:16.488.562.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.689960

 - Block number: 9 from the sequence of 18 packets.
   Block numbers in the data:
      9 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 131.6543601 to 131.6546491
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T14:42:32.178.522.000 to 2022-05-22T14:42:32.178.811.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 162 points based on 149 XO calibration points at 1Hz counter from 0 to 148
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 15.232664100 corrected by 40bit 10MHz counter of 14.476254400 obtained at 1Hz counter of 13. Result: 13.756412347
--
   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-22T14:40:35.756.267.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T14:42:32.178.670.725
   Min 1st sample XO time among all SL packets: 13.756272072
   Max 1st sample XO time among all SL packets: 130.178672550
   TM values from -272 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T14:40:35.756.267.725 (XO: 13.756272072 - 13.756578073, t=42.0 degC)  Rank: 00072
   TM values: Max =   180  Min =  -219  Ave =    -4.47  Std =    24.63
   Min TM value:-219 at an offset of 140.738 usec -> 2022-05-22T14:40:35.756.408.462 (XO: 13.756412810)
   Max TM value:180 at an offset of 114.275 usec -> 2022-05-22T14:40:35.756.382.000 (XO: 13.756386347)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 140.850 usec -> 2022-05-22T14:40:35.756.408.575 (XO: 13.756412922)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 140.663 usec -> 2022-05-22T14:40:35.756.408.387 (XO: 13.756412735)

 - Block number: 2 starting at 2022-05-22T14:40:41.606.337.725 (XO: 19.606341008 - 19.606647009, t=42.0 degC)  Rank: 00069
   TM values: Max =   208  Min =  -208  Ave =    -4.43  Std =    20.52
   Min TM value:-208 at an offset of 124.125 usec -> 2022-05-22T14:40:41.606.461.850 (XO: 19.606465133)
   Max TM value:208 at an offset of 126.488 usec -> 2022-05-22T14:40:41.606.464.212 (XO: 19.606467496)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 126.388 usec -> 2022-05-22T14:40:41.606.464.112 (XO: 19.606467396)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 126.150 usec -> 2022-05-22T14:40:41.606.463.875 (XO: 19.606467158)

 - Block number: 3 starting at 2022-05-22T14:41:00.616.660.725 (XO: 38.616664745 - 38.616970746, t=42.0 degC)  Rank: 00072
   TM values: Max =   201  Min =  -223  Ave =    -4.53  Std =    23.57
   Min TM value:-223 at an offset of 126.300 usec -> 2022-05-22T14:41:00.616.787.025 (XO: 38.616791045)
   Max TM value:201 at an offset of 126.550 usec -> 2022-05-22T14:41:00.616.787.275 (XO: 38.616791295)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 126.475 usec -> 2022-05-22T14:41:00.616.787.200 (XO: 38.616791220)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 126.213 usec -> 2022-05-22T14:41:00.616.786.937 (XO: 38.616790958)

 - Block number: 4 starting at 2022-05-22T14:41:17.096.993.725 (XO: 55.096995564 - 55.097301566, t=42.0 degC)  Rank: 00075
   TM values: Max =   224  Min =  -272  Ave =    -4.42  Std =    31.43
   Min TM value:-272 at an offset of 123.375 usec -> 2022-05-22T14:41:17.097.117.100 (XO: 55.097118940)
   Max TM value:224 at an offset of 42.413 usec -> 2022-05-22T14:41:17.097.036.137 (XO: 55.097037977)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 211.451 usec -> 2022-05-22T14:41:17.097.205.175 (XO: 55.097207015)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 39.838 usec -> 2022-05-22T14:41:17.097.033.562 (XO: 55.097035402)

 - Block number: 5 starting at 2022-05-22T14:41:32.447.447.725 (XO: 70.447450291 - 70.447756292, t=42.0 degC)  Rank: 00073
   TM values: Max =   212  Min =  -223  Ave =    -4.47  Std =    21.74
   Min TM value:-223 at an offset of 110.375 usec -> 2022-05-22T14:41:32.447.558.100 (XO: 70.447560666)
   Max TM value:212 at an offset of 112.738 usec -> 2022-05-22T14:41:32.447.560.462 (XO: 70.447563029)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 142.750 usec -> 2022-05-22T14:41:32.447.590.475 (XO: 70.447593042)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 112.400 usec -> 2022-05-22T14:41:32.447.560.125 (XO: 70.447562691)

 - Block number: 6 starting at 2022-05-22T14:41:39.617.376.725 (XO: 77.617379886 - 77.617685887, t=42.0 degC)  Rank: 00071
   TM values: Max =   216  Min =  -272  Ave =    -4.44  Std =    31.09
   Min TM value:-272 at an offset of 226.763 usec -> 2022-05-22T14:41:39.617.603.488 (XO: 77.617606649)
   Max TM value:216 at an offset of 124.038 usec -> 2022-05-22T14:41:39.617.500.762 (XO: 77.617503924)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 126.550 usec -> 2022-05-22T14:41:39.617.503.275 (XO: 77.617506436)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 226.688 usec -> 2022-05-22T14:41:39.617.603.413 (XO: 77.617606574)

 - Block number: 7 starting at 2022-05-22T14:42:02.637.778.725 (XO: 100.637781957 - 100.638087958, t=42.0 degC)  Rank: 00079
   TM values: Max =   202  Min =  -212  Ave =    -4.48  Std =    25.88
   Min TM value:-212 at an offset of 212.263 usec -> 2022-05-22T14:42:02.637.990.988 (XO: 100.637994220)
   Max TM value:202 at an offset of 127.375 usec -> 2022-05-22T14:42:02.637.906.100 (XO: 100.637909333)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 212.376 usec -> 2022-05-22T14:42:02.637.991.100 (XO: 100.637994333)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 127.538 usec -> 2022-05-22T14:42:02.637.906.262 (XO: 100.637909495)

 - Block number: 8 starting at 2022-05-22T14:42:16.488.132.725 (XO: 114.488135482 - 114.488441483, t=42.0 degC)  Rank: 00072
   TM values: Max =   209  Min =  -239  Ave =    -4.45  Std =    23.31
   Min TM value:-239 at an offset of 167.101 usec -> 2022-05-22T14:42:16.488.299.825 (XO: 114.488302583)
   Max TM value:209 at an offset of 126.763 usec -> 2022-05-22T14:42:16.488.259.487 (XO: 114.488262245)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 126.650 usec -> 2022-05-22T14:42:16.488.259.375 (XO: 114.488262133)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 166.988 usec -> 2022-05-22T14:42:16.488.299.713 (XO: 114.488302470)

 - Block number: 9 starting at 2022-05-22T14:42:32.178.381.725 (XO: 130.178383549 - 130.178689550, t=42.0 degC)  Rank: 00070
   TM values: Max =   195  Min =  -232  Ave =    -4.47  Std =    19.54
   Min TM value:-232 at an offset of 122.638 usec -> 2022-05-22T14:42:32.178.504.362 (XO: 130.178506187)
   Max TM value:195 at an offset of 125.000 usec -> 2022-05-22T14:42:32.178.506.725 (XO: 130.178508550)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 124.850 usec -> 2022-05-22T14:42:32.178.506.575 (XO: 130.178508400)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 124.638 usec -> 2022-05-22T14:42:32.178.506.362 (XO: 130.178508187)
