-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 21 14:33:13 2021 UTC
-- File 20210820_170451_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 6.550382 to 55.880483
-each separately from 6s to 55s and from 440030us to 910193us.
   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, ...
      18.889359 in 1 packets: 18
      15.469585 in 1 packets: 36
      14.970001 in 1 packets: 54
MIU packet time from 2021-08-20T17:05:00.550.382.000 to 2021-08-20T17:05:49.880.483.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, ...
      18.889359 in 1 packets: 18
      15.469585 in 1 packets: 36
      14.970001 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 7.8268349 to 56.8266715
   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, ...
      18.9999367 in 1 packets: 18
      14.9999499 in 1 packets: 36
      14.9999500 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 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 20210820_170451_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.3772177 to 8.3775067
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8892950  -- OK for SL --
   MIU time from 2021-08-20T17:05:00.550.382.000 to 2021-08-20T17:05:00.550.671.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.889359

 - 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 27.2668017 to 27.2670907
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4695350  -- OK for SL --
   MIU time from 2021-08-20T17:05:19.440.030.000 to 2021-08-20T17:05:19.440.319.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.469585

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.7366257 to 42.7369147
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9699510  -- OK for SL --
   MIU time from 2021-08-20T17:05:34.909.904.000 to 2021-08-20T17:05:34.910.193.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.970001

 - 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 57.7068657 to 57.7071547
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-20T17:05:49.880.194.000 to 2021-08-20T17:05:49.880.483.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 = 6, 32bit 10MHz counter = 8.377217700 corrected by 40bit 10MHz counter of 7.826834900 obtained at 1Hz counter of 6. Result: 6.550384616
--
   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-20T17:05:00.550.241.725
   Max 1st sample MIU time among all SL packets: 2021-08-20T17:05:49.880.342.725
   Min 1st sample XO time among all SL packets: 6.550244341
   Max 1st sample XO time among all SL packets: 55.880345830
   TM values from -265 to 243 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-20T17:05:00.550.241.725 (XO: 6.550244341 - 6.550550342, t=37.2 degC)  Rank: 00080
   TM values: Max =   243  Min =  -256  Ave =    -4.62  Std =    24.88
   Min TM value:-256 at an offset of 101.063 usec -> 2021-08-20T17:05:00.550.342.787 (XO: 6.550345404)
   Max TM value:243 at an offset of 100.775 usec -> 2021-08-20T17:05:00.550.342.500 (XO: 6.550345116)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 98.763 usec -> 2021-08-20T17:05:00.550.340.487 (XO: 6.550343104)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 100.900 usec -> 2021-08-20T17:05:00.550.342.625 (XO: 6.550345241)

 - Block number: 2 starting at 2021-08-20T17:05:19.439.889.725 (XO: 25.439891321 - 25.440197322, t=37.2 degC)  Rank: 00080
   TM values: Max =   222  Min =  -265  Ave =    -4.39  Std =    22.59
   Min TM value:-265 at an offset of 128.525 usec -> 2021-08-20T17:05:19.440.018.250 (XO: 25.440019846)
   Max TM value:222 at an offset of 131.063 usec -> 2021-08-20T17:05:19.440.020.787 (XO: 25.440022384)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 130.875 usec -> 2021-08-20T17:05:19.440.020.600 (XO: 25.440022196)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 128.300 usec -> 2021-08-20T17:05:19.440.018.025 (XO: 25.440019621)

 - Block number: 3 starting at 2021-08-20T17:05:34.909.763.725 (XO: 40.909767018 - 40.910073019, t=37.2 degC)  Rank: 00084
   TM values: Max =   236  Min =  -235  Ave =    -4.47  Std =    22.90
   Min TM value:-235 at an offset of 125.813 usec -> 2021-08-20T17:05:34.909.889.537 (XO: 40.909892831)
   Max TM value:236 at an offset of 128.300 usec -> 2021-08-20T17:05:34.909.892.025 (XO: 40.909895319)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 128.150 usec -> 2021-08-20T17:05:34.909.891.875 (XO: 40.909895169)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 125.650 usec -> 2021-08-20T17:05:34.909.889.375 (XO: 40.909892669)

 - Block number: 4 starting at 2021-08-20T17:05:49.880.053.725 (XO: 55.880056829 - 55.880362830, t=37.2 degC)  Rank: 00085
   TM values: Max =   219  Min =  -250  Ave =    -4.49  Std =    21.02
   Min TM value:-250 at an offset of 125.325 usec -> 2021-08-20T17:05:49.880.179.050 (XO: 55.880182155)
   Max TM value:219 at an offset of 127.813 usec -> 2021-08-20T17:05:49.880.181.537 (XO: 55.880184642)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 127.650 usec -> 2021-08-20T17:05:49.880.181.375 (XO: 55.880184480)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 125.100 usec -> 2021-08-20T17:05:49.880.178.825 (XO: 55.880181930)
