-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 07:48:27 2022 UTC
-- File 20220127_105810_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.251675 to 46.353708
-each separately from 6s to 46s and from 251675us to 752309us.
   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, ...
      20.500056 in 1 packets: 18
      13.540273 in 1 packets: 36
      6.060548 in 1 packets: 54
MIU packet time from 2022-01-27T10:58:19.251.675.000 to 2022-01-27T10:58:59.353.708.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, ...
      20.500056 in 1 packets: 18
      13.540273 in 1 packets: 36
      6.060548 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.7915271 to 47.7913833
   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, ...
      19.9999280 in 1 packets: 18
      13.9999497 in 1 packets: 36
      5.9999785 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      05 -> 48.5 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20220127_105810_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.0432033 to 8.0434923
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4999830  -- OK for SL --
   MIU time from 2022-01-27T10:58:19.251.675.000 to 2022-01-27T10:58:19.251.964.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.500056

 - 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 28.5434753 to 28.5437643
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5402230  -- OK for SL --
   MIU time from 2022-01-27T10:58:39.752.020.000 to 2022-01-27T10:58:39.752.309.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.540273

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.0839873 to 42.0842763
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0605270  -- OK for SL --
   MIU time from 2022-01-27T10:58:53.292.582.000 to 2022-01-27T10:58:53.292.871.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.060548

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.1448033 to 48.1450923
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-27T10:58:59.353.419.000 to 2022-01-27T10:58:59.353.708.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.043203300 corrected by 40bit 10MHz counter of 7.791527100 obtained at 1Hz counter of 6. Result: 6.251677106
--
   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-01-27T10:58:19.251.534.725
   Max 1st sample MIU time among all SL packets: 2022-01-27T10:58:59.353.567.725
   Min 1st sample XO time among all SL packets: 6.251536831
   Max 1st sample XO time among all SL packets: 46.353569998
   TM values from -259 to 223 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-27T10:58:19.251.534.725 (XO: 6.251536831 - 6.251842832, t=37.2 degC)  Rank: 00083
   TM values: Max =   223  Min =  -248  Ave =    -4.49  Std =    20.11
   Min TM value:-248 at an offset of 122.850 usec -> 2022-01-27T10:58:19.251.657.575 (XO: 6.251659681)
   Max TM value:223 at an offset of 120.413 usec -> 2022-01-27T10:58:19.251.655.137 (XO: 6.251657243)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 122.963 usec -> 2022-01-27T10:58:19.251.657.687 (XO: 6.251659793)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 120.500 usec -> 2022-01-27T10:58:19.251.655.225 (XO: 6.251657331)

 - Block number: 2 starting at 2022-01-27T10:58:39.751.879.725 (XO: 26.751882557 - 26.752188558, t=37.2 degC)  Rank: 00072
   TM values: Max =   181  Min =  -250  Ave =    -4.56  Std =    27.84
   Min TM value:-250 at an offset of 86.875 usec -> 2022-01-27T10:58:39.751.966.600 (XO: 26.751969432)
   Max TM value:181 at an offset of 87.113 usec -> 2022-01-27T10:58:39.751.966.837 (XO: 26.751969669)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 87.000 usec -> 2022-01-27T10:58:39.751.966.725 (XO: 26.751969557)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 84.550 usec -> 2022-01-27T10:58:39.751.964.275 (XO: 26.751967107)

 - Block number: 3 starting at 2022-01-27T10:58:53.292.441.725 (XO: 40.292443249 - 40.292749250, t=37.2 degC)  Rank: 00079
   TM values: Max =   222  Min =  -259  Ave =    -4.44  Std =    24.51
   Min TM value:-259 at an offset of 100.550 usec -> 2022-01-27T10:58:53.292.542.275 (XO: 40.292543799)
   Max TM value:222 at an offset of 98.138 usec -> 2022-01-27T10:58:53.292.539.862 (XO: 40.292541386)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 100.650 usec -> 2022-01-27T10:58:53.292.542.375 (XO: 40.292543899)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 98.238 usec -> 2022-01-27T10:58:53.292.539.962 (XO: 40.292541486)

 - Block number: 4 starting at 2022-01-27T10:58:59.353.278.725 (XO: 46.353280997 - 46.353586998, t=37.2 degC)  Rank: 00074
   TM values: Max =   151  Min =  -227  Ave =    -4.60  Std =    20.15
   Min TM value:-227 at an offset of 123.025 usec -> 2022-01-27T10:58:59.353.401.750 (XO: 46.353404022)
   Max TM value:151 at an offset of 120.525 usec -> 2022-01-27T10:58:59.353.399.250 (XO: 46.353401522)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 123.125 usec -> 2022-01-27T10:58:59.353.401.850 (XO: 46.353404122)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 120.650 usec -> 2022-01-27T10:58:59.353.399.375 (XO: 46.353401647)
