-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  8 12:01:22 2023 UTC
-- File 20220527_062311_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.157466 to 35.775991
-each separately from 14s to 35s and from 157466us to 775991us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      -0.552583 in 1 packets: 18
      12.178707 in 1 packets: 36
      9.438951 in 1 packets: 54
MIU packet time from 2022-05-27T06:23:28.157.466.000 to 2022-05-27T06:23:49.775.991.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      -0.552583 in 1 packets: 18
      12.178707 in 1 packets: 36
      9.438951 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.3825375 to 34.3824457
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      -0.3311949 in 1 packets: 18
      11.9999477 in 1 packets: 36
      8.9999605 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      1 in 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      1 in 72 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      3 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220527_062311_1227.dat, 4 SL 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:
      2450 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.4234925 to 14.4237815
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: -0.8837770
   !!! Inconsistent values of the 10 MHz or 1 Hz counter in the data.
   MIU time from 2022-05-27T06:23:28.709.760.000 to 2022-05-27T06:23:28.710.049.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: -0.552583

 - Block number: 2 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:
      2792 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.5400045 to 13.5402935
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.1786550  -- OK for SL --
   MIU time from 2022-05-27T06:23:28.157.466.000 to 2022-05-27T06:23:28.157.755.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.178707

 - Block number: 3 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:
      3069 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7189485 to 25.7192375
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.4389110  -- OK for SL --
   MIU time from 2022-05-27T06:23:40.336.462.000 to 2022-05-27T06:23:40.336.751.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.438951

 - Block number: 4 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:
      2845 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.1581485 to 35.1584375
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-27T06:23:49.775.702.000 to 2022-05-27T06:23:49.775.991.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 58 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 14.423492500 corrected by 40bit 10MHz counter of 13.382537500 obtained at 1Hz counter of 14. Result: 15.040959580
--
   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.999995600 - 0.999995700
   Min 1st sample MIU time among all SL packets: 2022-05-27T06:23:28.157.325.725
   Max 1st sample MIU time among all SL packets: 2022-05-27T06:23:49.775.850.725
   Min 1st sample XO time among all SL packets: 14.157327417
   Max 1st sample XO time among all SL packets: 35.775854861
   TM values from -277 to 214 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-27T06:23:28.709.619.725 (XO: 15.040819305 - 15.041125306, t=40.4 degC)  Rank: 02450
   TM values: Max =   137  Min =  -134  Ave =    -4.32  Std =    13.46
   Min TM value:-134 at an offset of 5.250 usec -> 2022-05-27T06:23:28.709.624.975 (XO: 15.040824555)
   Max TM value:137 at an offset of 4.988 usec -> 2022-05-27T06:23:28.709.624.712 (XO: 15.040824292)
   Max dTM/dt [1/us]:8.23e+02 at an offset of 4.938 usec -> 2022-05-27T06:23:28.709.624.662 (XO: 15.040824242)
   Min dTM/dt [1/us]:-1.24e+03 at an offset of 5.125 usec -> 2022-05-27T06:23:28.709.624.850 (XO: 15.040824430)

 - Block number: 2 starting at 2022-05-27T06:23:28.157.325.725 (XO: 14.157327417 - 14.157633419, t=40.4 degC)  Rank: 02792
   TM values: Max =   213  Min =  -273  Ave =    -4.20  Std =    29.66
   Min TM value:-273 at an offset of 69.463 usec -> 2022-05-27T06:23:28.157.395.187 (XO: 14.157396880)
   Max TM value:213 at an offset of 69.200 usec -> 2022-05-27T06:23:28.157.394.925 (XO: 14.157396618)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 44.000 usec -> 2022-05-27T06:23:28.157.369.725 (XO: 14.157371417)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 41.525 usec -> 2022-05-27T06:23:28.157.367.250 (XO: 14.157368942)

 - Block number: 3 starting at 2022-05-27T06:23:40.336.321.725 (XO: 26.336324505 - 26.336630506, t=40.4 degC)  Rank: 03069
   TM values: Max =   211  Min =  -277  Ave =    -4.47  Std =    25.59
   Min TM value:-277 at an offset of 47.488 usec -> 2022-05-27T06:23:40.336.369.212 (XO: 26.336371993)
   Max TM value:211 at an offset of 47.738 usec -> 2022-05-27T06:23:40.336.369.462 (XO: 26.336372243)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 47.625 usec -> 2022-05-27T06:23:40.336.369.350 (XO: 26.336372130)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 45.138 usec -> 2022-05-27T06:23:40.336.366.862 (XO: 26.336369643)

 - Block number: 4 starting at 2022-05-27T06:23:49.775.561.725 (XO: 35.775565860 - 35.775871861, t=40.4 degC)  Rank: 02845
   TM values: Max =   214  Min =  -250  Ave =    -4.15  Std =    27.47
   Min TM value:-250 at an offset of 40.913 usec -> 2022-05-27T06:23:49.775.602.637 (XO: 35.775606773)
   Max TM value:214 at an offset of 24.863 usec -> 2022-05-27T06:23:49.775.586.587 (XO: 35.775590723)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 29.300 usec -> 2022-05-27T06:23:49.775.591.025 (XO: 35.775595160)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 26.813 usec -> 2022-05-27T06:23:49.775.588.537 (XO: 35.775592673)
