-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 16 18:14:03 2021 UTC
-- File 20210717_202551_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 3.972107 to 49.618918
-each separately from 3s to 49s and from 618629us to 972396us.
   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, ...
      18.654110 in 1 packets: 18
      8.227274 in 1 packets: 36
      18.764271 in 1 packets: 54
MIU packet time from 2021-07-17T20:25:57.972.107.000 to 2021-07-17T20:26:43.618.918.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, ...
      18.654110 in 1 packets: 18
      8.227274 in 1 packets: 36
      18.764271 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 4.8826347 to 50.8824803
   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, ...
      18.9999362 in 1 packets: 18
      7.9999731 in 1 packets: 36
      18.9999363 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 20210717_202551_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.8547420 to 5.8550310
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6540470  -- OK for SL --
   MIU time from 2021-07-17T20:25:57.972.107.000 to 2021-07-17T20:25:57.972.396.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.654110

 - 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 24.5090780 to 24.5093670
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2272470  -- OK for SL --
   MIU time from 2021-07-17T20:26:16.626.506.000 to 2021-07-17T20:26:16.626.795.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.227274

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7366140 to 32.7369030
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7642070  -- OK for SL --
   MIU time from 2021-07-17T20:26:24.854.069.000 to 2021-07-17T20:26:24.854.358.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.764271

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.5011100 to 51.5013990
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-17T20:26:43.618.629.000 to 2021-07-17T20:26:43.618.918.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 = 3, 32bit 10MHz counter = 5.854742000 corrected by 40bit 10MHz counter of 4.882634700 obtained at 1Hz counter of 3. Result: 3.972110605
--
   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-07-17T20:25:57.971.966.725
   Max 1st sample MIU time among all SL packets: 2021-07-17T20:26:43.618.777.725
   Min 1st sample XO time among all SL packets: 3.971970330
   Max 1st sample XO time among all SL packets: 49.618780529
   TM values from -297 to 256 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-17T20:25:57.971.966.725 (XO: 3.971970330 - 3.972276331, t=37.2 degC)  Rank: 00081
   TM values: Max =   256  Min =  -268  Ave =    -4.44  Std =    22.77
   Min TM value:-268 at an offset of 115.025 usec -> 2021-07-17T20:25:57.972.081.750 (XO: 3.972085355)
   Max TM value:256 at an offset of 117.725 usec -> 2021-07-17T20:25:57.972.084.450 (XO: 3.972088055)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 117.525 usec -> 2021-07-17T20:25:57.972.084.250 (XO: 3.972087855)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 114.925 usec -> 2021-07-17T20:25:57.972.081.650 (XO: 3.972085255)

 - Block number: 2 starting at 2021-07-17T20:26:16.626.365.725 (XO: 22.626368892 - 22.626674893, t=37.2 degC)  Rank: 00078
   TM values: Max =   245  Min =  -297  Ave =    -4.37  Std =    29.94
   Min TM value:-297 at an offset of 178.788 usec -> 2021-07-17T20:26:16.626.544.513 (XO: 22.626547680)
   Max TM value:245 at an offset of 108.050 usec -> 2021-07-17T20:26:16.626.473.775 (XO: 22.626476942)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 107.900 usec -> 2021-07-17T20:26:16.626.473.625 (XO: 22.626476792)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 178.726 usec -> 2021-07-17T20:26:16.626.544.450 (XO: 22.626547618)

 - Block number: 3 starting at 2021-07-17T20:26:24.853.928.725 (XO: 30.853932543 - 30.854238544, t=37.2 degC)  Rank: 00081
   TM values: Max =   247  Min =  -293  Ave =    -4.39  Std =    34.84
   Min TM value:-293 at an offset of 191.738 usec -> 2021-07-17T20:26:24.854.120.463 (XO: 30.854124281)
   Max TM value:247 at an offset of 191.476 usec -> 2021-07-17T20:26:24.854.120.200 (XO: 30.854124019)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 194.313 usec -> 2021-07-17T20:26:24.854.123.038 (XO: 30.854126856)
   Min dTM/dt [1/us]:-2.61e+03 at an offset of 119.575 usec -> 2021-07-17T20:26:24.854.048.300 (XO: 30.854052118)

 - Block number: 4 starting at 2021-07-17T20:26:43.618.488.725 (XO: 49.618491528 - 49.618797529, t=37.2 degC)  Rank: 00076
   TM values: Max =   213  Min =  -276  Ave =    -4.42  Std =    24.61
   Min TM value:-276 at an offset of 68.113 usec -> 2021-07-17T20:26:43.618.556.837 (XO: 49.618559641)
   Max TM value:213 at an offset of 80.375 usec -> 2021-07-17T20:26:43.618.569.100 (XO: 49.618571903)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 83.238 usec -> 2021-07-17T20:26:43.618.571.962 (XO: 49.618574766)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 80.525 usec -> 2021-07-17T20:26:43.618.569.250 (XO: 49.618572053)
