-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 01:08:11 2021 UTC
-- File 20210817_011253_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 6.859115 to 57.489924
-each separately from 6s to 57s and from 89233us to 859404us.
   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, ...
      17.699578 in 1 packets: 18
      12.529962 in 1 packets: 36
      20.400113 in 1 packets: 54
MIU packet time from 2021-08-17T01:13:02.859.115.000 to 2021-08-17T01:13:53.489.924.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, ...
      17.699578 in 1 packets: 18
      12.529962 in 1 packets: 36
      20.400113 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 7.8653106 to 58.8651418
   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, ...
      17.9999404 in 1 packets: 18
      12.9999570 in 1 packets: 36
      19.9999338 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210817_011253_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.7244261 to 8.7247151
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6995190  -- OK for SL --
   MIU time from 2021-08-17T01:13:02.859.115.000 to 2021-08-17T01:13:02.859.404.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.699578

 - 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.4242341 to 26.4245231
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5299190  -- OK for SL --
   MIU time from 2021-08-17T01:13:20.558.982.000 to 2021-08-17T01:13:20.559.271.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.529962

 - 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 38.9544421 to 38.9547311
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4000470  -- OK for SL --
   MIU time from 2021-08-17T01:13:33.089.233.000 to 2021-08-17T01:13:33.089.522.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.400113

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.3547781 to 59.3550671
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-17T01:13:53.489.635.000 to 2021-08-17T01:13:53.489.924.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 = 6, 32bit 10MHz counter = 8.724426100 corrected by 40bit 10MHz counter of 7.865310600 obtained at 1Hz counter of 6. Result: 6.859118335
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-17T01:13:02.858.974.725
   Max 1st sample MIU time among all SL packets: 2021-08-17T01:13:53.489.783.725
   Min 1st sample XO time among all SL packets: 6.858978060
   Max 1st sample XO time among all SL packets: 57.489786592
   TM values from -267 to 198 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-17T01:13:02.858.974.725 (XO: 6.858978060 - 6.859284061, t=37.2 degC)  Rank: 00081
   TM values: Max =   178  Min =  -221  Ave =    -4.43  Std =    23.60
   Min TM value:-221 at an offset of 124.700 usec -> 2021-08-17T01:13:02.859.099.425 (XO: 6.859102760)
   Max TM value:178 at an offset of 168.988 usec -> 2021-08-17T01:13:02.859.143.713 (XO: 6.859147048)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 127.213 usec -> 2021-08-17T01:13:02.859.101.937 (XO: 6.859105273)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 169.101 usec -> 2021-08-17T01:13:02.859.143.825 (XO: 6.859147160)

 - Block number: 2 starting at 2021-08-17T01:13:20.558.841.725 (XO: 24.558844669 - 24.559150670, t=37.2 degC)  Rank: 00080
   TM values: Max =   187  Min =  -231  Ave =    -4.60  Std =    18.46
   Min TM value:-231 at an offset of 124.875 usec -> 2021-08-17T01:13:20.558.966.600 (XO: 24.558969545)
   Max TM value:187 at an offset of 124.563 usec -> 2021-08-17T01:13:20.558.966.287 (XO: 24.558969232)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 127.263 usec -> 2021-08-17T01:13:20.558.968.987 (XO: 24.558971932)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 124.713 usec -> 2021-08-17T01:13:20.558.966.437 (XO: 24.558969382)

 - Block number: 3 starting at 2021-08-17T01:13:33.089.092.725 (XO: 37.089094119 - 37.089400120, t=37.2 degC)  Rank: 00080
   TM values: Max =   178  Min =  -233  Ave =    -4.52  Std =    20.43
   Min TM value:-233 at an offset of 89.663 usec -> 2021-08-17T01:13:33.089.182.387 (XO: 37.089183782)
   Max TM value:178 at an offset of 104.775 usec -> 2021-08-17T01:13:33.089.197.500 (XO: 37.089198894)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 104.600 usec -> 2021-08-17T01:13:33.089.197.325 (XO: 37.089198719)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 89.488 usec -> 2021-08-17T01:13:33.089.182.212 (XO: 37.089183607)

 - Block number: 4 starting at 2021-08-17T01:13:53.489.494.725 (XO: 57.489497591 - 57.489803592, t=37.2 degC)  Rank: 00079
   TM values: Max =   198  Min =  -267  Ave =    -4.63  Std =    25.01
   Min TM value:-267 at an offset of 114.863 usec -> 2021-08-17T01:13:53.489.609.587 (XO: 57.489612454)
   Max TM value:198 at an offset of 114.538 usec -> 2021-08-17T01:13:53.489.609.262 (XO: 57.489612129)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 117.238 usec -> 2021-08-17T01:13:53.489.611.962 (XO: 57.489614829)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 114.650 usec -> 2021-08-17T01:13:53.489.609.375 (XO: 57.489612242)
