-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Sat Feb  3 05:35:21 2024 UTC
-- File 20231223_212144_1227.dat, 86  packets found.
APID:
      1227 (SL) in 86 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 86 packets (all packets)
Total number of packets: 
      18 in 86 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.692275 to 61.011108
-each separately from 13s to 61s and from 10887us to 692564us.
   Differences in neigboring packets: 
      0.000017 in 81 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.489547 in 1 packets: 18
      7.049447 in 1 packets: 36
      24.208881 in 1 packets: 54
      3.569581 in 1 packets: 72
MIU packet time from 2023-12-23T21:22:00.692.275.000 to 2023-12-23T21:22:48.011.108.000
   Differences in neigboring packets: 
      0.000017 in 81 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.489547 in 1 packets: 18
      7.049447 in 1 packets: 36
      24.208881 in 1 packets: 54
      3.569581 in 1 packets: 72
MIU orbit number: 
      60000 in 86 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 86 packets (all packets)
MIU orbit information / number of events: 
      0 in 86 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 86 packets (all packets)
Instrument anomalies: 
      0 (OK) in 86 packets (all packets)
FPGA configuration version: 
      211 in 86 packets (all packets)
10 MHz counter at the last 1Hz pulse from 14.5263333 to 62.5261692
   Differences in neigboring packets: 
      0.0000000 in 81 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.9999556 in 1 packets: 18
      6.9999760 in 1 packets: 36
      23.9999180 in 1 packets: 54
      3.9999863 in 1 packets: 72
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 32 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 degC in 86 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 86 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 86 packets (all packets)
Number of external events: 
      0 in 86 packets (all packets)
Number of generated alerts: 
      0 in 86 packets (all packets)
Survey memory error: 
      0 in 86 packets (all packets)
Event memory error: 
      0 in 86 packets (all packets)
Configuration error: 
      0 in 86 packets (all packets)
SDRAM CRC error: 
      0 in 86 packets (all packets)
Radio gain: 
      0 in 86 packets (all packets)
Radio bandwidth: 
      0 in 86 packets (all packets)
Digital gain: 
      0 in 86 packets (all packets)
Analog gain: 
      0 in 86 packets (all packets)
 
SURVEY DATA READER
-- File 20231223_212144_1227.dat, 4 SL data blocks found. Extra packets: 14.
   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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2186089 to 15.2188979
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4895030  -- OK for SL --
   MIU time from 2023-12-23T21:22:00.692.275.000 to 2023-12-23T21:22:00.692.564.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.489547

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.7084009 to 27.7086899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.0494230  -- OK for SL --
   MIU time from 2023-12-23T21:22:13.182.111.000 to 2023-12-23T21:22:13.182.400.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.049447

 - 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 34.7581129 to 34.7584019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.2087990  -- OK for SL --
   MIU time from 2023-12-23T21:22:20.231.847.000 to 2023-12-23T21:22:20.232.136.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.208881

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.9672009 to 58.9674899
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-12-23T21:22:44.441.017.000 to 2023-12-23T21:22:44.441.306.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 74 XO calibration points at 1Hz counter from 0 to 73
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 15.218608900 corrected by 40bit 10MHz counter of 14.526333300 obtained at 1Hz counter of 13. Result: 13.692277954
--
   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-12-23T21:22:00.692.134.725
   Max 1st sample MIU time among all SL packets: 2023-12-23T21:22:44.441.165.725
   Min 1st sample XO time among all SL packets: 13.692137678
   Max 1st sample XO time among all SL packets: 57.441168225
   TM values from -812 to 801 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-12-23T21:22:00.692.134.725 (XO: 13.692137678 - 13.692443679, t=35.6 degC)  Rank: 00053
   TM values: Max =   163  Min =  -173  Ave =    -4.49  Std =    14.77
   Min TM value:-173 at an offset of 117.525 usec -> 2023-12-23T21:22:00.692.252.250 (XO: 13.692255204)
   Max TM value:163 at an offset of 117.163 usec -> 2023-12-23T21:22:00.692.251.887 (XO: 13.692254841)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 119.888 usec -> 2023-12-23T21:22:00.692.254.612 (XO: 13.692257566)
   Min dTM/dt [1/us]:-1.35e+03 at an offset of 117.263 usec -> 2023-12-23T21:22:00.692.251.987 (XO: 13.692254941)

 - Block number: 2 starting at 2023-12-23T21:22:13.181.970.725 (XO: 26.181972362 - 26.182278363, t=35.6 degC)  Rank: 00055
   TM values: Max =   801  Min =  -812  Ave =    -4.49  Std =    29.51
   Min TM value:-812 at an offset of 98.000 usec -> 2023-12-23T21:22:13.182.068.725 (XO: 26.182070362)
   Max TM value:801 at an offset of 98.063 usec -> 2023-12-23T21:22:13.182.068.787 (XO: 26.182070425)
   Max dTM/dt [1/us]:1.26e+04 at an offset of 98.038 usec -> 2023-12-23T21:22:13.182.068.762 (XO: 26.182070400)
   Min dTM/dt [1/us]:-8.74e+03 at an offset of 98.238 usec -> 2023-12-23T21:22:13.182.068.962 (XO: 26.182070600)

 - Block number: 3 starting at 2023-12-23T21:22:20.231.706.725 (XO: 33.231708513 - 33.232014514, t=35.6 degC)  Rank: 00052
   TM values: Max =   140  Min =  -177  Ave =    -4.46  Std =    14.06
   Min TM value:-177 at an offset of 129.700 usec -> 2023-12-23T21:22:20.231.836.425 (XO: 33.231838213)
   Max TM value:140 at an offset of 129.325 usec -> 2023-12-23T21:22:20.231.836.050 (XO: 33.231837838)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 132.075 usec -> 2023-12-23T21:22:20.231.838.800 (XO: 33.231840588)
   Min dTM/dt [1/us]:-1.34e+03 at an offset of 129.425 usec -> 2023-12-23T21:22:20.231.836.150 (XO: 33.231837938)

 - Block number: 4 starting at 2023-12-23T21:22:44.440.876.725 (XO: 57.440879224 - 57.441185225, t=35.6 degC)  Rank: 00054
   TM values: Max =   134  Min =  -158  Ave =    -4.52  Std =    15.10
   Min TM value:-158 at an offset of 114.225 usec -> 2023-12-23T21:22:44.440.990.950 (XO: 57.440993449)
   Max TM value:134 at an offset of 113.838 usec -> 2023-12-23T21:22:44.440.990.562 (XO: 57.440993062)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 116.588 usec -> 2023-12-23T21:22:44.440.993.312 (XO: 57.440995812)
   Min dTM/dt [1/us]:-1.26e+03 at an offset of 113.975 usec -> 2023-12-23T21:22:44.440.990.700 (XO: 57.440993199)
