-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 10:53:18 2021 UTC
-- File 20210804_000627_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.087671 to 39.934063
-each separately from 13s to 39s and from 87671us to 934063us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.167072 in 1 packets: 18
      21.678453 in 1 packets: 36
MIU packet time from 2021-08-04T00:06:43.087.671.000 to 2021-08-04T00:07:09.934.063.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.167072 in 1 packets: 18
      21.678453 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 14.8179530 to 40.8178668
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      4.9999834 in 1 packets: 18
      20.9999304 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210804_000627_1227.dat, 3 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 14.9056254 to 14.9059144
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.1670550  -- OK for SL --
   MIU time from 2021-08-04T00:06:43.087.671.000 to 2021-08-04T00:06:43.087.960.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.167072

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.0729694 to 20.0732584
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.6783830  -- OK for SL --
   MIU time from 2021-08-04T00:06:48.255.032.000 to 2021-08-04T00:06:48.255.321.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.678453

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.7516414 to 41.7519304
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-04T00:07:09.933.774.000 to 2021-08-04T00:07:09.934.063.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 14.905625400 corrected by 40bit 10MHz counter of 14.817953000 obtained at 1Hz counter of 13. Result: 13.087672689
--
   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-04T00:06:43.087.530.725
   Max 1st sample MIU time among all SL packets: 2021-08-04T00:07:09.933.922.725
   Min 1st sample XO time among all SL packets: 13.087532414
   Max 1st sample XO time among all SL packets: 39.933926500
   TM values from -299 to 219 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-04T00:06:43.087.530.725 (XO: 13.087532414 - 13.087838415, t=37.2 degC)  Rank: 00085
   TM values: Max =   202  Min =  -215  Ave =    -4.45  Std =    21.01
   Min TM value:-215 at an offset of 114.463 usec -> 2021-08-04T00:06:43.087.645.187 (XO: 13.087646877)
   Max TM value:202 at an offset of 117.088 usec -> 2021-08-04T00:06:43.087.647.812 (XO: 13.087649502)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 116.963 usec -> 2021-08-04T00:06:43.087.647.687 (XO: 13.087649377)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 114.250 usec -> 2021-08-04T00:06:43.087.644.975 (XO: 13.087646664)

 - Block number: 2 starting at 2021-08-04T00:06:48.254.891.725 (XO: 18.254893566 - 18.255199567, t=37.2 degC)  Rank: 00087
   TM values: Max =   219  Min =  -246  Ave =    -4.38  Std =    22.83
   Min TM value:-246 at an offset of 126.063 usec -> 2021-08-04T00:06:48.255.017.787 (XO: 18.255019629)
   Max TM value:219 at an offset of 128.650 usec -> 2021-08-04T00:06:48.255.020.375 (XO: 18.255022217)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 128.475 usec -> 2021-08-04T00:06:48.255.020.200 (XO: 18.255022042)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 125.925 usec -> 2021-08-04T00:06:48.255.017.650 (XO: 18.255019492)

 - Block number: 3 starting at 2021-08-04T00:07:09.933.633.725 (XO: 39.933637499 - 39.933943500, t=37.2 degC)  Rank: 00080
   TM values: Max =   213  Min =  -299  Ave =    -4.50  Std =    29.64
   Min TM value:-299 at an offset of 198.663 usec -> 2021-08-04T00:07:09.933.832.388 (XO: 39.933836163)
   Max TM value:213 at an offset of 116.013 usec -> 2021-08-04T00:07:09.933.749.737 (XO: 39.933753512)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 115.875 usec -> 2021-08-04T00:07:09.933.749.600 (XO: 39.933753375)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 185.126 usec -> 2021-08-04T00:07:09.933.818.850 (XO: 39.933822625)
