-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov  9 13:27:28 2021 UTC
-- File 20210709_015134_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.528830 to 52.779625
-each separately from 2s to 52s and from 89097us to 779625us.
   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, ...
      26.559978 in 1 packets: 18
      13.359932 in 1 packets: 36
      10.329729 in 1 packets: 54
MIU packet time from 2021-07-09T01:51:39.528.830.000 to 2021-07-09T01:52:29.779.625.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, ...
      26.559978 in 1 packets: 18
      13.359932 in 1 packets: 36
      10.329729 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.8392442 to 53.8390750
   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, ...
      26.9999086 in 1 packets: 18
      12.9999560 in 1 packets: 36
      9.9999662 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20210709_015134_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3680753 to 4.3683643
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.5598870  -- OK for SL --
   MIU time from 2021-07-09T01:51:39.528.830.000 to 2021-07-09T01:51:39.529.119.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.559978

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.9282513 to 30.9285403
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3598870  -- OK for SL --
   MIU time from 2021-07-09T01:52:06.089.097.000 to 2021-07-09T01:52:06.089.386.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.359932

 - 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 44.2884273 to 44.2887163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3296950  -- OK for SL --
   MIU time from 2021-07-09T01:52:19.449.318.000 to 2021-07-09T01:52:19.449.607.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.329729

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.6184113 to 54.6187003
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-09T01:52:29.779.336.000 to 2021-07-09T01:52:29.779.625.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.368075300 corrected by 40bit 10MHz counter of 3.839244200 obtained at 1Hz counter of 2. Result: 2.528832898
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-09T01:51:39.528.689.725
   Max 1st sample MIU time among all SL packets: 2021-07-09T01:52:29.779.484.725
   Min 1st sample XO time among all SL packets: 2.528692623
   Max 1st sample XO time among all SL packets: 52.779487675
   TM values from -277 to 227 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-09T01:51:39.528.689.725 (XO: 2.528692623 - 2.528998624, t=37.2 degC)  Rank: 00083
   TM values: Max =   213  Min =  -268  Ave =    -4.56  Std =    19.69
   Min TM value:-268 at an offset of 127.875 usec -> 2021-07-09T01:51:39.528.817.600 (XO: 2.528820498)
   Max TM value:213 at an offset of 127.563 usec -> 2021-07-09T01:51:39.528.817.287 (XO: 2.528820185)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 130.300 usec -> 2021-07-09T01:51:39.528.820.025 (XO: 2.528822923)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 127.675 usec -> 2021-07-09T01:51:39.528.817.400 (XO: 2.528820298)

 - Block number: 2 starting at 2021-07-09T01:52:06.088.956.725 (XO: 29.088958527 - 29.089264528, t=37.2 degC)  Rank: 00086
   TM values: Max =   220  Min =  -277  Ave =    -4.53  Std =    34.40
   Min TM value:-277 at an offset of 228.913 usec -> 2021-07-09T01:52:06.089.185.638 (XO: 29.089187441)
   Max TM value:220 at an offset of 130.700 usec -> 2021-07-09T01:52:06.089.087.425 (XO: 29.089089228)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 130.550 usec -> 2021-07-09T01:52:06.089.087.275 (XO: 29.089089078)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 228.801 usec -> 2021-07-09T01:52:06.089.185.525 (XO: 29.089187328)

 - Block number: 3 starting at 2021-07-09T01:52:19.449.177.725 (XO: 42.449179797 - 42.449485798, t=37.2 degC)  Rank: 00080
   TM values: Max =   224  Min =  -232  Ave =    -4.52  Std =    19.19
   Min TM value:-232 at an offset of 127.288 usec -> 2021-07-09T01:52:19.449.305.012 (XO: 42.449307085)
   Max TM value:224 at an offset of 130.000 usec -> 2021-07-09T01:52:19.449.307.725 (XO: 42.449309798)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 129.838 usec -> 2021-07-09T01:52:19.449.307.562 (XO: 42.449309635)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 127.075 usec -> 2021-07-09T01:52:19.449.304.800 (XO: 42.449306873)

 - Block number: 4 starting at 2021-07-09T01:52:29.779.195.725 (XO: 52.779198674 - 52.779504675, t=37.2 degC)  Rank: 00078
   TM values: Max =   227  Min =  -235  Ave =    -4.46  Std =    20.11
   Min TM value:-235 at an offset of 128.400 usec -> 2021-07-09T01:52:29.779.324.125 (XO: 52.779327075)
   Max TM value:227 at an offset of 131.100 usec -> 2021-07-09T01:52:29.779.326.825 (XO: 52.779329775)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 130.975 usec -> 2021-07-09T01:52:29.779.326.700 (XO: 52.779329650)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 128.250 usec -> 2021-07-09T01:52:29.779.323.975 (XO: 52.779326925)
