-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 05:05:29 2021 UTC
-- File 20210806_131338_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.143582 to 46.133381
-each separately from 6s to 46s and from 133092us to 833902us.
   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, ...
      9.689742 in 1 packets: 18
      14.459760 in 1 packets: 36
      15.839141 in 1 packets: 54
MIU packet time from 2021-08-06T13:13:47.143.582.000 to 2021-08-06T13:14:27.133.381.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, ...
      9.689742 in 1 packets: 18
      14.459760 in 1 packets: 36
      15.839141 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.9255644 to 47.9254310
   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, ...
      8.9999699 in 1 packets: 18
      14.9999500 in 1 packets: 36
      15.9999467 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 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: 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20210806_131338_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.0691476 to 8.0694366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6897110  -- OK for SL --
   MIU time from 2021-08-06T13:13:47.143.582.000 to 2021-08-06T13:13:47.143.871.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.689742

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7591476 to 17.7594366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4597110  -- OK for SL --
   MIU time from 2021-08-06T13:13:56.833.613.000 to 2021-08-06T13:13:56.833.902.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.459760

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.2191476 to 32.2194366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8390870  -- OK for SL --
   MIU time from 2021-08-06T13:14:11.293.662.000 to 2021-08-06T13:14:11.293.951.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.839141

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.0585236 to 48.0588126
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T13:14:27.133.092.000 to 2021-08-06T13:14:27.133.381.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.069147600 corrected by 40bit 10MHz counter of 7.925564400 obtained at 1Hz counter of 6. Result: 6.143583674
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-06T13:13:47.143.441.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T13:14:27.133.240.725
   Min 1st sample XO time among all SL packets: 6.143443398
   Max 1st sample XO time among all SL packets: 46.133241778
   TM values from -265 to 228 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T13:13:47.143.441.725 (XO: 6.143443398 - 6.143749399, t=37.2 degC)  Rank: 00084
   TM values: Max =   213  Min =  -255  Ave =    -4.53  Std =    24.60
   Min TM value:-255 at an offset of 121.863 usec -> 2021-08-06T13:13:47.143.563.587 (XO: 6.143565261)
   Max TM value:213 at an offset of 121.538 usec -> 2021-08-06T13:13:47.143.563.262 (XO: 6.143564936)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 124.200 usec -> 2021-08-06T13:13:47.143.565.925 (XO: 6.143567599)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 121.650 usec -> 2021-08-06T13:13:47.143.563.375 (XO: 6.143565049)

 - Block number: 2 starting at 2021-08-06T13:13:56.833.472.725 (XO: 15.833475775 - 15.833781776, t=37.2 degC)  Rank: 00085
   TM values: Max =   220  Min =  -241  Ave =    -4.55  Std =    18.07
   Min TM value:-241 at an offset of 118.875 usec -> 2021-08-06T13:13:56.833.591.600 (XO: 15.833594651)
   Max TM value:220 at an offset of 121.450 usec -> 2021-08-06T13:13:56.833.594.175 (XO: 15.833597226)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 121.263 usec -> 2021-08-06T13:13:56.833.593.987 (XO: 15.833597038)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 118.713 usec -> 2021-08-06T13:13:56.833.591.437 (XO: 15.833594488)

 - Block number: 3 starting at 2021-08-06T13:14:11.293.521.725 (XO: 30.293524023 - 30.293830024, t=37.2 degC)  Rank: 00080
   TM values: Max =   228  Min =  -265  Ave =    -4.61  Std =    25.63
   Min TM value:-265 at an offset of 119.163 usec -> 2021-08-06T13:14:11.293.640.887 (XO: 30.293643186)
   Max TM value:228 at an offset of 64.975 usec -> 2021-08-06T13:14:11.293.586.700 (XO: 30.293588998)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 103.775 usec -> 2021-08-06T13:14:11.293.625.500 (XO: 30.293627798)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 119.013 usec -> 2021-08-06T13:14:11.293.640.737 (XO: 30.293643036)

 - Block number: 4 starting at 2021-08-06T13:14:27.132.951.725 (XO: 46.132952777 - 46.133258778, t=37.2 degC)  Rank: 00079
   TM values: Max =   207  Min =  -244  Ave =    -4.54  Std =    23.59
   Min TM value:-244 at an offset of 179.813 usec -> 2021-08-06T13:14:27.133.131.538 (XO: 46.133132590)
   Max TM value:207 at an offset of 124.513 usec -> 2021-08-06T13:14:27.133.076.237 (XO: 46.133077290)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 177.401 usec -> 2021-08-06T13:14:27.133.129.125 (XO: 46.133130178)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 179.638 usec -> 2021-08-06T13:14:27.133.131.363 (XO: 46.133132415)
