-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov  9 09:46:09 2021 UTC
-- File 20210708_225859_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.087048 to 51.627381
-each separately from 5s to 51s and from 87048us to 947329us.
   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, ...
      21.859703 in 1 packets: 18
      11.779767 in 1 packets: 36
      12.899707 in 1 packets: 54
MIU packet time from 2021-07-08T22:59:07.087.048.000 to 2021-07-08T22:59:53.627.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, ...
      21.859703 in 1 packets: 18
      11.779767 in 1 packets: 36
      12.899707 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.2416723 to 53.2415162
   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, ...
      20.9999288 in 1 packets: 18
      11.9999592 in 1 packets: 36
      12.9999559 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210708_225859_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 7.3287213 to 7.3290103
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8596310  -- OK for SL --
   MIU time from 2021-07-08T22:59:07.087.048.000 to 2021-07-08T22:59:07.087.337.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.859703

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.1886413 to 29.1889303
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7797270  -- OK for SL --
   MIU time from 2021-07-08T22:59:28.947.040.000 to 2021-07-08T22:59:28.947.329.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.779767

 - 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 40.9686573 to 40.9689463
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8996630  -- OK for SL --
   MIU time from 2021-07-08T22:59:40.727.096.000 to 2021-07-08T22:59:40.727.385.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.899707

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.8686093 to 53.8688983
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-08T22:59:53.627.092.000 to 2021-07-08T22:59:53.627.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 = 5, 32bit 10MHz counter = 7.328721300 corrected by 40bit 10MHz counter of 7.241672300 obtained at 1Hz counter of 5. Result: 5.087049296
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-08T22:59:07.086.907.725
   Max 1st sample MIU time among all SL packets: 2021-07-08T22:59:53.627.240.725
   Min 1st sample XO time among all SL packets: 5.086909020
   Max 1st sample XO time among all SL packets: 51.627243958
   TM values from -259 to 214 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-08T22:59:07.086.907.725 (XO: 5.086909020 - 5.087215022, t=37.2 degC)  Rank: 00081
   TM values: Max =   209  Min =  -250  Ave =    -4.43  Std =    20.82
   Min TM value:-250 at an offset of 124.663 usec -> 2021-07-08T22:59:07.087.032.387 (XO: 5.087033683)
   Max TM value:209 at an offset of 124.325 usec -> 2021-07-08T22:59:07.087.032.050 (XO: 5.087033346)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 127.038 usec -> 2021-07-08T22:59:07.087.034.762 (XO: 5.087036058)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 124.438 usec -> 2021-07-08T22:59:07.087.032.162 (XO: 5.087033458)

 - Block number: 2 starting at 2021-07-08T22:59:28.946.899.725 (XO: 26.946903239 - 26.947209240, t=37.2 degC)  Rank: 00080
   TM values: Max =   207  Min =  -248  Ave =    -4.43  Std =    21.38
   Min TM value:-248 at an offset of 110.775 usec -> 2021-07-08T22:59:28.947.010.500 (XO: 26.947014015)
   Max TM value:207 at an offset of 125.825 usec -> 2021-07-08T22:59:28.947.025.550 (XO: 26.947029065)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 125.700 usec -> 2021-07-08T22:59:28.947.025.425 (XO: 26.947028940)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 122.975 usec -> 2021-07-08T22:59:28.947.022.700 (XO: 26.947026215)

 - Block number: 3 starting at 2021-07-08T22:59:40.726.955.725 (XO: 38.726959197 - 38.727265198, t=37.2 degC)  Rank: 00079
   TM values: Max =   214  Min =  -244  Ave =    -4.39  Std =    21.76
   Min TM value:-244 at an offset of 121.963 usec -> 2021-07-08T22:59:40.727.077.687 (XO: 38.727081160)
   Max TM value:214 at an offset of 121.650 usec -> 2021-07-08T22:59:40.727.077.375 (XO: 38.727080847)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 124.325 usec -> 2021-07-08T22:59:40.727.080.050 (XO: 38.727083522)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 121.750 usec -> 2021-07-08T22:59:40.727.077.475 (XO: 38.727080947)

 - Block number: 4 starting at 2021-07-08T22:59:53.626.951.725 (XO: 51.626954957 - 51.627260958, t=37.2 degC)  Rank: 00084
   TM values: Max =   206  Min =  -259  Ave =    -4.52  Std =    22.37
   Min TM value:-259 at an offset of 109.613 usec -> 2021-07-08T22:59:53.627.061.337 (XO: 51.627064570)
   Max TM value:206 at an offset of 97.400 usec -> 2021-07-08T22:59:53.627.049.125 (XO: 51.627052357)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 112.050 usec -> 2021-07-08T22:59:53.627.063.775 (XO: 51.627067007)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 109.438 usec -> 2021-07-08T22:59:53.627.061.162 (XO: 51.627064395)
