-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 04:37:47 2023 UTC
-- File 20220706_210515_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.326012 to 55.035225
-each separately from 12s to 55s and from 34936us to 604170us.
   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.277580 in 1 packets: 18
      16.675357 in 1 packets: 36
      17.755120 in 1 packets: 54
MIU packet time from 2022-07-06T21:05:30.326.012.000 to 2022-07-06T21:06:13.035.225.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.277580 in 1 packets: 18
      16.675357 in 1 packets: 36
      17.755120 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.7606929 to 56.7605375
   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, ...
      7.9999711 in 1 packets: 18
      16.9999385 in 1 packets: 36
      17.9999350 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20220706_210515_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.0867064 to 14.0869954
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.2775510  -- OK for SL --
   MIU time from 2022-07-06T21:05:30.326.012.000 to 2022-07-06T21:05:30.326.301.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.277580

 - 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 22.3645464 to 22.3648354
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6752950  -- OK for SL --
   MIU time from 2022-07-06T21:05:38.603.881.000 to 2022-07-06T21:05:38.604.170.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.675357

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.0401304 to 39.0404194
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7550550  -- OK for SL --
   MIU time from 2022-07-06T21:05:55.279.527.000 to 2022-07-06T21:05:55.279.816.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.755120

 - 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 56.7954744 to 56.7957634
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T21:06:13.034.936.000 to 2022-07-06T21:06:13.035.225.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 = 14.086706400 corrected by 40bit 10MHz counter of 13.760692900 obtained at 1Hz counter of 12. Result: 12.326014674
--
   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-07-06T21:05:30.325.871.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T21:06:13.035.084.725
   Min 1st sample XO time among all SL packets: 12.325874398
   Max 1st sample XO time among all SL packets: 55.035085755
   TM values from -333 to 235 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T21:05:30.325.871.725 (XO: 12.325874398 - 12.326180399, t=38.8 degC)  Rank: 00082
   TM values: Max =   222  Min =  -318  Ave =    -4.43  Std =    32.52
   Min TM value:-318 at an offset of 117.188 usec -> 2022-07-06T21:05:30.325.988.912 (XO: 12.325991586)
   Max TM value:222 at an offset of 119.650 usec -> 2022-07-06T21:05:30.325.991.375 (XO: 12.325994049)
   Max dTM/dt [1/us]:2.79e+03 at an offset of 119.538 usec -> 2022-07-06T21:05:30.325.991.262 (XO: 12.325993936)
   Min dTM/dt [1/us]:-3.00e+03 at an offset of 117.050 usec -> 2022-07-06T21:05:30.325.988.775 (XO: 12.325991449)

 - Block number: 2 starting at 2022-07-06T21:05:38.603.740.725 (XO: 20.603744298 - 20.604050300, t=38.8 degC)  Rank: 00076
   TM values: Max =   220  Min =  -319  Ave =    -4.48  Std =    33.30
   Min TM value:-319 at an offset of 119.038 usec -> 2022-07-06T21:05:38.603.859.762 (XO: 20.603863336)
   Max TM value:220 at an offset of 117.725 usec -> 2022-07-06T21:05:38.603.858.450 (XO: 20.603862024)
   Max dTM/dt [1/us]:2.70e+03 at an offset of 119.175 usec -> 2022-07-06T21:05:38.603.859.900 (XO: 20.603863474)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 118.988 usec -> 2022-07-06T21:05:38.603.859.712 (XO: 20.603863286)

 - Block number: 3 starting at 2022-07-06T21:05:55.279.386.725 (XO: 37.279388631 - 37.279694632, t=38.8 degC)  Rank: 00075
   TM values: Max =   206  Min =  -280  Ave =    -4.57  Std =    34.82
   Min TM value:-280 at an offset of 107.025 usec -> 2022-07-06T21:05:55.279.493.750 (XO: 37.279495656)
   Max TM value:206 at an offset of 104.513 usec -> 2022-07-06T21:05:55.279.491.237 (XO: 37.279493144)
   Max dTM/dt [1/us]:2.82e+03 at an offset of 107.163 usec -> 2022-07-06T21:05:55.279.493.887 (XO: 37.279495794)
   Min dTM/dt [1/us]:-2.96e+03 at an offset of 104.650 usec -> 2022-07-06T21:05:55.279.491.375 (XO: 37.279493281)

 - Block number: 4 starting at 2022-07-06T21:06:13.034.795.725 (XO: 55.034796754 - 55.035102755, t=38.8 degC)  Rank: 00084
   TM values: Max =   235  Min =  -333  Ave =    -4.51  Std =    38.83
   Min TM value:-333 at an offset of 106.850 usec -> 2022-07-06T21:06:13.034.902.575 (XO: 55.034903604)
   Max TM value:235 at an offset of 107.088 usec -> 2022-07-06T21:06:13.034.902.812 (XO: 55.034903842)
   Max dTM/dt [1/us]:2.91e+03 at an offset of 106.963 usec -> 2022-07-06T21:06:13.034.902.687 (XO: 55.034903717)
   Min dTM/dt [1/us]:-2.70e+03 at an offset of 106.800 usec -> 2022-07-06T21:06:13.034.902.525 (XO: 55.034903554)
