-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 16:56:37 2023 UTC
-- File 20220524_180600_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 9.526928 to 50.536655
-each separately from 9s to 50s and from 26813us to 536655us.
   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, ...
      11.499596 in 1 packets: 18
      9.359554 in 1 packets: 36
      20.149421 in 1 packets: 54
MIU packet time from 2022-05-24T18:06:12.526.928.000 to 2022-05-24T18:06:53.536.655.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, ...
      11.499596 in 1 packets: 18
      9.359554 in 1 packets: 36
      20.149421 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 10.4080602 to 51.4079014
   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, ...
      11.9999540 in 1 packets: 18
      8.9999653 in 1 packets: 36
      19.9999219 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 20220524_180600_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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.9349886 to 10.9352776
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4995510  -- OK for SL --
   MIU time from 2022-05-24T18:06:12.526.928.000 to 2022-05-24T18:06:12.527.217.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.499596

 - 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:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.4348286 to 22.4351176
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3595190  -- OK for SL --
   MIU time from 2022-05-24T18:06:24.026.813.000 to 2022-05-24T18:06:24.027.102.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.359554

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.7946366 to 31.7949256
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.1493430  -- OK for SL --
   MIU time from 2022-05-24T18:06:33.386.656.000 to 2022-05-24T18:06:33.386.945.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.149421

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.9442686 to 51.9445576
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-24T18:06:53.536.366.000 to 2022-05-24T18:06:53.536.655.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 = 9, 32bit 10MHz counter = 10.934988600 corrected by 40bit 10MHz counter of 10.408060200 obtained at 1Hz counter of 9. Result: 9.526930402
--
   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-24T18:06:12.526.787.725
   Max 1st sample MIU time among all SL packets: 2022-05-24T18:06:53.536.514.725
   Min 1st sample XO time among all SL packets: 9.526790127
   Max 1st sample XO time among all SL packets: 50.536518071
   TM values from -304 to 304 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-24T18:06:12.526.787.725 (XO: 9.526790127 - 9.527096128, t=40.4 degC)  Rank: 00053
   TM values: Max =   263  Min =  -269  Ave =    -4.41  Std =    36.32
   Min TM value:-269 at an offset of 121.150 usec -> 2022-05-24T18:06:12.526.908.875 (XO: 9.526911277)
   Max TM value:263 at an offset of 107.325 usec -> 2022-05-24T18:06:12.526.895.050 (XO: 9.526897452)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 107.275 usec -> 2022-05-24T18:06:12.526.895.000 (XO: 9.526897402)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 107.450 usec -> 2022-05-24T18:06:12.526.895.175 (XO: 9.526897577)

 - Block number: 2 starting at 2022-05-24T18:06:24.026.672.725 (XO: 21.026674226 - 21.026980228, t=40.4 degC)  Rank: 00062
   TM values: Max =   226  Min =  -304  Ave =    -4.36  Std =    36.02
   Min TM value:-304 at an offset of 85.463 usec -> 2022-05-24T18:06:24.026.758.187 (XO: 21.026759689)
   Max TM value:226 at an offset of 88.188 usec -> 2022-05-24T18:06:24.026.760.912 (XO: 21.026762414)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 85.525 usec -> 2022-05-24T18:06:24.026.758.250 (XO: 21.026759752)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 83.088 usec -> 2022-05-24T18:06:24.026.755.812 (XO: 21.026757314)

 - Block number: 3 starting at 2022-05-24T18:06:33.386.515.725 (XO: 30.386518294 - 30.386824295, t=40.4 degC)  Rank: 00056
   TM values: Max =   233  Min =  -288  Ave =    -4.34  Std =    50.24
   Min TM value:-288 at an offset of 148.713 usec -> 2022-05-24T18:06:33.386.664.438 (XO: 30.386667007)
   Max TM value:233 at an offset of 148.488 usec -> 2022-05-24T18:06:33.386.664.213 (XO: 30.386666782)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 122.375 usec -> 2022-05-24T18:06:33.386.638.100 (XO: 30.386640669)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 148.688 usec -> 2022-05-24T18:06:33.386.664.413 (XO: 30.386666982)

 - Block number: 4 starting at 2022-05-24T18:06:53.536.225.725 (XO: 50.536229070 - 50.536535071, t=40.4 degC)  Rank: 00059
   TM values: Max =   304  Min =  -278  Ave =    -4.29  Std =    75.05
   Min TM value:-278 at an offset of 117.963 usec -> 2022-05-24T18:06:53.536.343.687 (XO: 50.536347033)
   Max TM value:304 at an offset of 90.613 usec -> 2022-05-24T18:06:53.536.316.337 (XO: 50.536319683)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 120.250 usec -> 2022-05-24T18:06:53.536.345.975 (XO: 50.536349320)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 90.725 usec -> 2022-05-24T18:06:53.536.316.450 (XO: 50.536319795)
