-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 14:48:17 2021 UTC
-- File 20210806_235659_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.520737 to 32.031509
-each separately from 12s to 32s and from 31220us to 521026us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.760036 in 1 packets: 18
      3.749869 in 1 packets: 36
MIU packet time from 2021-08-06T23:57:14.520.737.000 to 2021-08-06T23:57:34.031.509.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.760036 in 1 packets: 18
      3.749869 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.8963505 to 33.8962839
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.9999468 in 1 packets: 18
      3.9999866 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210806_235659_1227.dat, 3 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.4170886 to 14.4173776
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7599830  -- OK for SL --
   MIU time from 2021-08-06T23:57:14.520.737.000 to 2021-08-06T23:57:14.521.026.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.760036

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.1773606 to 30.1776496
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.7498550  -- OK for SL --
   MIU time from 2021-08-06T23:57:30.281.062.000 to 2021-08-06T23:57:30.281.351.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.749869

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.9275046 to 33.9277936
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T23:57:34.031.220.000 to 2021-08-06T23:57:34.031.509.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 14.417088600 corrected by 40bit 10MHz counter of 13.896350500 obtained at 1Hz counter of 12. Result: 12.520739818
--
   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-08-06T23:57:14.520.596.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T23:57:34.031.368.725
   Min 1st sample XO time among all SL packets: 12.520599543
   Max 1st sample XO time among all SL packets: 32.031369529
   TM values from -269 to 222 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T23:57:14.520.596.725 (XO: 12.520599543 - 12.520905544, t=37.2 degC)  Rank: 00082
   TM values: Max =   222  Min =  -241  Ave =    -4.56  Std =    17.34
   Min TM value:-241 at an offset of 108.000 usec -> 2021-08-06T23:57:14.520.704.725 (XO: 12.520707543)
   Max TM value:222 at an offset of 110.550 usec -> 2021-08-06T23:57:14.520.707.275 (XO: 12.520710093)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 110.400 usec -> 2021-08-06T23:57:14.520.707.125 (XO: 12.520709943)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 107.850 usec -> 2021-08-06T23:57:14.520.704.575 (XO: 12.520707393)

 - Block number: 2 starting at 2021-08-06T23:57:30.280.921.725 (XO: 28.280923980 - 28.281229981, t=37.2 degC)  Rank: 00079
   TM values: Max =   207  Min =  -240  Ave =    -4.63  Std =    20.76
   Min TM value:-240 at an offset of 118.663 usec -> 2021-08-06T23:57:30.281.040.387 (XO: 28.281042643)
   Max TM value:207 at an offset of 121.300 usec -> 2021-08-06T23:57:30.281.043.025 (XO: 28.281045281)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 116.338 usec -> 2021-08-06T23:57:30.281.038.062 (XO: 28.281040318)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 118.475 usec -> 2021-08-06T23:57:30.281.040.200 (XO: 28.281042456)

 - Block number: 3 starting at 2021-08-06T23:57:34.031.079.725 (XO: 32.031080528 - 32.031386529, t=37.2 degC)  Rank: 00081
   TM values: Max =   215  Min =  -269  Ave =    -4.50  Std =    20.75
   Min TM value:-269 at an offset of 109.238 usec -> 2021-08-06T23:57:34.031.188.962 (XO: 32.031189765)
   Max TM value:215 at an offset of 108.950 usec -> 2021-08-06T23:57:34.031.188.675 (XO: 32.031189478)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 111.600 usec -> 2021-08-06T23:57:34.031.191.325 (XO: 32.031192128)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 109.050 usec -> 2021-08-06T23:57:34.031.188.775 (XO: 32.031189578)
