-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 17:55:55 2023 UTC
-- File 20211201_181907_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 1.652590 to 51.773302
-each separately from 1s to 51s and from 232995us to 773302us.
   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, ...
      24.880018 in 1 packets: 18
      14.699809 in 1 packets: 36
      10.539729 in 1 packets: 54
MIU packet time from 2021-12-01T18:19:11.652.590.000 to 2021-12-01T18:20:01.773.302.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, ...
      24.880018 in 1 packets: 18
      14.699809 in 1 packets: 36
      10.539729 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 2.5203801 to 52.5202134
   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, ...
      24.9999166 in 1 packets: 18
      14.9999500 in 1 packets: 36
      9.9999667 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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: 
      0 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: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 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 20211201_181907_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:
      45 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.1729706 to 3.1732596
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8799350  -- OK for SL --
   MIU time from 2021-12-01T18:19:11.652.590.000 to 2021-12-01T18:19:11.652.879.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.880018

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.0531946 to 28.0534836
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6997590  -- OK for SL --
   MIU time from 2021-12-01T18:19:36.532.897.000 to 2021-12-01T18:19:36.533.186.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.699809

 - 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:
      46 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.7532426 to 42.7535316
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5396950  -- OK for SL --
   MIU time from 2021-12-01T18:19:51.232.995.000 to 2021-12-01T18:19:51.233.284.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.539729

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      44 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.2932266 to 53.2935156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-12-01T18:20:01.773.013.000 to 2021-12-01T18:20:01.773.302.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 1, 32bit 10MHz counter = 3.172970600 corrected by 40bit 10MHz counter of 2.520380100 obtained at 1Hz counter of 1. Result: 1.652592719
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-12-01T18:19:11.652.449.725
   Max 1st sample MIU time among all SL packets: 2021-12-01T18:20:01.773.161.725
   Min 1st sample XO time among all SL packets: 1.652452443
   Max 1st sample XO time among all SL packets: 51.773164476
   TM values from -152 to 157 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-12-01T18:19:11.652.449.725 (XO: 1.652452443 - 1.652758444, t=35.6 degC)  Rank: 00045
   TM values: Max =   112  Min =  -134  Ave =    -4.59  Std =    12.49
   Min TM value:-134 at an offset of 128.950 usec -> 2021-12-01T18:19:11.652.578.675 (XO: 1.652581394)
   Max TM value:112 at an offset of 128.588 usec -> 2021-12-01T18:19:11.652.578.312 (XO: 1.652581031)
   Max dTM/dt [1/us]:8.70e+02 at an offset of 131.388 usec -> 2021-12-01T18:19:11.652.581.112 (XO: 1.652583831)
   Min dTM/dt [1/us]:-1.06e+03 at an offset of 128.700 usec -> 2021-12-01T18:19:11.652.578.425 (XO: 1.652581144)

 - Block number: 2 starting at 2021-12-01T18:19:36.532.756.725 (XO: 26.532759383 - 26.533065384, t=35.6 degC)  Rank: 00048
   TM values: Max =   126  Min =  -136  Ave =    -4.43  Std =    15.32
   Min TM value:-136 at an offset of 116.338 usec -> 2021-12-01T18:19:36.532.873.062 (XO: 26.532875721)
   Max TM value:126 at an offset of 88.825 usec -> 2021-12-01T18:19:36.532.845.550 (XO: 26.532848208)
   Max dTM/dt [1/us]:1.27e+03 at an offset of 91.500 usec -> 2021-12-01T18:19:36.532.848.225 (XO: 26.532850883)
   Min dTM/dt [1/us]:-1.24e+03 at an offset of 116.113 usec -> 2021-12-01T18:19:36.532.872.837 (XO: 26.532875496)

 - Block number: 3 starting at 2021-12-01T18:19:51.232.854.725 (XO: 41.232856393 - 41.233162394, t=35.6 degC)  Rank: 00046
   TM values: Max =   154  Min =  -152  Ave =    -4.55  Std =    15.30
   Min TM value:-152 at an offset of 122.038 usec -> 2021-12-01T18:19:51.232.976.762 (XO: 41.232978431)
   Max TM value:154 at an offset of 119.475 usec -> 2021-12-01T18:19:51.232.974.200 (XO: 41.232975869)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 122.113 usec -> 2021-12-01T18:19:51.232.976.837 (XO: 41.232978506)
   Min dTM/dt [1/us]:-1.40e+03 at an offset of 119.550 usec -> 2021-12-01T18:19:51.232.974.275 (XO: 41.232975944)

 - Block number: 4 starting at 2021-12-01T18:20:01.772.872.725 (XO: 51.772875475 - 51.773181476, t=35.6 degC)  Rank: 00044
   TM values: Max =   157  Min =  -139  Ave =    -4.58  Std =    17.90
   Min TM value:-139 at an offset of 154.038 usec -> 2021-12-01T18:20:01.773.026.763 (XO: 51.773029513)
   Max TM value:157 at an offset of 109.388 usec -> 2021-12-01T18:20:01.772.982.112 (XO: 51.772984863)
   Max dTM/dt [1/us]:1.15e+03 at an offset of 109.250 usec -> 2021-12-01T18:20:01.772.981.975 (XO: 51.772984726)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 109.525 usec -> 2021-12-01T18:20:01.772.982.250 (XO: 51.772985001)
