-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 09:38:42 2022 UTC
-- File 20210911_155408_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 11.089427 to 49.642003
-each separately from 11s to 49s and from 89427us to 642003us.
   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.162365 in 1 packets: 18
      16.965032 in 1 packets: 36
      12.424023 in 1 packets: 54
MIU packet time from 2021-09-11T15:54:22.089.427.000 to 2021-09-11T15:55:00.642.003.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.162365 in 1 packets: 18
      16.965032 in 1 packets: 36
      12.424023 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 12.8992839 to 50.8991567
   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.9999700 in 1 packets: 18
      16.9999430 in 1 packets: 36
      11.9999598 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 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 20210911_155408_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 12.9887115 to 12.9890005
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1623350  -- OK for SL --
   MIU time from 2021-09-11T15:54:22.089.427.000 to 2021-09-11T15:54:22.089.716.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.162365

 - 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 22.1513355 to 22.1516245
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9649750  -- OK for SL --
   MIU time from 2021-09-11T15:54:31.252.081.000 to 2021-09-11T15:54:31.252.370.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.965032

 - 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 39.1165995 to 39.1168885
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4239830  -- OK for SL --
   MIU time from 2021-09-11T15:54:48.217.402.000 to 2021-09-11T15:54:48.217.691.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.424023

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.5408715 to 51.5411605
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T15:55:00.641.714.000 to 2021-09-11T15:55:00.642.003.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 = 11, 32bit 10MHz counter = 12.988711500 corrected by 40bit 10MHz counter of 12.899283900 obtained at 1Hz counter of 11. Result: 11.089427895
--
   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-09-11T15:54:22.089.286.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T15:55:00.641.862.725
   Min 1st sample XO time among all SL packets: 11.089287620
   Max 1st sample XO time among all SL packets: 49.641865707
   TM values from -262 to 218 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T15:54:22.089.286.725 (XO: 11.089287620 - 11.089593621, t=35.6 degC)  Rank: 00082
   TM values: Max =   214  Min =  -255  Ave =    -4.56  Std =    19.58
   Min TM value:-255 at an offset of 122.988 usec -> 2021-09-11T15:54:22.089.409.712 (XO: 11.089410608)
   Max TM value:214 at an offset of 122.725 usec -> 2021-09-11T15:54:22.089.409.450 (XO: 11.089410345)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 125.375 usec -> 2021-09-11T15:54:22.089.412.100 (XO: 11.089412995)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 122.813 usec -> 2021-09-11T15:54:22.089.409.537 (XO: 11.089410433)

 - Block number: 2 starting at 2021-09-11T15:54:31.251.940.725 (XO: 20.251942182 - 20.252248183, t=35.6 degC)  Rank: 00077
   TM values: Max =   209  Min =  -244  Ave =    -4.53  Std =    18.65
   Min TM value:-244 at an offset of 126.400 usec -> 2021-09-11T15:54:31.252.067.125 (XO: 20.252068582)
   Max TM value:209 at an offset of 129.088 usec -> 2021-09-11T15:54:31.252.069.812 (XO: 20.252071270)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 128.950 usec -> 2021-09-11T15:54:31.252.069.675 (XO: 20.252071132)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 126.263 usec -> 2021-09-11T15:54:31.252.066.987 (XO: 20.252068445)

 - Block number: 3 starting at 2021-09-11T15:54:48.217.261.725 (XO: 37.217263042 - 37.217569043, t=35.6 degC)  Rank: 00080
   TM values: Max =   203  Min =  -262  Ave =    -4.54  Std =    19.52
   Min TM value:-262 at an offset of 123.550 usec -> 2021-09-11T15:54:48.217.385.275 (XO: 37.217386592)
   Max TM value:203 at an offset of 123.238 usec -> 2021-09-11T15:54:48.217.384.962 (XO: 37.217386280)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 125.913 usec -> 2021-09-11T15:54:48.217.387.637 (XO: 37.217388955)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 123.350 usec -> 2021-09-11T15:54:48.217.385.075 (XO: 37.217386392)

 - Block number: 4 starting at 2021-09-11T15:55:00.641.573.725 (XO: 49.641576706 - 49.641882707, t=35.6 degC)  Rank: 00083
   TM values: Max =   218  Min =  -235  Ave =    -4.49  Std =    20.82
   Min TM value:-235 at an offset of 111.313 usec -> 2021-09-11T15:55:00.641.685.037 (XO: 49.641688019)
   Max TM value:218 at an offset of 113.988 usec -> 2021-09-11T15:55:00.641.687.712 (XO: 49.641690694)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 113.825 usec -> 2021-09-11T15:55:00.641.687.550 (XO: 49.641690532)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 111.100 usec -> 2021-09-11T15:55:00.641.684.825 (XO: 49.641687807)
