-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 10:37:26 2021 UTC
-- File 20210818_163114_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 4.328319 to 57.666624
-each separately from 4s to 57s and from 227490us to 666624us.
   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.898882 in 1 packets: 18
      5.349568 in 1 packets: 36
      23.088699 in 1 packets: 54
MIU packet time from 2021-08-18T16:31:21.328.319.000 to 2021-08-18T16:32:14.666.624.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.898882 in 1 packets: 18
      5.349568 in 1 packets: 36
      23.088699 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 5.9244817 to 58.9243052
   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.9999168 in 1 packets: 18
      4.9999833 in 1 packets: 36
      22.9999234 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, ...
      04 -> 49.8 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 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 20210818_163114_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 6.2528012 to 6.2530902
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8987990  -- OK for SL --
   MIU time from 2021-08-18T16:31:21.328.319.000 to 2021-08-18T16:31:21.328.608.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.898882

 - 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 31.1518892 to 31.1521782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.3495510  -- OK for SL --
   MIU time from 2021-08-18T16:31:46.227.490.000 to 2021-08-18T16:31:46.227.779.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.349568

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.5017292 to 36.5020182
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0886230  -- OK for SL --
   MIU time from 2021-08-18T16:31:51.577.347.000 to 2021-08-18T16:31:51.577.636.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.088699

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.5906412 to 59.5909302
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T16:32:14.666.335.000 to 2021-08-18T16:32:14.666.624.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 = 4, 32bit 10MHz counter = 6.252801200 corrected by 40bit 10MHz counter of 5.924481700 obtained at 1Hz counter of 4. Result: 4.328320583
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-18T16:31:21.328.178.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T16:32:14.666.483.725
   Min 1st sample XO time among all SL packets: 4.328180308
   Max 1st sample XO time among all SL packets: 57.666486924
   TM values from -256 to 246 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T16:31:21.328.178.725 (XO: 4.328180308 - 4.328486309, t=37.2 degC)  Rank: 00078
   TM values: Max =   224  Min =  -252  Ave =    -4.70  Std =    22.29
   Min TM value:-252 at an offset of 123.438 usec -> 2021-08-18T16:31:21.328.302.162 (XO: 4.328303746)
   Max TM value:224 at an offset of 126.038 usec -> 2021-08-18T16:31:21.328.304.762 (XO: 4.328306346)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 108.213 usec -> 2021-08-18T16:31:21.328.286.937 (XO: 4.328288521)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 123.313 usec -> 2021-08-18T16:31:21.328.302.037 (XO: 4.328303621)

 - Block number: 2 starting at 2021-08-18T16:31:46.227.349.725 (XO: 29.227351175 - 29.227657176, t=37.2 degC)  Rank: 00080
   TM values: Max =   246  Min =  -242  Ave =    -4.64  Std =    21.61
   Min TM value:-242 at an offset of 123.100 usec -> 2021-08-18T16:31:46.227.472.825 (XO: 29.227474276)
   Max TM value:246 at an offset of 120.850 usec -> 2021-08-18T16:31:46.227.470.575 (XO: 29.227472026)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 120.725 usec -> 2021-08-18T16:31:46.227.470.450 (XO: 29.227471901)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 122.888 usec -> 2021-08-18T16:31:46.227.472.612 (XO: 29.227474063)

 - Block number: 3 starting at 2021-08-18T16:31:51.577.206.725 (XO: 34.577209030 - 34.577515031, t=37.2 degC)  Rank: 00077
   TM values: Max =   206  Min =  -256  Ave =    -4.57  Std =    21.19
   Min TM value:-256 at an offset of 97.613 usec -> 2021-08-18T16:31:51.577.304.337 (XO: 34.577306643)
   Max TM value:206 at an offset of 97.325 usec -> 2021-08-18T16:31:51.577.304.050 (XO: 34.577306355)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 111.713 usec -> 2021-08-18T16:31:51.577.318.437 (XO: 34.577320743)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 109.088 usec -> 2021-08-18T16:31:51.577.315.812 (XO: 34.577318118)

 - Block number: 4 starting at 2021-08-18T16:32:14.666.194.725 (XO: 57.666197923 - 57.666503924, t=37.2 degC)  Rank: 00085
   TM values: Max =   217  Min =  -224  Ave =    -4.55  Std =    18.80
   Min TM value:-224 at an offset of 121.950 usec -> 2021-08-18T16:32:14.666.316.675 (XO: 57.666319874)
   Max TM value:217 at an offset of 124.650 usec -> 2021-08-18T16:32:14.666.319.375 (XO: 57.666322574)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 124.538 usec -> 2021-08-18T16:32:14.666.319.262 (XO: 57.666322461)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 121.750 usec -> 2021-08-18T16:32:14.666.316.475 (XO: 57.666319674)
