-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 13:53:32 2023 UTC
-- File 20220106_230340_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 7.673687 to 48.392478
-each separately from 7s to 48s and from 53380us to 912729us.
   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, ...
      7.379404 in 1 packets: 18
      27.858771 in 1 packets: 36
      5.479460 in 1 packets: 54
MIU packet time from 2022-01-06T23:03:50.673.687.000 to 2022-01-06T23:04:31.392.478.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, ...
      7.379404 in 1 packets: 18
      27.858771 in 1 packets: 36
      5.479460 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 8.6183640 to 49.6182130
   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, ...
      7.9999705 in 1 packets: 18
      26.9999005 in 1 packets: 36
      5.9999780 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 20220106_230340_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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2920512 to 9.2923402
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.3793750  -- OK for SL --
   MIU time from 2022-01-06T23:03:50.673.687.000 to 2022-01-06T23:03:50.673.976.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.379404

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.6717152 to 16.6720042
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.8586710  -- OK for SL --
   MIU time from 2022-01-06T23:03:58.053.380.000 to 2022-01-06T23:03:58.053.669.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.858771

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.5306752 to 44.5309642
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.4794390  -- OK for SL --
   MIU time from 2022-01-06T23:04:25.912.440.000 to 2022-01-06T23:04:25.912.729.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.479460

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.0104032 to 50.0106922
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-06T23:04:31.392.189.000 to 2022-01-06T23:04:31.392.478.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 = 7, 32bit 10MHz counter = 9.292051200 corrected by 40bit 10MHz counter of 8.618364000 obtained at 1Hz counter of 7. Result: 7.673689625
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-06T23:03:50.673.546.725
   Max 1st sample MIU time among all SL packets: 2022-01-06T23:04:31.392.337.725
   Min 1st sample XO time among all SL packets: 7.673549350
   Max 1st sample XO time among all SL packets: 48.392340377
   TM values from -156 to 150 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-06T23:03:50.673.546.725 (XO: 7.673549350 - 7.673855351, t=37.2 degC)  Rank: 00056
   TM values: Max =   147  Min =  -144  Ave =    -4.59  Std =    15.46
   Min TM value:-144 at an offset of 123.838 usec -> 2022-01-06T23:03:50.673.670.562 (XO: 7.673673188)
   Max TM value:147 at an offset of 123.200 usec -> 2022-01-06T23:03:50.673.669.925 (XO: 7.673672550)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 123.125 usec -> 2022-01-06T23:03:50.673.669.850 (XO: 7.673672475)
   Min dTM/dt [1/us]:-1.18e+03 at an offset of 123.313 usec -> 2022-01-06T23:03:50.673.670.037 (XO: 7.673672663)

 - Block number: 2 starting at 2022-01-06T23:03:58.053.239.725 (XO: 15.053240617 - 15.053546618, t=37.2 degC)  Rank: 00057
   TM values: Max =   127  Min =  -148  Ave =    -4.58  Std =    17.41
   Min TM value:-148 at an offset of 127.213 usec -> 2022-01-06T23:03:58.053.366.937 (XO: 15.053367830)
   Max TM value:127 at an offset of 124.775 usec -> 2022-01-06T23:03:58.053.364.500 (XO: 15.053365392)
   Max dTM/dt [1/us]:1.13e+03 at an offset of 127.375 usec -> 2022-01-06T23:03:58.053.367.100 (XO: 15.053367992)
   Min dTM/dt [1/us]:-1.31e+03 at an offset of 127.125 usec -> 2022-01-06T23:03:58.053.366.850 (XO: 15.053367742)

 - Block number: 3 starting at 2022-01-06T23:04:25.912.299.725 (XO: 42.912303209 - 42.912609210, t=37.2 degC)  Rank: 00057
   TM values: Max =   150  Min =  -156  Ave =    -4.61  Std =    18.23
   Min TM value:-156 at an offset of 126.500 usec -> 2022-01-06T23:04:25.912.426.225 (XO: 42.912429710)
   Max TM value:150 at an offset of 125.938 usec -> 2022-01-06T23:04:25.912.425.662 (XO: 42.912429147)
   Max dTM/dt [1/us]:1.14e+03 at an offset of 155.601 usec -> 2022-01-06T23:04:25.912.455.325 (XO: 42.912458810)
   Min dTM/dt [1/us]:-1.26e+03 at an offset of 155.826 usec -> 2022-01-06T23:04:25.912.455.550 (XO: 42.912459035)

 - Block number: 4 starting at 2022-01-06T23:04:31.392.048.725 (XO: 48.392051376 - 48.392357377, t=37.2 degC)  Rank: 00056
   TM values: Max =   117  Min =  -132  Ave =    -4.48  Std =    16.63
   Min TM value:-132 at an offset of 127.125 usec -> 2022-01-06T23:04:31.392.175.850 (XO: 48.392178501)
   Max TM value:117 at an offset of 182.213 usec -> 2022-01-06T23:04:31.392.230.938 (XO: 48.392233589)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 127.263 usec -> 2022-01-06T23:04:31.392.175.987 (XO: 48.392178639)
   Min dTM/dt [1/us]:-1.09e+03 at an offset of 127.050 usec -> 2022-01-06T23:04:31.392.175.775 (XO: 48.392178426)
