-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 18:36:03 2023 UTC
-- File 20220525_093901_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.192566 to 35.641485
-each separately from 13s to 35s and from 112081us to 641485us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.919226 in 1 packets: 18
      15.528826 in 1 packets: 36
MIU packet time from 2022-05-25T09:39:17.192.566.000 to 2022-05-25T09:39:39.641.485.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.919226 in 1 packets: 18
      15.528826 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.4860299 to 34.4859438
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.9999727 in 1 packets: 18
      14.9999412 in 1 packets: 36
Temperature FPGA: 
      08 -> 44.6 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      07 -> 45.9 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      1 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      1 in 54 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      3 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220525_093901_1227.dat, 3 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:
      2921 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.6785965 to 12.6788855
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.9191990  -- OK for SL --
   MIU time from 2022-05-25T09:39:17.192.566.000 to 2022-05-25T09:39:17.192.855.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.919226

 - 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:
      3025 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.5980845 to 19.5983735
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.5287670  -- OK for SL --
   MIU time from 2022-05-25T09:39:24.112.081.000 to 2022-05-25T09:39:24.112.370.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.528826

 - 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:
      3372 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.1271405 to 35.1274295
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-25T09:39:39.641.196.000 to 2022-05-25T09:39:39.641.485.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 12.678596500 corrected by 40bit 10MHz counter of 12.486029900 obtained at 1Hz counter of 13. Result: 13.192567332
--
   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.999996000 - 0.999996200
   Min 1st sample MIU time among all SL packets: 2022-05-25T09:39:17.192.425.725
   Max 1st sample MIU time among all SL packets: 2022-05-25T09:39:39.641.344.725
   Min 1st sample XO time among all SL packets: 13.192427056
   Max 1st sample XO time among all SL packets: 35.641347990
   TM values from -250 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-25T09:39:17.192.425.725 (XO: 13.192427056 - 13.192733057, t=38.8 degC)  Rank: 02921
   TM values: Max =   140  Min =  -130  Ave =    -4.31  Std =     9.39
   Min TM value:-130 at an offset of 1.938 usec -> 2022-05-25T09:39:17.192.427.662 (XO: 13.192428994)
   Max TM value:140 at an offset of 1.675 usec -> 2022-05-25T09:39:17.192.427.400 (XO: 13.192428731)
   Max dTM/dt [1/us]:9.24e+02 at an offset of 0.213 usec -> 2022-05-25T09:39:17.192.425.937 (XO: 13.192427269)
   Min dTM/dt [1/us]:-1.42e+03 at an offset of 1.813 usec -> 2022-05-25T09:39:17.192.427.537 (XO: 13.192428869)

 - Block number: 2 starting at 2022-05-25T09:39:24.111.940.725 (XO: 20.111942073 - 20.112248074, t=38.8 degC)  Rank: 03025
   TM values: Max =   193  Min =  -248  Ave =    -4.26  Std =    20.47
   Min TM value:-248 at an offset of 19.713 usec -> 2022-05-25T09:39:24.111.960.437 (XO: 20.111961785)
   Max TM value:193 at an offset of 19.450 usec -> 2022-05-25T09:39:24.111.960.175 (XO: 20.111961523)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 22.038 usec -> 2022-05-25T09:39:24.111.962.762 (XO: 20.111964110)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 32.950 usec -> 2022-05-25T09:39:24.111.973.675 (XO: 20.111975023)

 - Block number: 3 starting at 2022-05-25T09:39:39.641.055.725 (XO: 35.641058989 - 35.641364990, t=38.8 degC)  Rank: 03372
   TM values: Max =   234  Min =  -250  Ave =    -4.23  Std =    26.01
   Min TM value:-250 at an offset of 59.538 usec -> 2022-05-25T09:39:39.641.115.262 (XO: 35.641118527)
   Max TM value:234 at an offset of 46.888 usec -> 2022-05-25T09:39:39.641.102.612 (XO: 35.641105877)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 61.850 usec -> 2022-05-25T09:39:39.641.117.575 (XO: 35.641120839)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 47.013 usec -> 2022-05-25T09:39:39.641.102.737 (XO: 35.641106002)
