-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Mar  5 23:19:07 2022 UTC
-- File 20220202_121602_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 12.157185 to 54.946362
-each separately from 12s to 54s and from 17271us to 946362us.
   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, ...
      14.859797 in 1 packets: 18
      6.099573 in 1 packets: 36
      21.828651 in 1 packets: 54
MIU packet time from 2022-02-02T12:16:17.157.185.000 to 2022-02-02T12:16:59.946.362.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, ...
      14.859797 in 1 packets: 18
      6.099573 in 1 packets: 36
      21.828651 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 13.7881943 to 55.7880434
   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, ...
      14.9999460 in 1 packets: 18
      5.9999784 in 1 packets: 36
      20.9999247 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20220202_121602_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9453807 to 13.9456697
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8597430  -- OK for SL --
   MIU time from 2022-02-02T12:16:17.157.185.000 to 2022-02-02T12:16:17.157.474.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.859797

 - 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 28.8054127 to 28.8057017
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0995510  -- OK for SL --
   MIU time from 2022-02-02T12:16:32.017.271.000 to 2022-02-02T12:16:32.017.560.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.099573

 - 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 34.9052527 to 34.9055417
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8285750  -- OK for SL --
   MIU time from 2022-02-02T12:16:38.117.133.000 to 2022-02-02T12:16:38.117.422.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.828651

 - 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 56.7341167 to 56.7344057
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T12:16:59.946.073.000 to 2022-02-02T12:16:59.946.362.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 = 12, 32bit 10MHz counter = 13.945380700 corrected by 40bit 10MHz counter of 13.788194300 obtained at 1Hz counter of 12. Result: 12.157186982
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-02T12:16:17.157.044.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T12:16:59.946.221.725
   Min 1st sample XO time among all SL packets: 12.157046706
   Max 1st sample XO time among all SL packets: 54.946225431
   TM values from -278 to 226 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T12:16:17.157.044.725 (XO: 12.157046706 - 12.157352707, t=37.2 degC)  Rank: 00085
   TM values: Max =   221  Min =  -272  Ave =    -4.61  Std =    27.93
   Min TM value:-272 at an offset of 120.688 usec -> 2022-02-02T12:16:17.157.165.412 (XO: 12.157167394)
   Max TM value:221 at an offset of 118.275 usec -> 2022-02-02T12:16:17.157.163.000 (XO: 12.157164982)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 162.963 usec -> 2022-02-02T12:16:17.157.207.688 (XO: 12.157209669)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 118.400 usec -> 2022-02-02T12:16:17.157.163.125 (XO: 12.157165107)

 - Block number: 2 starting at 2022-02-02T12:16:32.017.130.725 (XO: 27.017132187 - 27.017438188, t=37.2 degC)  Rank: 00076
   TM values: Max =   171  Min =  -227  Ave =    -4.50  Std =    22.41
   Min TM value:-227 at an offset of 96.275 usec -> 2022-02-02T12:16:32.017.227.000 (XO: 27.017228462)
   Max TM value:171 at an offset of 128.850 usec -> 2022-02-02T12:16:32.017.259.575 (XO: 27.017261037)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 96.375 usec -> 2022-02-02T12:16:32.017.227.100 (XO: 27.017228562)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 93.850 usec -> 2022-02-02T12:16:32.017.224.575 (XO: 27.017226037)

 - Block number: 3 starting at 2022-02-02T12:16:38.116.992.725 (XO: 33.116994146 - 33.117300147, t=37.2 degC)  Rank: 00079
   TM values: Max =   191  Min =  -278  Ave =    -4.52  Std =    21.18
   Min TM value:-278 at an offset of 118.613 usec -> 2022-02-02T12:16:38.117.111.337 (XO: 33.117112759)
   Max TM value:191 at an offset of 118.863 usec -> 2022-02-02T12:16:38.117.111.587 (XO: 33.117113009)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 118.738 usec -> 2022-02-02T12:16:38.117.111.462 (XO: 33.117112884)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 116.300 usec -> 2022-02-02T12:16:38.117.109.025 (XO: 33.117110447)

 - Block number: 4 starting at 2022-02-02T12:16:59.945.932.725 (XO: 54.945936430 - 54.946242431, t=37.2 degC)  Rank: 00078
   TM values: Max =   226  Min =  -244  Ave =    -4.50  Std =    28.33
   Min TM value:-244 at an offset of 110.588 usec -> 2022-02-02T12:16:59.946.043.312 (XO: 54.946047018)
   Max TM value:226 at an offset of 165.026 usec -> 2022-02-02T12:16:59.946.097.750 (XO: 54.946101456)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 162.988 usec -> 2022-02-02T12:16:59.946.095.713 (XO: 54.946099418)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 165.101 usec -> 2022-02-02T12:16:59.946.097.825 (XO: 54.946101531)
