-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 23:03:52 2022 UTC
-- File 20220208_000341_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.474055 to 59.029599
-each separately from 3s to 59s and from 29310us to 951667us.
   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, ...
      24.877432 in 1 packets: 18
      5.599313 in 1 packets: 36
      25.077643 in 1 packets: 54
MIU packet time from 2022-02-08T00:03:47.474.055.000 to 2022-02-08T00:04:43.029.599.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, ...
      24.877432 in 1 packets: 18
      5.599313 in 1 packets: 36
      25.077643 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.8964016 to 60.8962025
   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, ...
      24.9999112 in 1 packets: 18
      4.9999822 in 1 packets: 36
      25.9999075 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      07 -> 45.9 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 20220208_000341_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 5.3704574 to 5.3707464
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8773430  -- OK for SL --
   MIU time from 2022-02-08T00:03:47.474.055.000 to 2022-02-08T00:03:47.474.344.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.877432

 - 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.2480894 to 30.2483784
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.5992950  -- OK for SL --
   MIU time from 2022-02-08T00:04:12.351.776.000 to 2022-02-08T00:04:12.352.065.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.599313

 - 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:
      102 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.8476734 to 35.8479624
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.0775510  -- OK for SL --
   MIU time from 2022-02-08T00:04:17.951.378.000 to 2022-02-08T00:04:17.951.667.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.077643

 - 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 60.9255134 to 60.9258024
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-08T00:04:43.029.310.000 to 2022-02-08T00:04:43.029.599.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.370457400 corrected by 40bit 10MHz counter of 4.896401600 obtained at 1Hz counter of 3. Result: 3.474057459
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-08T00:03:47.473.914.725
   Max 1st sample MIU time among all SL packets: 2022-02-08T00:04:43.029.458.725
   Min 1st sample XO time among all SL packets: 3.473917184
   Max 1st sample XO time among all SL packets: 59.029459731
   TM values from -293 to 256 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-08T00:03:47.473.914.725 (XO: 3.473917184 - 3.474223185, t=37.2 degC)  Rank: 00079
   TM values: Max =   223  Min =  -233  Ave =    -4.62  Std =    20.10
   Min TM value:-233 at an offset of 117.463 usec -> 2022-02-08T00:03:47.474.032.187 (XO: 3.474034647)
   Max TM value:223 at an offset of 117.213 usec -> 2022-02-08T00:03:47.474.031.937 (XO: 3.474034397)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 119.800 usec -> 2022-02-08T00:03:47.474.034.525 (XO: 3.474036984)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 117.300 usec -> 2022-02-08T00:03:47.474.032.025 (XO: 3.474034484)

 - Block number: 2 starting at 2022-02-08T00:04:12.351.635.725 (XO: 28.351637591 - 28.351943592, t=37.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -274  Ave =    -4.43  Std =    22.28
   Min TM value:-274 at an offset of 108.013 usec -> 2022-02-08T00:04:12.351.743.737 (XO: 28.351745604)
   Max TM value:221 at an offset of 105.550 usec -> 2022-02-08T00:04:12.351.741.275 (XO: 28.351743141)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 108.138 usec -> 2022-02-08T00:04:12.351.743.862 (XO: 28.351745729)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 105.638 usec -> 2022-02-08T00:04:12.351.741.362 (XO: 28.351743229)

 - Block number: 3 starting at 2022-02-08T00:04:17.951.237.725 (XO: 33.951241549 - 33.951547551, t=37.2 degC)  Rank: 00102
   TM values: Max =   256  Min =  -293  Ave =    -4.43  Std =    27.64
   Min TM value:-293 at an offset of 108.900 usec -> 2022-02-08T00:04:17.951.346.625 (XO: 33.951350450)
   Max TM value:256 at an offset of 106.488 usec -> 2022-02-08T00:04:17.951.344.212 (XO: 33.951348037)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 109.013 usec -> 2022-02-08T00:04:17.951.346.737 (XO: 33.951350562)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 106.613 usec -> 2022-02-08T00:04:17.951.344.337 (XO: 33.951348162)

 - Block number: 4 starting at 2022-02-08T00:04:43.029.169.725 (XO: 59.029170730 - 59.029476731, t=37.2 degC)  Rank: 00079
   TM values: Max =   224  Min =  -256  Ave =    -4.60  Std =    29.54
   Min TM value:-256 at an offset of 109.225 usec -> 2022-02-08T00:04:43.029.278.950 (XO: 59.029279955)
   Max TM value:224 at an offset of 106.775 usec -> 2022-02-08T00:04:43.029.276.500 (XO: 59.029277505)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 109.338 usec -> 2022-02-08T00:04:43.029.279.062 (XO: 59.029280068)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 106.900 usec -> 2022-02-08T00:04:43.029.276.625 (XO: 59.029277630)
