-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 23:02:39 2021 UTC
-- File 20210807_091148_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 10.644322 to 55.734666
-each separately from 10s to 55s and from 294425us to 734666us.
   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.889758 in 1 packets: 18
      6.759767 in 1 packets: 36
      24.439663 in 1 packets: 54
MIU packet time from 2021-08-07T09:12:01.644.322.000 to 2021-08-07T09:12:46.734.666.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.889758 in 1 packets: 18
      6.759767 in 1 packets: 36
      24.439663 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 11.8270902 to 56.8269394
   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.9999530 in 1 packets: 18
      6.9999765 in 1 packets: 36
      23.9999197 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 36 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 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 20210807_091148_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 12.4714133 to 12.4717023
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8897110  -- OK for SL --
   MIU time from 2021-08-07T09:12:01.644.322.000 to 2021-08-07T09:12:01.644.611.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.889758

 - 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 26.3614133 to 26.3617023
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7597430  -- OK for SL --
   MIU time from 2021-08-07T09:12:15.534.369.000 to 2021-08-07T09:12:15.534.658.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.759767

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.1214453 to 33.1217343
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4395830  -- OK for SL --
   MIU time from 2021-08-07T09:12:22.294.425.000 to 2021-08-07T09:12:22.294.714.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.439663

 - 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 57.5613173 to 57.5616063
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T09:12:46.734.377.000 to 2021-08-07T09:12:46.734.666.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 = 10, 32bit 10MHz counter = 12.471413300 corrected by 40bit 10MHz counter of 11.827090200 obtained at 1Hz counter of 10. Result: 10.644325291
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-08-07T09:12:01.644.181.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T09:12:46.734.525.725
   Min 1st sample XO time among all SL packets: 10.644185015
   Max 1st sample XO time among all SL packets: 55.734529122
   TM values from -267 to 253 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T09:12:01.644.181.725 (XO: 10.644185015 - 10.644491016, t=37.2 degC)  Rank: 00084
   TM values: Max =   244  Min =  -242  Ave =    -4.56  Std =    20.90
   Min TM value:-242 at an offset of 116.900 usec -> 2021-08-07T09:12:01.644.298.625 (XO: 10.644301916)
   Max TM value:244 at an offset of 119.425 usec -> 2021-08-07T09:12:01.644.301.150 (XO: 10.644304441)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 114.600 usec -> 2021-08-07T09:12:01.644.296.325 (XO: 10.644299616)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 116.725 usec -> 2021-08-07T09:12:01.644.298.450 (XO: 10.644301741)

 - Block number: 2 starting at 2021-08-07T09:12:15.534.228.725 (XO: 24.534231641 - 24.534537642, t=37.2 degC)  Rank: 00080
   TM values: Max =   253  Min =  -262  Ave =    -4.61  Std =    21.78
   Min TM value:-262 at an offset of 117.388 usec -> 2021-08-07T09:12:15.534.346.112 (XO: 24.534349029)
   Max TM value:253 at an offset of 117.088 usec -> 2021-08-07T09:12:15.534.345.812 (XO: 24.534348729)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 115.013 usec -> 2021-08-07T09:12:15.534.343.737 (XO: 24.534346654)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 117.200 usec -> 2021-08-07T09:12:15.534.345.925 (XO: 24.534348842)

 - Block number: 3 starting at 2021-08-07T09:12:22.294.284.725 (XO: 31.294286326 - 31.294592327, t=37.2 degC)  Rank: 00087
   TM values: Max =   199  Min =  -267  Ave =    -4.51  Std =    22.21
   Min TM value:-267 at an offset of 126.563 usec -> 2021-08-07T09:12:22.294.411.287 (XO: 31.294412889)
   Max TM value:199 at an offset of 129.138 usec -> 2021-08-07T09:12:22.294.413.862 (XO: 31.294415464)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 128.963 usec -> 2021-08-07T09:12:22.294.413.687 (XO: 31.294415289)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 126.375 usec -> 2021-08-07T09:12:22.294.411.100 (XO: 31.294412701)

 - Block number: 4 starting at 2021-08-07T09:12:46.734.236.725 (XO: 55.734240121 - 55.734546122, t=37.2 degC)  Rank: 00080
   TM values: Max =   220  Min =  -235  Ave =    -4.54  Std =    19.64
   Min TM value:-235 at an offset of 125.125 usec -> 2021-08-07T09:12:46.734.361.850 (XO: 55.734365247)
   Max TM value:220 at an offset of 124.813 usec -> 2021-08-07T09:12:46.734.361.537 (XO: 55.734364934)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 127.475 usec -> 2021-08-07T09:12:46.734.364.200 (XO: 55.734367597)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 124.925 usec -> 2021-08-07T09:12:46.734.361.650 (XO: 55.734365047)
