-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 01:30:22 2021 UTC
-- File 20210821_121435_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 2.374126 to 46.235041
-each separately from 2s to 46s and from 110200us to 374415us.
   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, ...
      13.873629 in 1 packets: 18
      17.861867 in 1 packets: 36
      12.124263 in 1 packets: 54
MIU packet time from 2021-08-21T12:14:40.374.126.000 to 2021-08-21T12:15:24.235.041.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, ...
      13.873629 in 1 packets: 18
      17.861867 in 1 packets: 36
      12.124263 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 3.9145270 to 47.9143803
   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, ...
      13.9999533 in 1 packets: 18
      17.9999400 in 1 packets: 36
      11.9999600 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, ...
      06 -> 47.2 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210821_121435_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2886533 to 4.2889423
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8735830  -- OK for SL --
   MIU time from 2021-08-21T12:14:40.374.126.000 to 2021-08-21T12:14:40.374.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.873629

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.1625253 to 18.1628143
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8618070  -- OK for SL --
   MIU time from 2021-08-21T12:14:54.248.044.000 to 2021-08-21T12:14:54.248.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.861867

 - 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 36.0246213 to 36.0249103
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.1242230  -- OK for SL --
   MIU time from 2021-08-21T12:15:12.110.200.000 to 2021-08-21T12:15:12.110.489.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.124263

 - 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 48.1491333 to 48.1494223
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-21T12:15:24.234.752.000 to 2021-08-21T12:15:24.235.041.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 = 2, 32bit 10MHz counter = 4.288653300 corrected by 40bit 10MHz counter of 3.914527000 obtained at 1Hz counter of 2. Result: 2.374127535
--
   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-21T12:14:40.373.985.725
   Max 1st sample MIU time among all SL packets: 2021-08-21T12:15:24.234.900.725
   Min 1st sample XO time among all SL packets: 2.373987259
   Max 1st sample XO time among all SL packets: 46.234902500
   TM values from -248 to 199 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-21T12:14:40.373.985.725 (XO: 2.373987259 - 2.374293260, t=35.6 degC)  Rank: 00079
   TM values: Max =   199  Min =  -248  Ave =    -4.44  Std =    19.16
   Min TM value:-248 at an offset of 110.013 usec -> 2021-08-21T12:14:40.374.095.737 (XO: 2.374097272)
   Max TM value:199 at an offset of 109.713 usec -> 2021-08-21T12:14:40.374.095.437 (XO: 2.374096972)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 112.388 usec -> 2021-08-21T12:14:40.374.098.112 (XO: 2.374099647)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 109.825 usec -> 2021-08-21T12:14:40.374.095.550 (XO: 2.374097085)

 - Block number: 2 starting at 2021-08-21T12:14:54.247.903.725 (XO: 16.247905543 - 16.248211544, t=35.6 degC)  Rank: 00077
   TM values: Max =   183  Min =  -217  Ave =    -4.45  Std =    17.55
   Min TM value:-217 at an offset of 121.688 usec -> 2021-08-21T12:14:54.248.025.412 (XO: 16.248027231)
   Max TM value:183 at an offset of 124.413 usec -> 2021-08-21T12:14:54.248.028.137 (XO: 16.248029956)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 124.238 usec -> 2021-08-21T12:14:54.248.027.962 (XO: 16.248029781)
   Min dTM/dt [1/us]:-1.46e+03 at an offset of 109.225 usec -> 2021-08-21T12:14:54.248.012.950 (XO: 16.248014768)

 - Block number: 3 starting at 2021-08-21T12:15:12.110.059.725 (XO: 34.110061099 - 34.110367100, t=35.6 degC)  Rank: 00081
   TM values: Max =   169  Min =  -233  Ave =    -4.50  Std =    17.87
   Min TM value:-233 at an offset of 112.588 usec -> 2021-08-21T12:15:12.110.172.312 (XO: 34.110173687)
   Max TM value:169 at an offset of 115.200 usec -> 2021-08-21T12:15:12.110.174.925 (XO: 34.110176300)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 115.013 usec -> 2021-08-21T12:15:12.110.174.737 (XO: 34.110176112)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 112.413 usec -> 2021-08-21T12:15:12.110.172.137 (XO: 34.110173512)

 - Block number: 4 starting at 2021-08-21T12:15:24.234.611.725 (XO: 46.234613499 - 46.234919500, t=35.6 degC)  Rank: 00080
   TM values: Max =   184  Min =  -242  Ave =    -4.36  Std =    20.10
   Min TM value:-242 at an offset of 122.100 usec -> 2021-08-21T12:15:24.234.733.825 (XO: 46.234735600)
   Max TM value:184 at an offset of 124.738 usec -> 2021-08-21T12:15:24.234.736.462 (XO: 46.234738237)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 124.550 usec -> 2021-08-21T12:15:24.234.736.275 (XO: 46.234738050)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 121.988 usec -> 2021-08-21T12:15:24.234.733.712 (XO: 46.234735487)
