-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 16:58:43 2023 UTC
-- File 20220616_115549_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 11.622363 to 53.012806
-each separately from 11s to 53s and from 12517us to 858752us.
   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, ...
      16.235811 in 1 packets: 18
      16.515847 in 1 packets: 36
      8.637629 in 1 packets: 54
MIU packet time from 2022-06-16T11:56:03.622.363.000 to 2022-06-16T11:56:45.012.806.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, ...
      16.235811 in 1 packets: 18
      16.515847 in 1 packets: 36
      8.637629 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 12.6471594 to 54.6470219
   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, ...
      15.9999476 in 1 packets: 18
      16.9999443 in 1 packets: 36
      8.9999706 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FF -> 56.3 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C5 -> 43.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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220616_115549_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2695241 to 13.2698131
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2357590  -- OK for SL --
   MIU time from 2022-06-16T11:56:03.622.363.000 to 2022-06-16T11:56:03.622.652.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.235811

 - 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 29.5055721 to 29.5058611
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5157910  -- OK for SL --
   MIU time from 2022-06-16T11:56:19.858.463.000 to 2022-06-16T11:56:19.858.752.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.515847

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.0216521 to 46.0219411
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6375990  -- OK for SL --
   MIU time from 2022-06-16T11:56:36.374.599.000 to 2022-06-16T11:56:36.374.888.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.637629

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.6595401 to 54.6598291
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-16T11:56:45.012.517.000 to 2022-06-16T11:56:45.012.806.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 = 11, 32bit 10MHz counter = 13.269524100 corrected by 40bit 10MHz counter of 12.647159400 obtained at 1Hz counter of 11. Result: 11.622366754
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-16T11:56:03.622.222.725
   Max 1st sample MIU time among all SL packets: 2022-06-16T11:56:45.012.665.725
   Min 1st sample XO time among all SL packets: 11.622226478
   Max 1st sample XO time among all SL packets: 53.012666966
   TM values from -255 to 213 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-16T11:56:03.622.222.725 (XO: 11.622226478 - 11.622532479, t=43.6 degC)  Rank: 00085
   TM values: Max =   208  Min =  -255  Ave =    -4.51  Std =    28.11
   Min TM value:-255 at an offset of 111.613 usec -> 2022-06-16T11:56:03.622.334.337 (XO: 11.622338091)
   Max TM value:208 at an offset of 113.863 usec -> 2022-06-16T11:56:03.622.336.587 (XO: 11.622340341)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 113.725 usec -> 2022-06-16T11:56:03.622.336.450 (XO: 11.622340204)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 111.375 usec -> 2022-06-16T11:56:03.622.334.100 (XO: 11.622337854)

 - Block number: 2 starting at 2022-06-16T11:56:19.858.322.725 (XO: 27.858327657 - 27.858633658, t=43.6 degC)  Rank: 00079
   TM values: Max =   213  Min =  -211  Ave =    -4.52  Std =    23.42
   Min TM value:-211 at an offset of 130.100 usec -> 2022-06-16T11:56:19.858.452.825 (XO: 27.858457758)
   Max TM value:213 at an offset of 130.375 usec -> 2022-06-16T11:56:19.858.453.100 (XO: 27.858458033)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 130.225 usec -> 2022-06-16T11:56:19.858.452.950 (XO: 27.858457883)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 102.925 usec -> 2022-06-16T11:56:19.858.425.650 (XO: 27.858430583)

 - Block number: 3 starting at 2022-06-16T11:56:36.374.458.725 (XO: 44.374461761 - 44.374767762, t=43.6 degC)  Rank: 00078
   TM values: Max =   195  Min =  -254  Ave =    -4.50  Std =    19.13
   Min TM value:-254 at an offset of 123.563 usec -> 2022-06-16T11:56:36.374.582.287 (XO: 44.374585324)
   Max TM value:195 at an offset of 123.288 usec -> 2022-06-16T11:56:36.374.582.012 (XO: 44.374585049)
   Max dTM/dt [1/us]:1.56e+03 at an offset of 125.700 usec -> 2022-06-16T11:56:36.374.584.425 (XO: 44.374587461)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 123.413 usec -> 2022-06-16T11:56:36.374.582.137 (XO: 44.374585174)

 - Block number: 4 starting at 2022-06-16T11:56:45.012.376.725 (XO: 53.012377965 - 53.012683966, t=43.6 degC)  Rank: 00077
   TM values: Max =   202  Min =  -245  Ave =    -4.44  Std =    23.15
   Min TM value:-245 at an offset of 126.963 usec -> 2022-06-16T11:56:45.012.503.687 (XO: 53.012504928)
   Max TM value:202 at an offset of 102.100 usec -> 2022-06-16T11:56:45.012.478.825 (XO: 53.012480065)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 129.213 usec -> 2022-06-16T11:56:45.012.505.937 (XO: 53.012507178)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 102.238 usec -> 2022-06-16T11:56:45.012.478.962 (XO: 53.012480202)
