-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Sun May  7 00:38:50 2023 UTC
-- File 20230507_002032_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.742740
-each separately from 0s to 14s and from 2092us to 908796us.
   Differences in neigboring packets: 
      1.397549 in 1 packets: 1
      0.833944 in 10 packets: 2, 5, 7, 8, 9, 11, 12, 13, 14, 17
      0.833945 in 3 packets: 3, 6, 15
      0.833941 in 2 packets: 4, 16
      0.833942 in 1 packets: 10
MIU packet time from 2023-05-07T00:20:35.002.092.000 to 2023-05-07T00:20:49.742.740.000
   Differences in neigboring packets: 
      1.397549 in 1 packets: 1
      0.833944 in 10 packets: 2, 5, 7, 8, 9, 11, 12, 13, 14, 17
      0.833945 in 3 packets: 3, 6, 15
      0.833941 in 2 packets: 4, 16
      0.833942 in 1 packets: 10
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.4363325
   Differences in neigboring packets: 
      0.4363911 in 1 packets: 1
      0.9999955 in 10 packets: 2, 3, 6, 7, 8, 11, 12, 13, 14, 15
      0.0000000 in 3 packets: 4, 10, 16
      0.9999954 in 2 packets: 5, 9
      0.9999956 in 1 packets: 17
   XO PPM: 
      -563608.9 in 1 packets: 1
      -4.4 in 11 packets: 2, 3, 6, 7, 8, 11, 12, 13, 14, 15, 17
      -4.6 in 2 packets: 5, 9
Temperature FPGA: 
      00 -> 55.0 degC in 1 packets: 1
      09 -> 43.3 degC in 8 packets: 2, 3, 4, 5, 14, 15, 16, 17
      08 -> 44.6 degC in 8 packets: 6, 8, 9, 10, 11, 12, 13, 18
      07 -> 45.9 degC in 1 packets: 7
Temperature XO: 
      00 -> -273.1 degC in 1 packets: 1
      C1 -> 37.2 degC in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 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 20230507_002032_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 2023-05-07T00:20:35.002.092.000 to 2023-05-07T00:20:49.742.740.000
      Difference between neigboring packets: 
      1.397549 in 1 packets: 1
      0.833944 in 10 packets: 2, 5, 7, 8, 9, 11, 12, 13, 14, 17
      0.833945 in 3 packets: 3, 6, 15
      0.833941 in 2 packets: 4, 16
      0.833942 in 1 packets: 10
   --- 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.004795240
--
   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.436391100 - 0.999995600
   Min 1st sample MIU time among all SR packets: 2023-05-07T00:20:35.002.091.829
   Max 1st sample MIU time among all SR packets: 2023-05-07T00:20:49.742.739.925
   Min 1st sample XO time among all SR packets: 0.004795068
   Max 1st sample XO time among all SR packets: 14.742743293
   TM values from -24 to 14 median:-4.00000
--
Characteristics of separate SR data packets:

 - Packet number: 1 starting at 2023-05-07T00:20:35.002.091.829 (XO: 0.004795068 - 0.004834024, t=-273.1 degC)
   TM values: Max =    10  Min =   -21  Ave =    -4.54  Std =     4.71

 - Packet number: 2 starting at 2023-05-07T00:20:36.399.640.925 (XO: 1.399643223 - 1.399660223, t=37.2 degC)
   TM values: Max =    12  Min =   -17  Ave =    -4.22  Std =     4.48

 - Packet number: 3 starting at 2023-05-07T00:20:37.233.584.925 (XO: 2.233586976 - 2.233603976, t=37.2 degC)
   TM values: Max =    14  Min =   -24  Ave =    -3.88  Std =     5.56

 - Packet number: 4 starting at 2023-05-07T00:20:38.067.529.925 (XO: 3.067530736 - 3.067547736, t=37.2 degC)
   TM values: Max =    12  Min =   -17  Ave =    -4.34  Std =     4.53

 - Packet number: 5 starting at 2023-05-07T00:20:38.901.470.925 (XO: 3.901474572 - 3.901491572, t=37.2 degC)
   TM values: Max =    11  Min =   -16  Ave =    -4.15  Std =     4.32

 - Packet number: 6 starting at 2023-05-07T00:20:39.735.414.925 (XO: 4.735418334 - 4.735435334, t=37.2 degC)
   TM values: Max =    13  Min =   -19  Ave =    -4.21  Std =     4.86

 - Packet number: 7 starting at 2023-05-07T00:20:40.569.359.925 (XO: 5.569362087 - 5.569379087, t=37.2 degC)
   TM values: Max =    10  Min =   -20  Ave =    -3.89  Std =     5.20

 - Packet number: 8 starting at 2023-05-07T00:20:41.403.303.925 (XO: 6.403305840 - 6.403322840, t=37.2 degC)
   TM values: Max =    12  Min =   -20  Ave =    -4.14  Std =     5.19

 - Packet number: 9 starting at 2023-05-07T00:20:42.237.247.925 (XO: 7.237249616 - 7.237266616, t=37.2 degC)
   TM values: Max =    11  Min =   -23  Ave =    -4.10  Std =     5.27

 - Packet number: 10 starting at 2023-05-07T00:20:43.071.191.925 (XO: 8.071193445 - 8.071210445, t=37.2 degC)
   TM values: Max =    12  Min =   -22  Ave =    -4.20  Std =     5.08

 - Packet number: 11 starting at 2023-05-07T00:20:43.905.133.925 (XO: 8.905137198 - 8.905154198, t=37.2 degC)
   TM values: Max =    11  Min =   -21  Ave =    -4.00  Std =     4.62

 - Packet number: 12 starting at 2023-05-07T00:20:44.739.077.925 (XO: 9.739080951 - 9.739097951, t=37.2 degC)
   TM values: Max =    11  Min =   -17  Ave =    -4.14  Std =     4.91

 - Packet number: 13 starting at 2023-05-07T00:20:45.573.021.925 (XO: 10.573024704 - 10.573041704, t=37.2 degC)
   TM values: Max =     8  Min =   -19  Ave =    -4.49  Std =     4.20

 - Packet number: 14 starting at 2023-05-07T00:20:46.406.965.925 (XO: 11.406968456 - 11.406985456, t=37.2 degC)
   TM values: Max =    13  Min =   -18  Ave =    -4.14  Std =     4.74

 - Packet number: 15 starting at 2023-05-07T00:20:47.240.909.925 (XO: 12.240912209 - 12.240929209, t=37.2 degC)
   TM values: Max =    10  Min =   -20  Ave =    -4.11  Std =     5.17

 - Packet number: 16 starting at 2023-05-07T00:20:48.074.854.925 (XO: 13.074855954 - 13.074872954, t=37.2 degC)
   TM values: Max =     9  Min =   -16  Ave =    -4.19  Std =     4.04

 - Packet number: 17 starting at 2023-05-07T00:20:48.908.795.925 (XO: 13.908799624 - 13.908816624, t=37.2 degC)
   TM values: Max =     7  Min =   -18  Ave =    -4.23  Std =     4.01

 - Packet number: 18 starting at 2023-05-07T00:20:49.742.739.925 (XO: 14.742743293 - 14.742760293, t=37.2 degC)
   TM values: Max =    11  Min =   -20  Ave =    -4.37  Std =     4.75
