-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 05:56:25 2021 UTC
-- File 20210812_120552_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 3.325883 to 49.550519
-each separately from 3s to 49s and from 325883us to 767512us.
   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, ...
      13.441051 in 1 packets: 18
      19.801553 in 1 packets: 36
      12.980876 in 1 packets: 54
MIU packet time from 2021-08-12T12:05:58.325.883.000 to 2021-08-12T12:06:44.550.519.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, ...
      13.441051 in 1 packets: 18
      19.801553 in 1 packets: 36
      12.980876 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 4.8794512 to 50.8792974
   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, ...
      12.9999566 in 1 packets: 18
      19.9999331 in 1 packets: 36
      12.9999565 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210812_120552_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.2053350 to 5.2056240
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4410070  -- OK for SL --
   MIU time from 2021-08-12T12:05:58.325.883.000 to 2021-08-12T12:05:58.326.172.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.441051

 - 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 18.6466310 to 18.6469200
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8014870  -- OK for SL --
   MIU time from 2021-08-12T12:06:11.767.223.000 to 2021-08-12T12:06:11.767.512.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.801553

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.4484070 to 38.4486960
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9808310  -- OK for SL --
   MIU time from 2021-08-12T12:06:31.569.065.000 to 2021-08-12T12:06:31.569.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.980876

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.4295270 to 51.4298160
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T12:06:44.550.230.000 to 2021-08-12T12:06:44.550.519.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 = 3, 32bit 10MHz counter = 5.205335000 corrected by 40bit 10MHz counter of 4.879451200 obtained at 1Hz counter of 3. Result: 3.325884875
--
   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-12T12:05:58.325.742.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T12:06:44.550.378.725
   Min 1st sample XO time among all SL packets: 3.325744600
   Max 1st sample XO time among all SL packets: 49.550380141
   TM values from -268 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T12:05:58.325.742.725 (XO: 3.325744600 - 3.326050601, t=35.6 degC)  Rank: 00078
   TM values: Max =   231  Min =  -249  Ave =    -4.51  Std =    20.30
   Min TM value:-249 at an offset of 118.638 usec -> 2021-08-12T12:05:58.325.861.362 (XO: 3.325863238)
   Max TM value:231 at an offset of 118.350 usec -> 2021-08-12T12:05:58.325.861.075 (XO: 3.325862950)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 121.038 usec -> 2021-08-12T12:05:58.325.863.762 (XO: 3.325865638)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 118.450 usec -> 2021-08-12T12:05:58.325.861.175 (XO: 3.325863050)

 - Block number: 2 starting at 2021-08-12T12:06:11.767.082.725 (XO: 16.767085533 - 16.767391534, t=35.6 degC)  Rank: 00079
   TM values: Max =   205  Min =  -252  Ave =    -4.46  Std =    18.83
   Min TM value:-252 at an offset of 123.613 usec -> 2021-08-12T12:06:11.767.206.337 (XO: 16.767209146)
   Max TM value:205 at an offset of 126.238 usec -> 2021-08-12T12:06:11.767.208.962 (XO: 16.767211771)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 126.050 usec -> 2021-08-12T12:06:11.767.208.775 (XO: 16.767211584)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 123.400 usec -> 2021-08-12T12:06:11.767.206.125 (XO: 16.767208934)

 - Block number: 3 starting at 2021-08-12T12:06:31.568.924.725 (XO: 36.568927702 - 36.569233703, t=35.6 degC)  Rank: 00079
   TM values: Max =   205  Min =  -268  Ave =    -4.52  Std =    31.76
   Min TM value:-268 at an offset of 167.376 usec -> 2021-08-12T12:06:31.569.092.100 (XO: 36.569095078)
   Max TM value:205 at an offset of 124.550 usec -> 2021-08-12T12:06:31.569.049.275 (XO: 36.569052253)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 183.651 usec -> 2021-08-12T12:06:31.569.108.375 (XO: 36.569111353)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 209.151 usec -> 2021-08-12T12:06:31.569.133.875 (XO: 36.569136853)

 - Block number: 4 starting at 2021-08-12T12:06:44.550.089.725 (XO: 49.550091140 - 49.550397141, t=35.6 degC)  Rank: 00082
   TM values: Max =   199  Min =  -235  Ave =    -4.46  Std =    21.32
   Min TM value:-235 at an offset of 108.400 usec -> 2021-08-12T12:06:44.550.198.125 (XO: 49.550199541)
   Max TM value:199 at an offset of 123.763 usec -> 2021-08-12T12:06:44.550.213.487 (XO: 49.550214903)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 123.575 usec -> 2021-08-12T12:06:44.550.213.300 (XO: 49.550214716)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 108.188 usec -> 2021-08-12T12:06:44.550.197.912 (XO: 49.550199328)
