-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 07:37:49 2021 UTC
-- File 20210803_211238_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 7.662694 to 37.254890
-each separately from 7s to 37s and from 183739us to 662983us.
   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, ...
      15.520756 in 1 packets: 18
      14.070573 in 1 packets: 36
MIU packet time from 2021-08-03T21:12:48.662.694.000 to 2021-08-03T21:13:18.254.890.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, ...
      15.520756 in 1 packets: 18
      14.070573 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 8.6989970 to 38.6988970
   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, ...
      15.9999467 in 1 packets: 18
      13.9999533 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20210803_211238_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.3616914 to 9.3619804
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.5207030  -- OK for SL --
   MIU time from 2021-08-03T21:12:48.662.694.000 to 2021-08-03T21:12:48.662.983.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.520756

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.8826834 to 24.8829724
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0705270  -- OK for SL --
   MIU time from 2021-08-03T21:13:04.183.739.000 to 2021-08-03T21:13:04.184.028.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.070573

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.9534994 to 38.9537884
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T21:13:18.254.601.000 to 2021-08-03T21:13:18.254.890.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 = 7, 32bit 10MHz counter = 9.361691400 corrected by 40bit 10MHz counter of 8.698997000 obtained at 1Hz counter of 7. Result: 7.662696653
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-08-03T21:12:48.662.553.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T21:13:18.254.749.725
   Min 1st sample XO time among all SL packets: 7.662556378
   Max 1st sample XO time among all SL packets: 37.254751991
   TM values from -280 to 266 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T21:12:48.662.553.725 (XO: 7.662556378 - 7.662862379, t=37.2 degC)  Rank: 00077
   TM values: Max =   199  Min =  -248  Ave =    -4.36  Std =    25.38
   Min TM value:-248 at an offset of 105.188 usec -> 2021-08-03T21:12:48.662.658.912 (XO: 7.662661566)
   Max TM value:199 at an offset of 120.388 usec -> 2021-08-03T21:12:48.662.674.112 (XO: 7.662676766)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 120.250 usec -> 2021-08-03T21:12:48.662.673.975 (XO: 7.662676628)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 105.013 usec -> 2021-08-03T21:12:48.662.658.737 (XO: 7.662661391)

 - Block number: 2 starting at 2021-08-03T21:13:04.183.598.725 (XO: 23.183600049 - 23.183906050, t=37.2 degC)  Rank: 00072
   TM values: Max =   217  Min =  -256  Ave =    -4.39  Std =    25.44
   Min TM value:-256 at an offset of 95.675 usec -> 2021-08-03T21:13:04.183.694.400 (XO: 23.183695725)
   Max TM value:217 at an offset of 95.413 usec -> 2021-08-03T21:13:04.183.694.137 (XO: 23.183695462)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 98.038 usec -> 2021-08-03T21:13:04.183.696.762 (XO: 23.183698087)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 95.513 usec -> 2021-08-03T21:13:04.183.694.237 (XO: 23.183695562)

 - Block number: 3 starting at 2021-08-03T21:13:18.254.460.725 (XO: 37.254462990 - 37.254768991, t=37.2 degC)  Rank: 00083
   TM values: Max =   266  Min =  -280  Ave =    -4.40  Std =    25.93
   Min TM value:-280 at an offset of 111.463 usec -> 2021-08-03T21:13:18.254.572.187 (XO: 37.254574453)
   Max TM value:266 at an offset of 109.300 usec -> 2021-08-03T21:13:18.254.570.025 (XO: 37.254572291)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 109.238 usec -> 2021-08-03T21:13:18.254.569.962 (XO: 37.254572228)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 111.275 usec -> 2021-08-03T21:13:18.254.572.000 (XO: 37.254574266)
