-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 13:17:01 2023 UTC
-- File 20220623_121847_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 1.800916 to 51.546188
-each separately from 1s to 51s and from 545899us to 801205us.
   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, ...
      17.901905 in 1 packets: 18
      21.061660 in 1 packets: 36
      10.780551 in 1 packets: 54
MIU packet time from 2022-06-23T12:18:51.800.916.000 to 2022-06-23T12:19:41.546.188.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, ...
      17.901905 in 1 packets: 18
      21.061660 in 1 packets: 36
      10.780551 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 2.7703278 to 52.7701442
   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, ...
      17.9999339 in 1 packets: 18
      20.9999228 in 1 packets: 36
      10.9999597 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220623_121847_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5712443 to 3.5715333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9018390  -- OK for SL --
   MIU time from 2022-06-23T12:18:51.800.916.000 to 2022-06-23T12:18:51.801.205.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.901905

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.4733723 to 21.4736613
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.0615830  -- OK for SL --
   MIU time from 2022-06-23T12:19:09.703.110.000 to 2022-06-23T12:19:09.703.399.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.061660

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.5352443 to 42.5355333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7805110  -- OK for SL --
   MIU time from 2022-06-23T12:19:30.765.059.000 to 2022-06-23T12:19:30.765.348.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.780551

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.3160443 to 53.3163333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-23T12:19:41.545.899.000 to 2022-06-23T12:19:41.546.188.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 = 1, 32bit 10MHz counter = 3.571244300 corrected by 40bit 10MHz counter of 2.770327800 obtained at 1Hz counter of 1. Result: 1.800919383
--
   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-06-23T12:18:51.800.775.725
   Max 1st sample MIU time among all SL packets: 2022-06-23T12:19:41.546.047.725
   Min 1st sample XO time among all SL packets: 1.800779108
   Max 1st sample XO time among all SL packets: 51.546050845
   TM values from -271 to 196 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-23T12:18:51.800.775.725 (XO: 1.800779108 - 1.801085109, t=37.2 degC)  Rank: 00082
   TM values: Max =   190  Min =  -271  Ave =    -4.56  Std =    20.00
   Min TM value:-271 at an offset of 101.500 usec -> 2022-06-23T12:18:51.800.877.225 (XO: 1.800880608)
   Max TM value:190 at an offset of 98.975 usec -> 2022-06-23T12:18:51.800.874.700 (XO: 1.800878083)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 101.600 usec -> 2022-06-23T12:18:51.800.877.325 (XO: 1.800880708)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 99.113 usec -> 2022-06-23T12:18:51.800.874.837 (XO: 1.800878221)

 - Block number: 2 starting at 2022-06-23T12:19:09.702.969.725 (XO: 19.702972926 - 19.703278927, t=37.2 degC)  Rank: 00078
   TM values: Max =   186  Min =  -257  Ave =    -4.58  Std =    18.22
   Min TM value:-257 at an offset of 100.788 usec -> 2022-06-23T12:19:09.703.070.512 (XO: 19.703073714)
   Max TM value:186 at an offset of 98.250 usec -> 2022-06-23T12:19:09.703.067.975 (XO: 19.703071176)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 100.913 usec -> 2022-06-23T12:19:09.703.070.637 (XO: 19.703073839)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 98.350 usec -> 2022-06-23T12:19:09.703.068.075 (XO: 19.703071276)

 - Block number: 3 starting at 2022-06-23T12:19:30.764.918.725 (XO: 40.764922279 - 40.765228280, t=37.2 degC)  Rank: 00085
   TM values: Max =   180  Min =  -263  Ave =    -4.45  Std =    20.43
   Min TM value:-263 at an offset of 124.975 usec -> 2022-06-23T12:19:30.765.043.700 (XO: 40.765047254)
   Max TM value:180 at an offset of 120.675 usec -> 2022-06-23T12:19:30.765.039.400 (XO: 40.765042954)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 125.075 usec -> 2022-06-23T12:19:30.765.043.800 (XO: 40.765047354)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 122.550 usec -> 2022-06-23T12:19:30.765.041.275 (XO: 40.765044829)

 - Block number: 4 starting at 2022-06-23T12:19:41.545.758.725 (XO: 51.545761844 - 51.546067845, t=37.2 degC)  Rank: 00080
   TM values: Max =   196  Min =  -242  Ave =    -4.57  Std =    24.04
   Min TM value:-242 at an offset of 168.988 usec -> 2022-06-23T12:19:41.545.927.713 (XO: 51.545930832)
   Max TM value:196 at an offset of 110.488 usec -> 2022-06-23T12:19:41.545.869.212 (XO: 51.545872332)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 113.150 usec -> 2022-06-23T12:19:41.545.871.875 (XO: 51.545874995)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 110.600 usec -> 2022-06-23T12:19:41.545.869.325 (XO: 51.545872445)
