-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 02:41:54 2023 UTC
-- File 20220629_161354_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 2.037268 to 58.005909
-each separately from 2s to 58s and from 5620us to 444435us.
   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.406589 in 1 packets: 18
      12.780863 in 1 packets: 36
      21.780033 in 1 packets: 54
MIU packet time from 2022-06-29T16:13:59.037.268.000 to 2022-06-29T16:14:55.005.909.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.406589 in 1 packets: 18
      12.780863 in 1 packets: 36
      21.780033 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 3.7606361 to 59.7604286
   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, ...
      20.9999222 in 1 packets: 18
      12.9999517 in 1 packets: 36
      21.9999186 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220629_161354_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.7979054 to 3.7981944
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4065110  -- OK for SL --
   MIU time from 2022-06-29T16:13:59.037.268.000 to 2022-06-29T16:13:59.037.557.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.406589

 - 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 25.2047054 to 25.2049944
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7808150  -- OK for SL --
   MIU time from 2022-06-29T16:14:20.444.146.000 to 2022-06-29T16:14:20.444.435.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.780863

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9858094 to 37.9860984
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7799510  -- OK for SL --
   MIU time from 2022-06-29T16:14:33.225.298.000 to 2022-06-29T16:14:33.225.587.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.780033

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.7660494 to 59.7663384
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-29T16:14:55.005.620.000 to 2022-06-29T16:14:55.005.909.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 = 2, 32bit 10MHz counter = 3.797905400 corrected by 40bit 10MHz counter of 3.760636100 obtained at 1Hz counter of 2. Result: 2.037269438
--
   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-06-29T16:13:59.037.127.725
   Max 1st sample MIU time among all SL packets: 2022-06-29T16:14:55.005.768.725
   Min 1st sample XO time among all SL packets: 2.037129162
   Max 1st sample XO time among all SL packets: 58.005769546
   TM values from -270 to 251 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-29T16:13:59.037.127.725 (XO: 2.037129162 - 2.037435164, t=37.2 degC)  Rank: 00076
   TM values: Max =   173  Min =  -210  Ave =    -4.37  Std =    18.61
   Min TM value:-210 at an offset of 120.975 usec -> 2022-06-29T16:13:59.037.248.700 (XO: 2.037250138)
   Max TM value:173 at an offset of 118.425 usec -> 2022-06-29T16:13:59.037.246.150 (XO: 2.037247588)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 121.050 usec -> 2022-06-29T16:13:59.037.248.775 (XO: 2.037250213)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 118.538 usec -> 2022-06-29T16:13:59.037.246.262 (XO: 2.037247700)

 - Block number: 2 starting at 2022-06-29T16:14:20.444.005.725 (XO: 23.444008468 - 23.444314469, t=37.2 degC)  Rank: 00079
   TM values: Max =   251  Min =  -236  Ave =    -4.46  Std =    20.06
   Min TM value:-236 at an offset of 109.013 usec -> 2022-06-29T16:14:20.444.114.737 (XO: 23.444117481)
   Max TM value:251 at an offset of 108.775 usec -> 2022-06-29T16:14:20.444.114.500 (XO: 23.444117243)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 108.688 usec -> 2022-06-29T16:14:20.444.114.412 (XO: 23.444117156)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 108.863 usec -> 2022-06-29T16:14:20.444.114.587 (XO: 23.444117331)

 - Block number: 3 starting at 2022-06-29T16:14:33.225.157.725 (XO: 36.225159936 - 36.225465937, t=37.2 degC)  Rank: 00078
   TM values: Max =   236  Min =  -270  Ave =    -4.53  Std =    25.73
   Min TM value:-270 at an offset of 118.763 usec -> 2022-06-29T16:14:33.225.276.487 (XO: 36.225278699)
   Max TM value:236 at an offset of 91.525 usec -> 2022-06-29T16:14:33.225.249.250 (XO: 36.225251461)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 121.038 usec -> 2022-06-29T16:14:33.225.278.762 (XO: 36.225280974)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 120.850 usec -> 2022-06-29T16:14:33.225.278.575 (XO: 36.225280786)

 - Block number: 4 starting at 2022-06-29T16:14:55.005.479.725 (XO: 58.005480545 - 58.005786546, t=37.2 degC)  Rank: 00084
   TM values: Max =   202  Min =  -250  Ave =    -4.38  Std =    21.29
   Min TM value:-250 at an offset of 120.325 usec -> 2022-06-29T16:14:55.005.600.050 (XO: 58.005600871)
   Max TM value:202 at an offset of 117.888 usec -> 2022-06-29T16:14:55.005.597.612 (XO: 58.005598433)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 120.413 usec -> 2022-06-29T16:14:55.005.600.137 (XO: 58.005600958)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 120.238 usec -> 2022-06-29T16:14:55.005.599.962 (XO: 58.005600783)
