-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 21:19:22 2023 UTC
-- File 20220711_175932_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 5.856011 to 45.737055
-each separately from 5s to 45s and from 576212us to 976925us.
   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, ...
      19.719912 in 1 packets: 18
      15.400135 in 1 packets: 36
      4.759841 in 1 packets: 54
MIU packet time from 2022-07-11T17:59:40.856.011.000 to 2022-07-11T18:00:20.737.055.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, ...
      19.719912 in 1 packets: 18
      15.400135 in 1 packets: 36
      4.759841 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 6.8222471 to 46.8221002
   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.9999266 in 1 packets: 18
      14.9999448 in 1 packets: 36
      4.9999817 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220711_175932_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.6782588 to 7.6785478
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7198390  -- OK for SL --
   MIU time from 2022-07-11T17:59:40.856.011.000 to 2022-07-11T17:59:40.856.300.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.719912

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.3983868 to 27.3986758
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4000790  -- OK for SL --
   MIU time from 2022-07-11T18:00:00.576.212.000 to 2022-07-11T18:00:00.576.501.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.400135

 - 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.7987548 to 42.7990438
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.7598230  -- OK for SL --
   MIU time from 2022-07-11T18:00:15.976.636.000 to 2022-07-11T18:00:15.976.925.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.759841

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.5588668 to 47.5591558
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-11T18:00:20.736.766.000 to 2022-07-11T18:00:20.737.055.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 = 5, 32bit 10MHz counter = 7.678258800 corrected by 40bit 10MHz counter of 6.822247100 obtained at 1Hz counter of 5. Result: 5.856014782
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-11T17:59:40.855.870.725
   Max 1st sample MIU time among all SL packets: 2022-07-11T18:00:20.736.914.725
   Min 1st sample XO time among all SL packets: 5.855874506
   Max 1st sample XO time among all SL packets: 45.736918052
   TM values from -343 to 312 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-11T17:59:40.855.870.725 (XO: 5.855874506 - 5.856180507, t=37.2 degC)  Rank: 00072
   TM values: Max =   277  Min =  -257  Ave =    -4.43  Std =    34.55
   Min TM value:-257 at an offset of 114.088 usec -> 2022-07-11T17:59:40.855.984.812 (XO: 5.855988594)
   Max TM value:277 at an offset of 111.650 usec -> 2022-07-11T17:59:40.855.982.375 (XO: 5.855986157)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 114.263 usec -> 2022-07-11T17:59:40.855.984.987 (XO: 5.855988769)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 111.700 usec -> 2022-07-11T17:59:40.855.982.425 (XO: 5.855986207)

 - Block number: 2 starting at 2022-07-11T18:00:00.576.071.725 (XO: 25.576074956 - 25.576380958, t=37.2 degC)  Rank: 00086
   TM values: Max =   269  Min =  -282  Ave =    -4.45  Std =    33.58
   Min TM value:-282 at an offset of 125.275 usec -> 2022-07-11T18:00:00.576.197.000 (XO: 25.576200232)
   Max TM value:269 at an offset of 122.813 usec -> 2022-07-11T18:00:00.576.194.537 (XO: 25.576197769)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 125.438 usec -> 2022-07-11T18:00:00.576.197.162 (XO: 25.576200394)
   Min dTM/dt [1/us]:-2.74e+03 at an offset of 122.925 usec -> 2022-07-11T18:00:00.576.194.650 (XO: 25.576197882)

 - Block number: 3 starting at 2022-07-11T18:00:15.976.495.725 (XO: 40.976499540 - 40.976805541, t=37.2 degC)  Rank: 00079
   TM values: Max =   312  Min =  -325  Ave =    -4.36  Std =    51.78
   Min TM value:-325 at an offset of 142.013 usec -> 2022-07-11T18:00:15.976.637.738 (XO: 40.976641553)
   Max TM value:312 at an offset of 86.763 usec -> 2022-07-11T18:00:15.976.582.487 (XO: 40.976586303)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 86.650 usec -> 2022-07-11T18:00:15.976.582.375 (XO: 40.976586191)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 84.200 usec -> 2022-07-11T18:00:15.976.579.925 (XO: 40.976583741)

 - Block number: 4 starting at 2022-07-11T18:00:20.736.625.725 (XO: 45.736629051 - 45.736935052, t=37.2 degC)  Rank: 00073
   TM values: Max =   282  Min =  -343  Ave =    -4.42  Std =    49.78
   Min TM value:-343 at an offset of 124.000 usec -> 2022-07-11T18:00:20.736.749.725 (XO: 45.736753051)
   Max TM value:282 at an offset of 121.463 usec -> 2022-07-11T18:00:20.736.747.187 (XO: 45.736750513)
   Max dTM/dt [1/us]:2.77e+03 at an offset of 124.100 usec -> 2022-07-11T18:00:20.736.749.825 (XO: 45.736753151)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 121.575 usec -> 2022-07-11T18:00:20.736.747.300 (XO: 45.736750626)
