-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:37:50 2023 UTC
-- File 20220114_232301_1227.dat, 119  packets found.
APID:
      1227 (SL) in 119 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 119 packets (all packets)
Total number of packets: 
      18 in 119 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 14.752416 to 90.847975
-each separately from 14s to 90s and from 87689us to 847975us.
   Differences in neigboring packets: 
      0.000017 in 112 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.370306 in 1 packets: 18
      7.460280 in 1 packets: 36
      25.201624 in 1 packets: 54
      11.400617 in 1 packets: 72
      20.901001 in 1 packets: 90
      1.759827 in 1 packets: 108
MIU packet time from 2022-01-14T23:23:18.752.416.000 to 2022-01-14T23:24:34.847.975.000
   Differences in neigboring packets: 
      0.000017 in 112 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.370306 in 1 packets: 18
      7.460280 in 1 packets: 36
      25.201624 in 1 packets: 54
      11.400617 in 1 packets: 72
      20.901001 in 1 packets: 90
      1.759827 in 1 packets: 108
MIU orbit number: 
      60000 in 119 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 119 packets (all packets)
MIU orbit information / number of events: 
      0 in 119 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 119 packets (all packets)
Instrument anomalies: 
      0 (OK) in 119 packets (all packets)
FPGA configuration version: 
      211 in 119 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.5528826 to 91.5526136
   Differences in neigboring packets: 
      0.0000000 in 112 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.9999645 in 1 packets: 18
      6.9999753 in 1 packets: 36
      24.9999115 in 1 packets: 54
      11.9999576 in 1 packets: 72
      20.9999257 in 1 packets: 90
      0.9999964 in 1 packets: 108
Temperature FPGA: 
      04 -> 49.8 degC in 101 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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 119 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 119 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 119 packets (all packets)
Number of external events: 
      0 in 119 packets (all packets)
Number of generated alerts: 
      0 in 119 packets (all packets)
Survey memory error: 
      0 in 119 packets (all packets)
Event memory error: 
      0 in 119 packets (all packets)
Configuration error: 
      0 in 119 packets (all packets)
SDRAM CRC error: 
      0 in 119 packets (all packets)
Radio gain: 
      0 in 119 packets (all packets)
Radio bandwidth: 
      0 in 119 packets (all packets)
Digital gain: 
      0 in 119 packets (all packets)
Analog gain: 
      0 in 119 packets (all packets)
 
SURVEY DATA READER
-- File 20220114_232301_1227.dat, 6 SL data blocks found. Extra packets: 11.
   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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.3052993 to 16.3055883
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3702710  -- OK for SL --
   MIU time from 2022-01-14T23:23:18.752.416.000 to 2022-01-14T23:23:18.752.705.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.370306

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.6758593 to 25.6761483
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.4602550  -- OK for SL --
   MIU time from 2022-01-14T23:23:28.123.011.000 to 2022-01-14T23:23:28.123.300.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.460280

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.1364033 to 33.1366923
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.2015350  -- OK for SL --
   MIU time from 2022-01-14T23:23:35.583.580.000 to 2022-01-14T23:23:35.583.869.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.201624

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.3382273 to 58.3385163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4005750  -- OK for SL --
   MIU time from 2022-01-14T23:24:00.785.493.000 to 2022-01-14T23:24:00.785.782.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.400617

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 69.7390913 to 69.7393803
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9009270  -- OK for SL --
   MIU time from 2022-01-14T23:24:12.186.399.000 to 2022-01-14T23:24:12.186.688.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.901001

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 90.6403073 to 90.6405963
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-14T23:24:33.087.689.000 to 2022-01-14T23:24:33.087.978.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 108 points based on 104 XO calibration points at 1Hz counter from 0 to 103
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 16.305299300 corrected by 40bit 10MHz counter of 15.552882600 obtained at 1Hz counter of 14. Result: 14.752419409
--
   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-14T23:23:18.752.275.725
   Max 1st sample MIU time among all SL packets: 2022-01-14T23:24:33.087.837.725
   Min 1st sample XO time among all SL packets: 14.752279133
   Max 1st sample XO time among all SL packets: 89.087839141
   TM values from -200 to 183 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-14T23:23:18.752.275.725 (XO: 14.752279133 - 14.752585134, t=37.2 degC)  Rank: 00059
   TM values: Max =   144  Min =  -145  Ave =    -4.54  Std =    19.63
   Min TM value:-145 at an offset of 120.925 usec -> 2022-01-14T23:23:18.752.396.650 (XO: 14.752400059)
   Max TM value:144 at an offset of 178.076 usec -> 2022-01-14T23:23:18.752.453.800 (XO: 14.752457209)
   Max dTM/dt [1/us]:1.13e+03 at an offset of 126.538 usec -> 2022-01-14T23:23:18.752.402.262 (XO: 14.752405671)
   Min dTM/dt [1/us]:-1.34e+03 at an offset of 108.275 usec -> 2022-01-14T23:23:18.752.384.000 (XO: 14.752387409)

 - Block number: 2 starting at 2022-01-14T23:23:28.122.870.725 (XO: 24.122872355 - 24.123178356, t=37.2 degC)  Rank: 00056
   TM values: Max =   146  Min =  -169  Ave =    -4.73  Std =    24.46
   Min TM value:-169 at an offset of 120.363 usec -> 2022-01-14T23:23:28.122.991.087 (XO: 24.122992718)
   Max TM value:146 at an offset of 239.776 usec -> 2022-01-14T23:23:28.123.110.500 (XO: 24.123112131)
   Max dTM/dt [1/us]:1.33e+03 at an offset of 198.501 usec -> 2022-01-14T23:23:28.123.069.225 (XO: 24.123070856)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 226.351 usec -> 2022-01-14T23:23:28.123.097.075 (XO: 24.123098706)

 - Block number: 3 starting at 2022-01-14T23:23:35.583.439.725 (XO: 31.583442725 - 31.583748726, t=37.2 degC)  Rank: 00057
   TM values: Max =   158  Min =  -200  Ave =    -4.55  Std =    24.84
   Min TM value:-200 at an offset of 98.125 usec -> 2022-01-14T23:23:35.583.537.850 (XO: 31.583540851)
   Max TM value:158 at an offset of 95.700 usec -> 2022-01-14T23:23:35.583.535.425 (XO: 31.583538426)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 98.263 usec -> 2022-01-14T23:23:35.583.537.987 (XO: 31.583540988)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 98.050 usec -> 2022-01-14T23:23:35.583.537.775 (XO: 31.583540776)

 - Block number: 4 starting at 2022-01-14T23:24:00.785.352.725 (XO: 56.785355874 - 56.785661875, t=37.2 degC)  Rank: 00060
   TM values: Max =   183  Min =  -188  Ave =    -4.63  Std =    21.97
   Min TM value:-188 at an offset of 124.075 usec -> 2022-01-14T23:24:00.785.476.800 (XO: 56.785479949)
   Max TM value:183 at an offset of 121.600 usec -> 2022-01-14T23:24:00.785.474.325 (XO: 56.785477474)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 121.525 usec -> 2022-01-14T23:24:00.785.474.250 (XO: 56.785477399)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 121.713 usec -> 2022-01-14T23:24:00.785.474.437 (XO: 56.785477587)

 - Block number: 5 starting at 2022-01-14T23:24:12.186.258.725 (XO: 68.186260196 - 68.186566197, t=37.2 degC)  Rank: 00058
   TM values: Max =   147  Min =  -191  Ave =    -4.59  Std =    21.46
   Min TM value:-191 at an offset of 107.463 usec -> 2022-01-14T23:24:12.186.366.187 (XO: 68.186367658)
   Max TM value:147 at an offset of 136.388 usec -> 2022-01-14T23:24:12.186.395.112 (XO: 68.186396584)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 66.950 usec -> 2022-01-14T23:24:12.186.325.675 (XO: 68.186327146)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 64.450 usec -> 2022-01-14T23:24:12.186.323.175 (XO: 68.186324646)

 - Block number: 6 starting at 2022-01-14T23:24:33.087.548.725 (XO: 89.087550140 - 89.087856141, t=37.2 degC)  Rank: 00063
   TM values: Max =   162  Min =  -199  Ave =    -4.56  Std =    23.70
   Min TM value:-199 at an offset of 182.138 usec -> 2022-01-14T23:24:33.087.730.863 (XO: 89.087732278)
   Max TM value:162 at an offset of 120.375 usec -> 2022-01-14T23:24:33.087.669.100 (XO: 89.087670516)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 122.950 usec -> 2022-01-14T23:24:33.087.671.675 (XO: 89.087673091)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 122.725 usec -> 2022-01-14T23:24:33.087.671.450 (XO: 89.087672866)
