-- ERROR --
-----------------> BLESK ver.2021-02-27 run on Tue Apr  4 22:26:36 2023 UTC
-- File 20230404_160607_1227.dat, 36  packets found.
APID:
      1227 (SL) in 36 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 36 packets (all packets)
Total number of packets: 
      18 in 36 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.358874 to 13.450862
-each separately from 13s to 13s and from 358874us to 450862us.
   Differences in neigboring packets: 
      0.000017 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      -0.091988 in 1 packets: 18
MIU packet time from 2023-04-04T16:06:24.358.874.000 to 2023-04-04T16:06:24.450.862.000
   Differences in neigboring packets: 
      0.000017 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      -0.091988 in 1 packets: 18
MIU orbit number: 
      60000 in 36 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 36 packets (all packets)
MIU orbit information / number of events: 
      0 in 36 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 36 packets (all packets)
Instrument anomalies: 
      0 (OK) in 36 packets (all packets)
FPGA configuration version: 
      211 in 36 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.7461352 to 12.8998506
   Differences in neigboring packets: 
      0.0000000 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      0.1537154 in 1 packets: 18
Temperature FPGA: 
      0B -> 40.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      0A -> 42.0 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      BF -> 34.0 degC in 36 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 36 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 36 packets (all packets)
Number of external events: 
      1 in 36 packets (all packets)
Number of generated alerts: 
      0 in 36 packets (all packets)
Survey memory error: 
      0 in 36 packets (all packets)
Event memory error: 
      0 in 36 packets (all packets)
Configuration error: 
      1 in 36 packets (all packets)
      -> ERROR
SDRAM CRC error: 
      0 in 36 packets (all packets)
Radio gain: 
      0 in 36 packets (all packets)
Radio bandwidth: 
      3 in 36 packets (all packets)
Digital gain: 
      0 in 36 packets (all packets)
Analog gain: 
      0 in 36 packets (all packets)
 
SURVEY DATA READER
-- File 20230404_160607_1227.dat, 2 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:
      3038 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.1967085 to 13.1969975
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.0617270  -- OK for SL --
   MIU time from 2023-04-04T16:06:24.450.573.000 to 2023-04-04T16:06:24.450.862.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: -0.091988

 - 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:
      2992 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2587245 to 13.2590135
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-04-04T16:06:24.358.874.000 to 2023-04-04T16:06:24.359.163.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 36 points based on 28 XO calibration points at 1Hz counter from 0 to 13
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 13.196708500 corrected by 40bit 10MHz counter of 12.746135200 obtained at 1Hz counter of 13. Result: 13.450575283
--
   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.999995600
   Min 1st sample MIU time among all SL packets: 2023-04-04T16:06:24.358.773.725
   Max 1st sample MIU time among all SL packets: 2023-04-04T16:06:24.450.761.725
   Min 1st sample XO time among all SL packets: 13.450475007
   Max 1st sample XO time among all SL packets: 13.512780281
   TM values from -214 to 203 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-04-04T16:06:24.450.472.725 (XO: 13.450475007 - 13.450781008, t=34.0 degC)  Rank: 03038
   TM values: Max =   203  Min =  -214  Ave =    -4.48  Std =    24.48
   Min TM value:-214 at an offset of 80.675 usec -> 2023-04-04T16:06:24.450.553.400 (XO: 13.450555682)
   Max TM value:203 at an offset of 108.563 usec -> 2023-04-04T16:06:24.450.581.287 (XO: 13.450583570)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 106.200 usec -> 2023-04-04T16:06:24.450.578.925 (XO: 13.450581208)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 80.525 usec -> 2023-04-04T16:06:24.450.553.250 (XO: 13.450555532)

 - Block number: 2 starting at 2023-04-04T16:06:24.358.773.725 (XO: 13.512491280 - 13.512797281, t=34.0 degC)  Rank: 02992
   TM values: Max =    26  Min =   -40  Ave =    -4.36  Std =     8.64
   Min TM value:-40 at an offset of 292.864 usec -> 2023-04-04T16:06:24.359.066.588 (XO: 13.512784144)
   Max TM value:26 at an offset of 146.638 usec -> 2023-04-04T16:06:24.358.920.363 (XO: 13.512637918)
   Max dTM/dt [1/us]:3.44e+02 at an offset of 295.864 usec -> 2023-04-04T16:06:24.359.069.588 (XO: 13.512787144)
   Min dTM/dt [1/us]:-2.88e+02 at an offset of 267.489 usec -> 2023-04-04T16:06:24.359.041.213 (XO: 13.512758769)
