-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 11:35:01 2023 UTC
-- File 20220109_142558_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.199592 to 45.679112
-each separately from 14s to 45s and from 19032us to 679112us.
   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, ...
      2.039670 in 1 packets: 18
      15.779192 in 1 packets: 36
      13.659502 in 1 packets: 54
MIU packet time from 2022-01-09T14:26:15.199.592.000 to 2022-01-09T14:26:46.679.112.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, ...
      2.039670 in 1 packets: 18
      15.779192 in 1 packets: 36
      13.659502 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 15.8383213 to 46.8382103
   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, ...
      1.9999928 in 1 packets: 18
      15.9999427 in 1 packets: 36
      12.9999535 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 20220109_142558_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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.0379144 to 16.0382034
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.0396630  -- OK for SL --
   MIU time from 2022-01-09T14:26:15.199.592.000 to 2022-01-09T14:26:15.199.881.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.039670

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.0778664 to 18.0781554
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7791350  -- OK for SL --
   MIU time from 2022-01-09T14:26:17.239.551.000 to 2022-01-09T14:26:17.239.840.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.779192

 - 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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.8572904 to 33.8575794
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6594550  -- OK for SL --
   MIU time from 2022-01-09T14:26:33.019.032.000 to 2022-01-09T14:26:33.019.321.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.659502

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.5170344 to 47.5173234
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-09T14:26:46.678.823.000 to 2022-01-09T14:26:46.679.112.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 = 14, 32bit 10MHz counter = 16.037914400 corrected by 40bit 10MHz counter of 15.838321300 obtained at 1Hz counter of 14. Result: 14.199593819
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-09T14:26:15.199.451.725
   Max 1st sample MIU time among all SL packets: 2022-01-09T14:26:46.678.971.725
   Min 1st sample XO time among all SL packets: 14.199453543
   Max 1st sample XO time among all SL packets: 45.678975201
   TM values from -185 to 182 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-09T14:26:15.199.451.725 (XO: 14.199453543 - 14.199759544, t=37.2 degC)  Rank: 00061
   TM values: Max =   173  Min =  -185  Ave =    -4.55  Std =    19.74
   Min TM value:-185 at an offset of 115.700 usec -> 2022-01-09T14:26:15.199.567.425 (XO: 14.199569243)
   Max TM value:173 at an offset of 154.476 usec -> 2022-01-09T14:26:15.199.606.200 (XO: 14.199608019)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 115.813 usec -> 2022-01-09T14:26:15.199.567.537 (XO: 14.199569356)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 115.625 usec -> 2022-01-09T14:26:15.199.567.350 (XO: 14.199569168)

 - Block number: 2 starting at 2022-01-09T14:26:17.239.410.725 (XO: 16.239412887 - 16.239718888, t=37.2 degC)  Rank: 00054
   TM values: Max =   154  Min =  -163  Ave =    -4.55  Std =    13.63
   Min TM value:-163 at an offset of 125.938 usec -> 2022-01-09T14:26:17.239.536.662 (XO: 16.239538825)
   Max TM value:154 at an offset of 123.463 usec -> 2022-01-09T14:26:17.239.534.187 (XO: 16.239536350)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 126.063 usec -> 2022-01-09T14:26:17.239.536.787 (XO: 16.239538950)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 125.850 usec -> 2022-01-09T14:26:17.239.536.575 (XO: 16.239538737)

 - Block number: 3 starting at 2022-01-09T14:26:33.018.891.725 (XO: 32.018893391 - 32.019199392, t=37.2 degC)  Rank: 00061
   TM values: Max =   163  Min =  -178  Ave =    -4.64  Std =    19.82
   Min TM value:-178 at an offset of 122.625 usec -> 2022-01-09T14:26:33.019.014.350 (XO: 32.019016017)
   Max TM value:163 at an offset of 120.188 usec -> 2022-01-09T14:26:33.019.011.912 (XO: 32.019013579)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 122.738 usec -> 2022-01-09T14:26:33.019.014.462 (XO: 32.019016129)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 122.538 usec -> 2022-01-09T14:26:33.019.014.262 (XO: 32.019015929)

 - Block number: 4 starting at 2022-01-09T14:26:46.678.682.725 (XO: 45.678686200 - 45.678992201, t=37.2 degC)  Rank: 00058
   TM values: Max =   182  Min =  -164  Ave =    -4.61  Std =    15.27
   Min TM value:-164 at an offset of 123.038 usec -> 2022-01-09T14:26:46.678.805.762 (XO: 45.678809238)
   Max TM value:182 at an offset of 120.625 usec -> 2022-01-09T14:26:46.678.803.350 (XO: 45.678806826)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 120.550 usec -> 2022-01-09T14:26:46.678.803.275 (XO: 45.678806751)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 120.725 usec -> 2022-01-09T14:26:46.678.803.450 (XO: 45.678806926)
