-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 14:48:02 2023 UTC
-- File 20220704_202737_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 6.556288 to 31.772555
-each separately from 6s to 31s and from 82831us to 772555us.
   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, ...
      21.526254 in 1 packets: 18
      3.689146 in 1 packets: 36
MIU packet time from 2022-07-04T20:27:46.556.288.000 to 2022-07-04T20:28:11.772.555.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, ...
      21.526254 in 1 packets: 18
      3.689146 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.2486283 to 33.2485381
   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, ...
      21.9999206 in 1 packets: 18
      2.9999892 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 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 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 36 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 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20220704_202737_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.8049169 to 8.8052059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5261750  -- OK for SL --
   MIU time from 2022-07-04T20:27:46.556.288.000 to 2022-07-04T20:27:46.556.577.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.526254

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.3313809 to 30.3316699
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.6891350  -- OK for SL --
   MIU time from 2022-07-04T20:28:08.082.831.000 to 2022-07-04T20:28:08.083.120.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.689146

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0208049 to 34.0210939
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-04T20:28:11.772.266.000 to 2022-07-04T20:28:11.772.555.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 = 6, 32bit 10MHz counter = 8.804916900 corrected by 40bit 10MHz counter of 8.248628300 obtained at 1Hz counter of 6. Result: 6.556290603
--
   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-04T20:27:46.556.147.725
   Max 1st sample MIU time among all SL packets: 2022-07-04T20:28:11.772.414.725
   Min 1st sample XO time among all SL packets: 6.556150327
   Max 1st sample XO time among all SL packets: 31.772418383
   TM values from -338 to 275 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-04T20:27:46.556.147.725 (XO: 6.556150327 - 6.556456328, t=38.8 degC)  Rank: 00087
   TM values: Max =   218  Min =  -338  Ave =    -4.48  Std =    29.35
   Min TM value:-338 at an offset of 120.613 usec -> 2022-07-04T20:27:46.556.268.337 (XO: 6.556270940)
   Max TM value:218 at an offset of 118.063 usec -> 2022-07-04T20:27:46.556.265.787 (XO: 6.556268390)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 120.725 usec -> 2022-07-04T20:27:46.556.268.450 (XO: 6.556271053)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 118.225 usec -> 2022-07-04T20:27:46.556.265.950 (XO: 6.556268553)

 - Block number: 2 starting at 2022-07-04T20:28:08.082.690.725 (XO: 28.082692023 - 28.082998024, t=38.8 degC)  Rank: 00079
   TM values: Max =   275  Min =  -264  Ave =    -4.43  Std =    33.33
   Min TM value:-264 at an offset of 106.775 usec -> 2022-07-04T20:28:08.082.797.500 (XO: 28.082798798)
   Max TM value:275 at an offset of 106.525 usec -> 2022-07-04T20:28:08.082.797.250 (XO: 28.082798548)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 104.500 usec -> 2022-07-04T20:28:08.082.795.225 (XO: 28.082796523)
   Min dTM/dt [1/us]:-2.71e+03 at an offset of 106.613 usec -> 2022-07-04T20:28:08.082.797.337 (XO: 28.082798636)

 - Block number: 3 starting at 2022-07-04T20:28:11.772.125.725 (XO: 31.772129382 - 31.772435383, t=38.8 degC)  Rank: 00075
   TM values: Max =   268  Min =  -329  Ave =    -4.39  Std =    39.75
   Min TM value:-329 at an offset of 120.975 usec -> 2022-07-04T20:28:11.772.246.700 (XO: 31.772250357)
   Max TM value:268 at an offset of 118.550 usec -> 2022-07-04T20:28:11.772.244.275 (XO: 31.772247932)
   Max dTM/dt [1/us]:2.74e+03 at an offset of 121.088 usec -> 2022-07-04T20:28:11.772.246.812 (XO: 31.772250470)
   Min dTM/dt [1/us]:-2.97e+03 at an offset of 118.600 usec -> 2022-07-04T20:28:11.772.244.325 (XO: 31.772247982)
