-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 03:33:44 2021 UTC
-- File 20210803_163346_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 1.608335 to 57.979482
-each separately from 1s to 57s and from 28519us to 979482us.
   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, ...
      16.419895 in 1 packets: 18
      17.630024 in 1 packets: 36
      22.320072 in 1 packets: 54
MIU packet time from 2021-08-03T16:33:50.608.335.000 to 2021-08-03T16:34:46.979.482.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, ...
      16.419895 in 1 packets: 18
      17.630024 in 1 packets: 36
      22.320072 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 2.5711483 to 58.5709619
   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, ...
      16.9999435 in 1 packets: 18
      16.9999433 in 1 packets: 36
      21.9999268 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, ...
      04 -> 49.8 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210803_163346_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.1794835 to 3.1797725
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4198390  -- OK for SL --
   MIU time from 2021-08-03T16:33:50.608.335.000 to 2021-08-03T16:33:50.608.624.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.419895

 - 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 19.5996115 to 19.5999005
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6299670  -- OK for SL --
   MIU time from 2021-08-03T16:34:07.028.519.000 to 2021-08-03T16:34:07.028.808.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.630024

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.2298675 to 37.2301565
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.3199990  -- OK for SL --
   MIU time from 2021-08-03T16:34:24.658.832.000 to 2021-08-03T16:34:24.659.121.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.320072

 - 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 59.5501555 to 59.5504445
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T16:34:46.979.193.000 to 2021-08-03T16:34:46.979.482.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 = 1, 32bit 10MHz counter = 3.179483500 corrected by 40bit 10MHz counter of 2.571148300 obtained at 1Hz counter of 1. Result: 1.608337208
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-03T16:33:50.608.194.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T16:34:46.979.341.725
   Min 1st sample XO time among all SL packets: 1.608196932
   Max 1st sample XO time among all SL packets: 57.979345557
   TM values from -273 to 255 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T16:33:50.608.194.725 (XO: 1.608196932 - 1.608502933, t=37.2 degC)  Rank: 00085
   TM values: Max =   205  Min =  -273  Ave =    -4.49  Std =    18.58
   Min TM value:-273 at an offset of 110.188 usec -> 2021-08-03T16:33:50.608.304.912 (XO: 1.608307120)
   Max TM value:205 at an offset of 109.950 usec -> 2021-08-03T16:33:50.608.304.675 (XO: 1.608306882)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 112.650 usec -> 2021-08-03T16:33:50.608.307.375 (XO: 1.608309582)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 110.075 usec -> 2021-08-03T16:33:50.608.304.800 (XO: 1.608307007)

 - Block number: 2 starting at 2021-08-03T16:34:07.028.378.725 (XO: 18.028379519 - 18.028685520, t=37.2 degC)  Rank: 00080
   TM values: Max =   233  Min =  -267  Ave =    -4.46  Std =    26.43
   Min TM value:-267 at an offset of 121.300 usec -> 2021-08-03T16:34:07.028.500.025 (XO: 18.028500819)
   Max TM value:233 at an offset of 119.025 usec -> 2021-08-03T16:34:07.028.497.750 (XO: 18.028498544)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 118.900 usec -> 2021-08-03T16:34:07.028.497.625 (XO: 18.028498419)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 163.813 usec -> 2021-08-03T16:34:07.028.542.538 (XO: 18.028543332)

 - Block number: 3 starting at 2021-08-03T16:34:24.658.691.725 (XO: 35.658694299 - 35.659000300, t=37.2 degC)  Rank: 00078
   TM values: Max =   225  Min =  -265  Ave =    -4.39  Std =    25.54
   Min TM value:-265 at an offset of 121.738 usec -> 2021-08-03T16:34:24.658.813.462 (XO: 35.658816037)
   Max TM value:225 at an offset of 124.375 usec -> 2021-08-03T16:34:24.658.816.100 (XO: 35.658818674)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 124.188 usec -> 2021-08-03T16:34:24.658.815.912 (XO: 35.658818487)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 109.663 usec -> 2021-08-03T16:34:24.658.801.387 (XO: 35.658803962)

 - Block number: 4 starting at 2021-08-03T16:34:46.979.052.725 (XO: 57.979056556 - 57.979362557, t=37.2 degC)  Rank: 00080
   TM values: Max =   255  Min =  -260  Ave =    -4.42  Std =    21.83
   Min TM value:-260 at an offset of 123.213 usec -> 2021-08-03T16:34:46.979.175.937 (XO: 57.979179769)
   Max TM value:255 at an offset of 122.963 usec -> 2021-08-03T16:34:46.979.175.687 (XO: 57.979179519)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 125.588 usec -> 2021-08-03T16:34:46.979.178.312 (XO: 57.979182144)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 123.063 usec -> 2021-08-03T16:34:46.979.175.787 (XO: 57.979179619)
