-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 02:36:52 2023 UTC
-- File 20220522_030315_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.548995 to 54.265867
-each separately from 2s to 54s and from 265578us to 687753us.
   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, ...
      24.138180 in 1 packets: 18
      4.999312 in 1 packets: 36
      22.578224 in 1 packets: 54
MIU packet time from 2022-05-22T03:03:20.548.995.000 to 2022-05-22T03:04:12.265.867.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, ...
      24.138180 in 1 packets: 18
      4.999312 in 1 packets: 36
      22.578224 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.8240540 to 55.8238707
   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, ...
      23.9999154 in 1 packets: 18
      4.9999823 in 1 packets: 36
      22.9999190 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 20220522_030315_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3730502 to 4.3733392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1380950  -- OK for SL --
   MIU time from 2022-05-22T03:03:20.548.995.000 to 2022-05-22T03:03:20.549.284.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.138180

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.5114342 to 28.5117232
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.9992950  -- OK for SL --
   MIU time from 2022-05-22T03:03:44.687.464.000 to 2022-05-22T03:03:44.687.753.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.999312

 - 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 33.5110182 to 33.5113072
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.5781430  -- OK for SL --
   MIU time from 2022-05-22T03:03:49.687.065.000 to 2022-05-22T03:03:49.687.354.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.578224

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.0894502 to 56.0897392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T03:04:12.265.578.000 to 2022-05-22T03:04:12.265.867.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 = 4.373050200 corrected by 40bit 10MHz counter of 3.824054000 obtained at 1Hz counter of 2. Result: 2.548998121
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-22T03:03:20.548.854.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T03:04:12.265.726.725
   Min 1st sample XO time among all SL packets: 2.548857846
   Max 1st sample XO time among all SL packets: 54.265729155
   TM values from -271 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T03:03:20.548.854.725 (XO: 2.548857846 - 2.549163847, t=40.4 degC)  Rank: 00079
   TM values: Max =   204  Min =  -271  Ave =    -4.49  Std =    22.60
   Min TM value:-271 at an offset of 109.863 usec -> 2022-05-22T03:03:20.548.964.587 (XO: 2.548967709)
   Max TM value:204 at an offset of 112.238 usec -> 2022-05-22T03:03:20.548.966.962 (XO: 2.548970084)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 70.413 usec -> 2022-05-22T03:03:20.548.925.137 (XO: 2.548928259)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 111.900 usec -> 2022-05-22T03:03:20.548.966.625 (XO: 2.548969746)

 - Block number: 2 starting at 2022-05-22T03:03:44.687.323.725 (XO: 26.687326999 - 26.687633000, t=40.4 degC)  Rank: 00087
   TM values: Max =   217  Min =  -269  Ave =    -4.51  Std =    20.70
   Min TM value:-269 at an offset of 122.350 usec -> 2022-05-22T03:03:44.687.446.075 (XO: 26.687449350)
   Max TM value:217 at an offset of 122.588 usec -> 2022-05-22T03:03:44.687.446.312 (XO: 26.687449587)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 122.513 usec -> 2022-05-22T03:03:44.687.446.237 (XO: 26.687449512)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 122.275 usec -> 2022-05-22T03:03:44.687.446.000 (XO: 26.687449275)

 - Block number: 3 starting at 2022-05-22T03:03:49.686.924.725 (XO: 31.686928629 - 31.687234630, t=40.4 degC)  Rank: 00080
   TM values: Max =   244  Min =  -264  Ave =    -4.44  Std =    26.52
   Min TM value:-264 at an offset of 125.113 usec -> 2022-05-22T03:03:49.687.049.837 (XO: 31.687053742)
   Max TM value:244 at an offset of 125.375 usec -> 2022-05-22T03:03:49.687.050.100 (XO: 31.687054005)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 125.263 usec -> 2022-05-22T03:03:49.687.049.987 (XO: 31.687053892)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 125.025 usec -> 2022-05-22T03:03:49.687.049.750 (XO: 31.687053655)

 - Block number: 4 starting at 2022-05-22T03:04:12.265.437.725 (XO: 54.265440154 - 54.265746155, t=40.4 degC)  Rank: 00079
   TM values: Max =   186  Min =  -257  Ave =    -4.43  Std =    29.74
   Min TM value:-257 at an offset of 111.100 usec -> 2022-05-22T03:04:12.265.548.825 (XO: 54.265551254)
   Max TM value:186 at an offset of 156.101 usec -> 2022-05-22T03:04:12.265.593.825 (XO: 54.265596255)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 111.200 usec -> 2022-05-22T03:04:12.265.548.925 (XO: 54.265551354)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 110.988 usec -> 2022-05-22T03:04:12.265.548.712 (XO: 54.265551142)
