-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 12 18:58:07 2021 UTC
-- File 20210812_031107_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 13.712052 to 53.332297
-each separately from 13s to 53s and from 332008us to 712341us.
   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, ...
      8.919725 in 1 packets: 18
      18.819710 in 1 packets: 36
      11.879654 in 1 packets: 54
MIU packet time from 2021-08-12T03:11:23.712.052.000 to 2021-08-12T03:12:03.332.297.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, ...
      8.919725 in 1 packets: 18
      18.819710 in 1 packets: 36
      11.879654 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 14.9417456 to 54.9416132
   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, ...
      8.9999702 in 1 packets: 18
      18.9999371 in 1 packets: 36
      11.9999603 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: 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 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 20210812_031107_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 15.6537983 to 15.6540873
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9196950  -- OK for SL --
   MIU time from 2021-08-12T03:11:23.712.052.000 to 2021-08-12T03:11:23.712.341.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.919725

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.5737823 to 24.5740713
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8196470  -- OK for SL --
   MIU time from 2021-08-12T03:11:32.632.066.000 to 2021-08-12T03:11:32.632.355.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.819710

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.3937183 to 43.3940073
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8796150  -- OK for SL --
   MIU time from 2021-08-12T03:11:51.452.065.000 to 2021-08-12T03:11:51.452.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.879654

 - 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 55.2736223 to 55.2739113
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T03:12:03.332.008.000 to 2021-08-12T03:12:03.332.297.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 = 13, 32bit 10MHz counter = 15.653798300 corrected by 40bit 10MHz counter of 14.941745600 obtained at 1Hz counter of 13. Result: 13.712055050
--
   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-12T03:11:23.711.911.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T03:12:03.332.156.725
   Min 1st sample XO time among all SL packets: 13.711914774
   Max 1st sample XO time among all SL packets: 53.332158921
   TM values from -247 to 226 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T03:11:23.711.911.725 (XO: 13.711914774 - 13.712220775, t=37.2 degC)  Rank: 00084
   TM values: Max =   226  Min =  -247  Ave =    -4.43  Std =    18.32
   Min TM value:-247 at an offset of 122.200 usec -> 2021-08-12T03:11:23.712.033.925 (XO: 13.712036975)
   Max TM value:226 at an offset of 121.925 usec -> 2021-08-12T03:11:23.712.033.650 (XO: 13.712036700)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 124.575 usec -> 2021-08-12T03:11:23.712.036.300 (XO: 13.712039350)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 122.038 usec -> 2021-08-12T03:11:23.712.033.762 (XO: 13.712036812)

 - Block number: 2 starting at 2021-08-12T03:11:32.631.925.725 (XO: 22.631928310 - 22.632234311, t=37.2 degC)  Rank: 00083
   TM values: Max =   194  Min =  -246  Ave =    -4.48  Std =    20.42
   Min TM value:-246 at an offset of 107.638 usec -> 2021-08-12T03:11:32.632.033.362 (XO: 22.632035948)
   Max TM value:194 at an offset of 107.325 usec -> 2021-08-12T03:11:32.632.033.050 (XO: 22.632035636)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 110.063 usec -> 2021-08-12T03:11:32.632.035.787 (XO: 22.632038373)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 107.463 usec -> 2021-08-12T03:11:32.632.033.187 (XO: 22.632035773)

 - Block number: 3 starting at 2021-08-12T03:11:51.451.924.725 (XO: 41.451926616 - 41.452232617, t=37.2 degC)  Rank: 00079
   TM values: Max =   217  Min =  -239  Ave =    -4.46  Std =    19.64
   Min TM value:-239 at an offset of 104.875 usec -> 2021-08-12T03:11:51.452.029.600 (XO: 41.452031492)
   Max TM value:217 at an offset of 104.588 usec -> 2021-08-12T03:11:51.452.029.312 (XO: 41.452031204)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 107.250 usec -> 2021-08-12T03:11:51.452.031.975 (XO: 41.452033867)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 104.700 usec -> 2021-08-12T03:11:51.452.029.425 (XO: 41.452031317)

 - Block number: 4 starting at 2021-08-12T03:12:03.331.867.725 (XO: 53.331869920 - 53.332175921, t=37.2 degC)  Rank: 00080
   TM values: Max =   190  Min =  -217  Ave =    -4.52  Std =    19.94
   Min TM value:-217 at an offset of 115.988 usec -> 2021-08-12T03:12:03.331.983.712 (XO: 53.331985908)
   Max TM value:190 at an offset of 118.675 usec -> 2021-08-12T03:12:03.331.986.400 (XO: 53.331988596)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 118.488 usec -> 2021-08-12T03:12:03.331.986.212 (XO: 53.331988408)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 115.813 usec -> 2021-08-12T03:12:03.331.983.537 (XO: 53.331985733)
