-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 05:04:23 2021 UTC
-- File 20210803_174510_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.995441 to 47.475899
-each separately from 6s to 47s and from 475610us to 995730us.
   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.931704 in 1 packets: 18
      2.009814 in 1 packets: 36
      16.537784 in 1 packets: 54
MIU packet time from 2021-08-03T17:45:19.995.441.000 to 2021-08-03T17:46:00.475.899.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.931704 in 1 packets: 18
      2.009814 in 1 packets: 36
      16.537784 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.8876748 to 48.8875382
   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.9999267 in 1 packets: 18
      1.9999934 in 1 packets: 36
      16.9999433 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210803_174510_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 8.8831166 to 8.8834056
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.9316310  -- OK for SL --
   MIU time from 2021-08-03T17:45:19.995.441.000 to 2021-08-03T17:45:19.995.730.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.931704

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.8150366 to 30.8153256
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.0098070  -- OK for SL --
   MIU time from 2021-08-03T17:45:41.927.434.000 to 2021-08-03T17:45:41.927.723.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.009814

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8251326 to 32.8254216
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5377270  -- OK for SL --
   MIU time from 2021-08-03T17:45:43.937.537.000 to 2021-08-03T17:45:43.937.826.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.537784

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.3631486 to 49.3634376
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T17:46:00.475.610.000 to 2021-08-03T17:46:00.475.899.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.883116600 corrected by 40bit 10MHz counter of 7.887674800 obtained at 1Hz counter of 6. Result: 6.995445085
--
   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-03T17:45:19.995.300.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T17:46:00.475.758.725
   Min 1st sample XO time among all SL packets: 6.995304810
   Max 1st sample XO time among all SL packets: 47.475760695
   TM values from -257 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T17:45:19.995.300.725 (XO: 6.995304810 - 6.995610811, t=37.2 degC)  Rank: 00078
   TM values: Max =   206  Min =  -253  Ave =    -4.57  Std =    22.50
   Min TM value:-253 at an offset of 125.563 usec -> 2021-08-03T17:45:19.995.426.287 (XO: 6.995430372)
   Max TM value:206 at an offset of 128.150 usec -> 2021-08-03T17:45:19.995.428.875 (XO: 6.995432960)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 128.038 usec -> 2021-08-03T17:45:19.995.428.762 (XO: 6.995432847)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 125.425 usec -> 2021-08-03T17:45:19.995.426.150 (XO: 6.995430235)

 - Block number: 2 starting at 2021-08-03T17:45:41.927.293.725 (XO: 28.927297885 - 28.927603886, t=37.2 degC)  Rank: 00079
   TM values: Max =   233  Min =  -238  Ave =    -4.53  Std =    20.33
   Min TM value:-238 at an offset of 123.150 usec -> 2021-08-03T17:45:41.927.416.875 (XO: 28.927421035)
   Max TM value:233 at an offset of 125.863 usec -> 2021-08-03T17:45:41.927.419.587 (XO: 28.927423748)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 125.688 usec -> 2021-08-03T17:45:41.927.419.412 (XO: 28.927423573)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 122.975 usec -> 2021-08-03T17:45:41.927.416.700 (XO: 28.927420860)

 - Block number: 3 starting at 2021-08-03T17:45:43.937.396.725 (XO: 30.937400518 - 30.937706519, t=37.2 degC)  Rank: 00081
   TM values: Max =   220  Min =  -257  Ave =    -4.58  Std =    22.64
   Min TM value:-257 at an offset of 123.800 usec -> 2021-08-03T17:45:43.937.520.525 (XO: 30.937524319)
   Max TM value:220 at an offset of 126.388 usec -> 2021-08-03T17:45:43.937.523.112 (XO: 30.937526906)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 126.213 usec -> 2021-08-03T17:45:43.937.522.937 (XO: 30.937526731)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 123.650 usec -> 2021-08-03T17:45:43.937.520.375 (XO: 30.937524169)

 - Block number: 4 starting at 2021-08-03T17:46:00.475.469.725 (XO: 47.475471694 - 47.475777695, t=37.2 degC)  Rank: 00077
   TM values: Max =   236  Min =  -238  Ave =    -4.56  Std =    19.63
   Min TM value:-238 at an offset of 124.863 usec -> 2021-08-03T17:46:00.475.594.587 (XO: 47.475596557)
   Max TM value:236 at an offset of 127.563 usec -> 2021-08-03T17:46:00.475.597.287 (XO: 47.475599257)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 127.413 usec -> 2021-08-03T17:46:00.475.597.137 (XO: 47.475599107)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 124.713 usec -> 2021-08-03T17:46:00.475.594.437 (XO: 47.475596407)
