-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 12 14:28:32 2021 UTC
-- File 20210812_002336_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 2.389199 to 46.269937
-each separately from 2s to 46s and from 269648us to 729726us.
   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, ...
      14.339949 in 1 packets: 18
      27.579884 in 1 packets: 36
      1.959749 in 1 packets: 54
MIU packet time from 2021-08-12T00:23:41.389.199.000 to 2021-08-12T00:24:25.269.937.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, ...
      14.339949 in 1 packets: 18
      27.579884 in 1 packets: 36
      1.959749 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 3.8678592 to 47.8677136
   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, ...
      13.9999537 in 1 packets: 18
      27.9999072 in 1 packets: 36
      1.9999935 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      03 -> 51.1 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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_002336_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2570587 to 4.2573477
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3399030  -- OK for SL --
   MIU time from 2021-08-12T00:23:41.389.199.000 to 2021-08-12T00:23:41.389.488.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.339949

 - 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.5972507 to 18.5975397
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.5797910  -- OK for SL --
   MIU time from 2021-08-12T00:23:55.729.437.000 to 2021-08-12T00:23:55.729.726.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.579884

 - 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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.1773307 to 46.1776197
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.9597430  -- OK for SL --
   MIU time from 2021-08-12T00:24:23.309.610.000 to 2021-08-12T00:24:23.309.899.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.959749

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.1373627 to 48.1376517
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T00:24:25.269.648.000 to 2021-08-12T00:24:25.269.937.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 = 2, 32bit 10MHz counter = 4.257058700 corrected by 40bit 10MHz counter of 3.867859200 obtained at 1Hz counter of 2. Result: 2.389200784
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-12T00:23:41.389.058.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T00:24:25.269.796.725
   Min 1st sample XO time among all SL packets: 2.389060509
   Max 1st sample XO time among all SL packets: 46.269798742
   TM values from -277 to 222 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T00:23:41.389.058.725 (XO: 2.389060509 - 2.389366510, t=37.2 degC)  Rank: 00079
   TM values: Max =   222  Min =  -277  Ave =    -4.54  Std =    24.56
   Min TM value:-277 at an offset of 150.650 usec -> 2021-08-12T00:23:41.389.209.375 (XO: 2.389211159)
   Max TM value:222 at an offset of 122.825 usec -> 2021-08-12T00:23:41.389.181.550 (XO: 2.389183334)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 153.051 usec -> 2021-08-12T00:23:41.389.211.775 (XO: 2.389213559)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 122.938 usec -> 2021-08-12T00:23:41.389.181.662 (XO: 2.389183447)

 - Block number: 2 starting at 2021-08-12T00:23:55.729.296.725 (XO: 16.729299932 - 16.729605933, t=37.2 degC)  Rank: 00079
   TM values: Max =   193  Min =  -261  Ave =    -4.54  Std =    21.50
   Min TM value:-261 at an offset of 108.763 usec -> 2021-08-12T00:23:55.729.405.487 (XO: 16.729408695)
   Max TM value:193 at an offset of 111.363 usec -> 2021-08-12T00:23:55.729.408.087 (XO: 16.729411295)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 111.188 usec -> 2021-08-12T00:23:55.729.407.912 (XO: 16.729411120)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 108.550 usec -> 2021-08-12T00:23:55.729.405.275 (XO: 16.729408482)

 - Block number: 3 starting at 2021-08-12T00:24:23.309.469.725 (XO: 44.309471315 - 44.309777316, t=37.2 degC)  Rank: 00091
   TM values: Max =   191  Min =  -240  Ave =    -4.44  Std =    25.28
   Min TM value:-240 at an offset of 120.688 usec -> 2021-08-12T00:24:23.309.590.412 (XO: 44.309592003)
   Max TM value:191 at an offset of 123.325 usec -> 2021-08-12T00:24:23.309.593.050 (XO: 44.309594641)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 123.125 usec -> 2021-08-12T00:24:23.309.592.850 (XO: 44.309594441)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 120.525 usec -> 2021-08-12T00:24:23.309.590.250 (XO: 44.309591841)

 - Block number: 4 starting at 2021-08-12T00:24:25.269.507.725 (XO: 46.269509741 - 46.269815742, t=37.2 degC)  Rank: 00079
   TM values: Max =   203  Min =  -244  Ave =    -4.45  Std =    17.87
   Min TM value:-244 at an offset of 108.050 usec -> 2021-08-12T00:24:25.269.615.775 (XO: 46.269617792)
   Max TM value:203 at an offset of 107.750 usec -> 2021-08-12T00:24:25.269.615.475 (XO: 46.269617492)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 110.438 usec -> 2021-08-12T00:24:25.269.618.162 (XO: 46.269620179)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 107.875 usec -> 2021-08-12T00:24:25.269.615.600 (XO: 46.269617617)
