-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Mar  5 06:22:05 2022 UTC
-- File 20220201_134514_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 4.355579 to 53.816445
-each separately from 4s to 53s and from 175978us to 816445us.
   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.820110 in 1 packets: 18
      15.260022 in 1 packets: 36
      12.379578 in 1 packets: 54
MIU packet time from 2022-02-01T13:45:21.355.579.000 to 2022-02-01T13:46:10.816.445.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.820110 in 1 packets: 18
      15.260022 in 1 packets: 36
      12.379578 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 5.7483780 to 54.7482016
   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, ...
      21.9999208 in 1 packets: 18
      14.9999460 in 1 packets: 36
      11.9999568 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220201_134514_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1039582 to 6.1042472
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8200310  -- OK for SL --
   MIU time from 2022-02-01T13:45:21.355.579.000 to 2022-02-01T13:45:21.355.868.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.820110

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.9242782 to 27.9245672
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2599670  -- OK for SL --
   MIU time from 2022-02-01T13:45:43.175.978.000 to 2022-02-01T13:45:43.176.267.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.260022

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.1845342 to 43.1848232
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3795350  -- OK for SL --
   MIU time from 2022-02-01T13:45:58.436.289.000 to 2022-02-01T13:45:58.436.578.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.379578

 - 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 55.5643582 to 55.5646472
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T13:46:10.816.156.000 to 2022-02-01T13:46:10.816.445.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 = 4, 32bit 10MHz counter = 6.103958200 corrected by 40bit 10MHz counter of 5.748378000 obtained at 1Hz counter of 4. Result: 4.355581480
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-01T13:45:21.355.438.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T13:46:10.816.304.725
   Min 1st sample XO time among all SL packets: 4.355441205
   Max 1st sample XO time among all SL packets: 53.816308182
   TM values from -275 to 225 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T13:45:21.355.438.725 (XO: 4.355441205 - 4.355747206, t=35.6 degC)  Rank: 00078
   TM values: Max =   187  Min =  -268  Ave =    -4.45  Std =    21.09
   Min TM value:-268 at an offset of 82.388 usec -> 2022-02-01T13:45:21.355.521.112 (XO: 4.355523592)
   Max TM value:187 at an offset of 79.913 usec -> 2022-02-01T13:45:21.355.518.637 (XO: 4.355521117)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 82.488 usec -> 2022-02-01T13:45:21.355.521.212 (XO: 4.355523692)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 80.025 usec -> 2022-02-01T13:45:21.355.518.750 (XO: 4.355521230)

 - Block number: 2 starting at 2022-02-01T13:45:43.175.837.725 (XO: 26.175839758 - 26.176145759, t=35.6 degC)  Rank: 00083
   TM values: Max =   225  Min =  -267  Ave =    -4.40  Std =    17.43
   Min TM value:-267 at an offset of 96.750 usec -> 2022-02-01T13:45:43.175.934.475 (XO: 26.175936508)
   Max TM value:225 at an offset of 94.325 usec -> 2022-02-01T13:45:43.175.932.050 (XO: 26.175934083)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 96.863 usec -> 2022-02-01T13:45:43.175.934.587 (XO: 26.175936621)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 94.438 usec -> 2022-02-01T13:45:43.175.932.162 (XO: 26.175934196)

 - Block number: 3 starting at 2022-02-01T13:45:58.436.148.725 (XO: 41.436150695 - 41.436456696, t=35.6 degC)  Rank: 00077
   TM values: Max =   207  Min =  -275  Ave =    -4.35  Std =    21.79
   Min TM value:-275 at an offset of 107.975 usec -> 2022-02-01T13:45:58.436.256.700 (XO: 41.436258671)
   Max TM value:207 at an offset of 105.500 usec -> 2022-02-01T13:45:58.436.254.225 (XO: 41.436256196)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 108.075 usec -> 2022-02-01T13:45:58.436.256.800 (XO: 41.436258771)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 105.600 usec -> 2022-02-01T13:45:58.436.254.325 (XO: 41.436256296)

 - Block number: 4 starting at 2022-02-01T13:46:10.816.015.725 (XO: 53.816019181 - 53.816325182, t=35.6 degC)  Rank: 00080
   TM values: Max =   180  Min =  -221  Ave =    -4.42  Std =    21.68
   Min TM value:-221 at an offset of 116.963 usec -> 2022-02-01T13:46:10.816.132.687 (XO: 53.816136144)
   Max TM value:180 at an offset of 104.575 usec -> 2022-02-01T13:46:10.816.120.300 (XO: 53.816123756)
   Max dTM/dt [1/us]:1.35e+03 at an offset of 114.838 usec -> 2022-02-01T13:46:10.816.130.562 (XO: 53.816134019)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 104.675 usec -> 2022-02-01T13:46:10.816.120.400 (XO: 53.816123856)
