-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 10:38:25 2022 UTC
-- File 20210911_162701_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.403379 to 46.444763
-each separately from 1s to 46s and from 124274us to 444763us.
   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.740233 in 1 packets: 18
      10.980084 in 1 packets: 36
      12.319911 in 1 packets: 54
MIU packet time from 2021-09-11T16:27:05.403.379.000 to 2021-09-11T16:27:50.444.763.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.740233 in 1 packets: 18
      10.980084 in 1 packets: 36
      12.319911 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.8826887 to 47.8825380
   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.9999262 in 1 packets: 18
      10.9999631 in 1 packets: 36
      11.9999600 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 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 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 20210911_162701_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.2860689 to 3.2863579
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7401590  -- OK for SL --
   MIU time from 2021-09-11T16:27:05.403.379.000 to 2021-09-11T16:27:05.403.668.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.740233

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.0265169 to 25.0268059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9800470  -- OK for SL --
   MIU time from 2021-09-11T16:27:27.143.901.000 to 2021-09-11T16:27:27.144.190.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.980084

 - 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 36.0068529 to 36.0071419
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3198710  -- OK for SL --
   MIU time from 2021-09-11T16:27:38.124.274.000 to 2021-09-11T16:27:38.124.563.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.319911

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.3270129 to 48.3273019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T16:27:50.444.474.000 to 2021-09-11T16:27:50.444.763.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.286068900 corrected by 40bit 10MHz counter of 2.882688700 obtained at 1Hz counter of 1. Result: 1.403381571
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-11T16:27:05.403.238.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T16:27:50.444.622.725
   Min 1st sample XO time among all SL packets: 1.403241296
   Max 1st sample XO time among all SL packets: 46.444625092
   TM values from -248 to 217 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T16:27:05.403.238.725 (XO: 1.403241296 - 1.403547297, t=37.2 degC)  Rank: 00084
   TM values: Max =   217  Min =  -248  Ave =    -4.47  Std =    21.39
   Min TM value:-248 at an offset of 118.100 usec -> 2021-09-11T16:27:05.403.356.825 (XO: 1.403359396)
   Max TM value:217 at an offset of 120.738 usec -> 2021-09-11T16:27:05.403.359.462 (XO: 1.403362034)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 120.563 usec -> 2021-09-11T16:27:05.403.359.287 (XO: 1.403361859)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 117.913 usec -> 2021-09-11T16:27:05.403.356.637 (XO: 1.403359209)

 - Block number: 2 starting at 2021-09-11T16:27:27.143.760.725 (XO: 23.143762214 - 23.144068215, t=37.2 degC)  Rank: 00076
   TM values: Max =   217  Min =  -243  Ave =    -4.49  Std =    21.36
   Min TM value:-243 at an offset of 104.513 usec -> 2021-09-11T16:27:27.143.865.237 (XO: 23.143866727)
   Max TM value:217 at an offset of 120.063 usec -> 2021-09-11T16:27:27.143.880.787 (XO: 23.143882277)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 119.925 usec -> 2021-09-11T16:27:27.143.880.650 (XO: 23.143882139)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 117.200 usec -> 2021-09-11T16:27:27.143.877.925 (XO: 23.143879414)

 - Block number: 3 starting at 2021-09-11T16:27:38.124.133.725 (XO: 34.124135035 - 34.124441036, t=37.2 degC)  Rank: 00080
   TM values: Max =   203  Min =  -246  Ave =    -4.61  Std =    24.22
   Min TM value:-246 at an offset of 104.063 usec -> 2021-09-11T16:27:38.124.237.787 (XO: 34.124239097)
   Max TM value:203 at an offset of 120.538 usec -> 2021-09-11T16:27:38.124.254.262 (XO: 34.124255573)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 120.363 usec -> 2021-09-11T16:27:38.124.254.087 (XO: 34.124255398)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 103.850 usec -> 2021-09-11T16:27:38.124.237.575 (XO: 34.124238885)

 - Block number: 4 starting at 2021-09-11T16:27:50.444.333.725 (XO: 46.444336091 - 46.444642092, t=37.2 degC)  Rank: 00076
   TM values: Max =   217  Min =  -239  Ave =    -4.59  Std =    20.01
   Min TM value:-239 at an offset of 117.875 usec -> 2021-09-11T16:27:50.444.451.600 (XO: 46.444453967)
   Max TM value:217 at an offset of 120.475 usec -> 2021-09-11T16:27:50.444.454.200 (XO: 46.444456567)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 120.338 usec -> 2021-09-11T16:27:50.444.454.062 (XO: 46.444456429)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 117.650 usec -> 2021-09-11T16:27:50.444.451.375 (XO: 46.444453742)
