-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 08:15:55 2021 UTC
-- File 20210803_220823_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 1.563411 to 47.471005
-each separately from 1s to 47s and from 81980us to 981698us.
   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, ...
      21.518280 in 1 packets: 18
      11.899140 in 1 packets: 36
      12.489018 in 1 packets: 54
MIU packet time from 2021-08-03T22:08:27.563.411.000 to 2021-08-03T22:09:13.471.005.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, ...
      21.518280 in 1 packets: 18
      11.899140 in 1 packets: 36
      12.489018 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 2.8330650 to 48.8329124
   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, ...
      21.9999270 in 1 packets: 18
      10.9999635 in 1 packets: 36
      12.9999569 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      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 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 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 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 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 20210803_220823_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.3964772 to 3.3967662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5182070  -- OK for SL --
   MIU time from 2021-08-03T22:08:27.563.411.000 to 2021-08-03T22:08:27.563.700.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.518280

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.9149732 to 24.9152622
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8991030  -- OK for SL --
   MIU time from 2021-08-03T22:08:49.081.980.000 to 2021-08-03T22:08:49.082.269.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.899140

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.8143652 to 36.8146542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4889750  -- OK for SL --
   MIU time from 2021-08-03T22:09:00.981.409.000 to 2021-08-03T22:09:00.981.698.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.489018

 - 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 49.3036292 to 49.3039182
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T22:09:13.470.716.000 to 2021-08-03T22:09:13.471.005.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 = 1, 32bit 10MHz counter = 3.396477200 corrected by 40bit 10MHz counter of 2.833065000 obtained at 1Hz counter of 1. Result: 1.563414059
--
   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-03T22:08:27.563.270.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T22:09:13.470.864.725
   Min 1st sample XO time among all SL packets: 1.563273784
   Max 1st sample XO time among all SL packets: 47.470867126
   TM values from -260 to 232 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T22:08:27.563.270.725 (XO: 1.563273784 - 1.563579785, t=37.2 degC)  Rank: 00083
   TM values: Max =   232  Min =  -257  Ave =    -4.50  Std =    25.35
   Min TM value:-257 at an offset of 111.050 usec -> 2021-08-03T22:08:27.563.381.775 (XO: 1.563384834)
   Max TM value:232 at an offset of 96.088 usec -> 2021-08-03T22:08:27.563.366.812 (XO: 1.563369872)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 98.775 usec -> 2021-08-03T22:08:27.563.369.500 (XO: 1.563372559)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 96.225 usec -> 2021-08-03T22:08:27.563.366.950 (XO: 1.563370009)

 - Block number: 2 starting at 2021-08-03T22:08:49.081.839.725 (XO: 23.081841195 - 23.082147196, t=37.2 degC)  Rank: 00080
   TM values: Max =   208  Min =  -252  Ave =    -4.45  Std =    21.47
   Min TM value:-252 at an offset of 121.963 usec -> 2021-08-03T22:08:49.081.961.687 (XO: 23.081963158)
   Max TM value:208 at an offset of 124.575 usec -> 2021-08-03T22:08:49.081.964.300 (XO: 23.081965770)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 124.375 usec -> 2021-08-03T22:08:49.081.964.100 (XO: 23.081965570)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 121.738 usec -> 2021-08-03T22:08:49.081.961.462 (XO: 23.081962933)

 - Block number: 3 starting at 2021-08-03T22:09:00.981.268.725 (XO: 34.981272663 - 34.981578664, t=37.2 degC)  Rank: 00082
   TM values: Max =   229  Min =  -260  Ave =    -4.45  Std =    20.36
   Min TM value:-260 at an offset of 111.825 usec -> 2021-08-03T22:09:00.981.380.550 (XO: 34.981384489)
   Max TM value:229 at an offset of 111.538 usec -> 2021-08-03T22:09:00.981.380.262 (XO: 34.981384201)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 114.175 usec -> 2021-08-03T22:09:00.981.382.900 (XO: 34.981386839)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 111.638 usec -> 2021-08-03T22:09:00.981.380.362 (XO: 34.981384301)

 - Block number: 4 starting at 2021-08-03T22:09:13.470.575.725 (XO: 47.470578125 - 47.470884126, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -260  Ave =    -4.54  Std =    24.08
   Min TM value:-260 at an offset of 124.963 usec -> 2021-08-03T22:09:13.470.700.687 (XO: 47.470703088)
   Max TM value:216 at an offset of 124.688 usec -> 2021-08-03T22:09:13.470.700.412 (XO: 47.470702813)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 127.413 usec -> 2021-08-03T22:09:13.470.703.137 (XO: 47.470705538)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 169.138 usec -> 2021-08-03T22:09:13.470.744.863 (XO: 47.470747263)
