-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 18:34:53 2023 UTC
-- File 20220525_061618_1226.dat, 18  packets found.
APID:
      1226 (SR) in 18 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 18 packets (all packets)
Total number of packets: 
      18 in 18 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.002092 to 14.467177
-each separately from 0s to 14s and from 2092us to 965345us.
   Differences in neigboring packets: 
      1.121987 in 1 packets: 1
      0.833941 in 3 packets: 2, 8, 14
      0.833945 in 3 packets: 3, 7, 12
      0.833944 in 10 packets: 4, 5, 6, 9, 10, 11, 13, 15, 16, 17
MIU packet time from 2022-05-25T06:16:21.002.092.000 to 2022-05-25T06:16:35.467.177.000
   Differences in neigboring packets: 
      1.121987 in 1 packets: 1
      0.833941 in 3 packets: 2, 8, 14
      0.833945 in 3 packets: 3, 7, 12
      0.833944 in 10 packets: 4, 5, 6, 9, 10, 11, 13, 15, 16, 17
MIU orbit number: 
      60000 in 18 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 18 packets (all packets)
MIU orbit information / number of events: 
      0 in 18 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 18 packets (all packets)
Instrument anomalies: 
      0 (OK) in 18 packets (all packets)
FPGA configuration version: 
      211 in 18 packets (all packets)
10 MHz counter at the last 1Hz pulse from 0.0000000 to 13.7118946
   Differences in neigboring packets: 
      0.7119522 in 1 packets: 1
      0.0000000 in 3 packets: 2, 8, 14
      0.9999956 in 7 packets: 3, 4, 5, 7, 9, 12, 17
      0.9999955 in 5 packets: 6, 10, 11, 13, 16
      0.9999957 in 1 packets: 15
   XO PPM: 
      -288047.8 in 1 packets: 1
      -4.4 in 12 packets: 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 16, 17
      -4.3 in 1 packets: 15
Temperature FPGA: 
      00 -> 55.0 degC in 1 packets: 1
      07 -> 45.9 degC in 9 packets: 2, 3, 4, 5, 10, 11, 12, 16, 18
      06 -> 47.2 degC in 3 packets: 6, 14, 15
      08 -> 44.6 degC in 5 packets: 7, 8, 9, 13, 17
Temperature XO: 
      00 -> -273.1 degC in 1 packets: 1
      C2 -> 38.8 degC in 5 packets: 2, 3, 4, 11, 12
      C3 -> 40.4 degC in 12 packets: 5, 6, 7, 8, 9, 10, 13, 14, 15, 16, 17, 18
Temperature ant 3: 
      00 -> 115.9 degC in 1 packets: 1
      01 -> 108.0 degC in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Temperature ant 4: 
      00 -> 115.9 degC in 1 packets: 1
      01 -> 108.0 degC in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Number of external events: 
      1 in 18 packets (all packets)
Number of generated alerts: 
      0 in 18 packets (all packets)
Survey memory error: 
      0 in 18 packets (all packets)
Event memory error: 
      0 in 18 packets (all packets)
Configuration error: 
      1 in 18 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 18 packets (all packets)
Radio gain: 
      0 in 18 packets (all packets)
Radio bandwidth: 
      0 in 1 packets: 1
      3 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Digital gain: 
      0 in 18 packets (all packets)
Analog gain: 
      8 in 1 packets: 1
      0 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
 
SURVEY DATA READER
-- File 20220525_061618_1226.dat, 1 SR 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:
      0 in 18 packets (all packets)  -- OK --
   10 MHz counter from 0.0020926 to 14.1790726
      Difference between neigboring packets: 
      0.8339400 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-25T06:16:21.002.092.000 to 2022-05-25T06:16:35.467.177.000
      Difference between neigboring packets: 
      1.121987 in 1 packets: 1
      0.833941 in 3 packets: 2, 8, 14
      0.833945 in 3 packets: 3, 7, 12
      0.833944 in 10 packets: 4, 5, 6, 9, 10, 11, 13, 15, 16, 17
   --- Rel. time correction for 18 points based on 14 XO calibration points at 1Hz counter from 0 to 13
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 0.002092600 corrected by 40bit 10MHz counter of 0.000000000 obtained at 1Hz counter of 0. Result: 0.002939242
--
   MIU or XO time of the 1st SR sample = header (MIU or corrected XO) time - 75 ns delay
   Samplig frequency correction factor in all SR packets: 0.711952200 - 0.999995700
   Min 1st sample MIU time among all SR packets: 2022-05-25T06:16:21.002.091.895
   Max 1st sample MIU time among all SR packets: 2022-05-25T06:16:35.467.176.925
   Min 1st sample XO time among all SR packets: 0.002939137
   Max 1st sample XO time among all SR packets: 14.467179981
   TM values from -140 to 106 median:-4.00000
--
Characteristics of separate SR data packets:

 - Packet number: 1 starting at 2022-05-25T06:16:21.002.091.895 (XO: 0.002939137 - 0.002963015, t=-273.1 degC)
   TM values: Max =    16  Min =   -21  Ave =    -4.42  Std =     5.47

 - Packet number: 2 starting at 2022-05-25T06:16:22.124.078.925 (XO: 1.124080871 - 1.124097871, t=38.8 degC)
   TM values: Max =    15  Min =   -24  Ave =    -4.25  Std =     7.65

 - Packet number: 3 starting at 2022-05-25T06:16:22.958.019.925 (XO: 1.958024540 - 1.958041540, t=38.8 degC)
   TM values: Max =    18  Min =   -27  Ave =    -4.19  Std =     8.46

 - Packet number: 4 starting at 2022-05-25T06:16:23.791.964.925 (XO: 2.791968210 - 2.791985210, t=38.8 degC)
   TM values: Max =    17  Min =   -26  Ave =    -4.26  Std =     6.87

 - Packet number: 5 starting at 2022-05-25T06:16:24.625.908.925 (XO: 3.625911879 - 3.625928879, t=40.4 degC)
   TM values: Max =    23  Min =   -28  Ave =    -4.15  Std =     8.42

 - Packet number: 6 starting at 2022-05-25T06:16:25.459.852.925 (XO: 4.459855594 - 4.459872594, t=40.4 degC)
   TM values: Max =    19  Min =   -26  Ave =    -4.24  Std =     7.97

 - Packet number: 7 starting at 2022-05-25T06:16:26.293.796.925 (XO: 5.293799318 - 5.293816318, t=40.4 degC)
   TM values: Max =    16  Min =   -26  Ave =    -4.24  Std =     7.00

 - Packet number: 8 starting at 2022-05-25T06:16:27.127.741.925 (XO: 6.127742987 - 6.127759987, t=40.4 degC)
   TM values: Max =    17  Min =   -26  Ave =    -4.27  Std =     7.31

 - Packet number: 9 starting at 2022-05-25T06:16:27.961.682.925 (XO: 6.961686656 - 6.961703656, t=40.4 degC)
   TM values: Max =   106  Min =  -140  Ave =    -4.56  Std =    30.96

 - Packet number: 10 starting at 2022-05-25T06:16:28.795.626.925 (XO: 7.795630405 - 7.795647405, t=40.4 degC)
   TM values: Max =    13  Min =   -25  Ave =    -4.20  Std =     6.67

 - Packet number: 11 starting at 2022-05-25T06:16:29.629.570.925 (XO: 8.629574158 - 8.629591158, t=38.8 degC)
   TM values: Max =    14  Min =   -23  Ave =    -4.27  Std =     6.63

 - Packet number: 12 starting at 2022-05-25T06:16:30.463.514.925 (XO: 9.463517864 - 9.463534865, t=38.8 degC)
   TM values: Max =    13  Min =   -22  Ave =    -4.20  Std =     5.51

 - Packet number: 13 starting at 2022-05-25T06:16:31.297.459.925 (XO: 10.297461564 - 10.297478564, t=40.4 degC)
   TM values: Max =    16  Min =   -26  Ave =    -4.32  Std =     6.01

 - Packet number: 14 starting at 2022-05-25T06:16:32.131.403.925 (XO: 11.131405290 - 11.131422290, t=40.4 degC)
   TM values: Max =    15  Min =   -26  Ave =    -4.32  Std =     8.38

 - Packet number: 15 starting at 2022-05-25T06:16:32.965.344.925 (XO: 11.965348876 - 11.965365876, t=40.4 degC)
   TM values: Max =    10  Min =   -22  Ave =    -4.32  Std =     5.40

 - Packet number: 16 starting at 2022-05-25T06:16:33.799.288.925 (XO: 12.799292622 - 12.799309622, t=40.4 degC)
   TM values: Max =    13  Min =   -23  Ave =    -4.44  Std =     6.41

 - Packet number: 17 starting at 2022-05-25T06:16:34.633.232.925 (XO: 13.633236311 - 13.633253311, t=40.4 degC)
   TM values: Max =    14  Min =   -22  Ave =    -4.30  Std =     5.83

 - Packet number: 18 starting at 2022-05-25T06:16:35.467.176.925 (XO: 14.467179981 - 14.467196981, t=40.4 degC)
   TM values: Max =    16  Min =   -21  Ave =    -4.41  Std =     5.76
