-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 21:55:34 2022 UTC
-- File 20220207_231213_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 11.650448 to 31.211863
-each separately from 11s to 31s and from 170817us to 650737us.
   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, ...
      4.520080 in 1 packets: 18
      15.040468 in 1 packets: 36
MIU packet time from 2022-02-07T23:12:27.650.448.000 to 2022-02-07T23:12:47.211.863.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, ...
      4.520080 in 1 packets: 18
      15.040468 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 12.5513922 to 32.5513211
   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.9999822 in 1 packets: 18
      14.9999467 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 1 packets: 37
      3 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 1 packets: 37
      3 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 20220207_231213_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2018405 to 13.2021295
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.5200630  -- OK for SL --
   MIU time from 2022-02-07T23:12:27.650.448.000 to 2022-02-07T23:12:27.650.737.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.520080

 - 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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7221925 to 17.7224815
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0404150  -- OK for SL --
   MIU time from 2022-02-07T23:12:32.170.817.000 to 2022-02-07T23:12:32.171.106.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.040468

 - 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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7628965 to 32.7631855
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T23:12:47.211.574.000 to 2022-02-07T23:12:47.211.863.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 = 11, 32bit 10MHz counter = 13.201840500 corrected by 40bit 10MHz counter of 12.551392200 obtained at 1Hz counter of 11. Result: 11.650450577
--
   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-07T23:12:27.650.307.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T23:12:47.211.722.725
   Min 1st sample XO time among all SL packets: 11.650310301
   Max 1st sample XO time among all SL packets: 31.211724887
   TM values from -305 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T23:12:27.650.307.725 (XO: 11.650310301 - 11.650616302, t=37.2 degC)  Rank: 00076
   TM values: Max =   184  Min =  -281  Ave =    -4.46  Std =    20.93
   Min TM value:-281 at an offset of 131.150 usec -> 2022-02-07T23:12:27.650.438.875 (XO: 11.650441452)
   Max TM value:184 at an offset of 116.675 usec -> 2022-02-07T23:12:27.650.424.400 (XO: 11.650426976)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 131.250 usec -> 2022-02-07T23:12:27.650.438.975 (XO: 11.650441552)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 128.775 usec -> 2022-02-07T23:12:27.650.436.500 (XO: 11.650439077)

 - Block number: 2 starting at 2022-02-07T23:12:32.170.676.725 (XO: 16.170678439 - 16.170984441, t=37.2 degC)  Rank: 00089
   TM values: Max =   242  Min =  -305  Ave =    -4.58  Std =    26.79
   Min TM value:-305 at an offset of 92.838 usec -> 2022-02-07T23:12:32.170.769.562 (XO: 16.170771277)
   Max TM value:242 at an offset of 90.425 usec -> 2022-02-07T23:12:32.170.767.150 (XO: 16.170768865)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 93.000 usec -> 2022-02-07T23:12:32.170.769.725 (XO: 16.170771440)
   Min dTM/dt [1/us]:-2.79e+03 at an offset of 90.513 usec -> 2022-02-07T23:12:32.170.767.237 (XO: 16.170768952)

 - Block number: 3 starting at 2022-02-07T23:12:47.211.433.725 (XO: 31.211435886 - 31.211741887, t=37.2 degC)  Rank: 00089
   TM values: Max =   191  Min =  -261  Ave =    -4.47  Std =    19.42
   Min TM value:-261 at an offset of 116.850 usec -> 2022-02-07T23:12:47.211.550.575 (XO: 31.211552737)
   Max TM value:191 at an offset of 114.363 usec -> 2022-02-07T23:12:47.211.548.087 (XO: 31.211550249)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 116.963 usec -> 2022-02-07T23:12:47.211.550.687 (XO: 31.211552849)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 114.500 usec -> 2022-02-07T23:12:47.211.548.225 (XO: 31.211550387)
