-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 20:37:38 2023 UTC
-- File 20221015_121613_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 0.953899 to 39.086920
-each separately from 0s to 39s and from 86631us to 954188us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.536142 in 1 packets: 18
      16.596012 in 1 packets: 36
MIU packet time from 2022-10-15T12:16:16.953.899.000 to 2022-10-15T12:16:55.086.920.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.536142 in 1 packets: 18
      16.596012 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 2.2260264 to 41.2258856
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.9999206 in 1 packets: 18
      16.9999386 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20221015_121613_1227.dat, 3 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 3.1799259 to 3.1802149
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5360630  -- OK for SL --
   MIU time from 2022-10-15T12:16:16.953.899.000 to 2022-10-15T12:16:16.954.188.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.536142

 - 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.7162779 to 24.7165669
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5959510  -- OK for SL --
   MIU time from 2022-10-15T12:16:38.490.330.000 to 2022-10-15T12:16:38.490.619.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.596012

 - 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 41.3125179 to 41.3128069
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-10-15T12:16:55.086.631.000 to 2022-10-15T12:16:55.086.920.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 0, 32bit 10MHz counter = 3.179925900 corrected by 40bit 10MHz counter of 2.226026400 obtained at 1Hz counter of 0. Result: 0.953902934
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-10-15T12:16:16.953.758.725
   Max 1st sample MIU time among all SL packets: 2022-10-15T12:16:55.086.779.725
   Min 1st sample XO time among all SL packets: 0.953762659
   Max 1st sample XO time among all SL packets: 39.086781337
   TM values from -241 to 199 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-10-15T12:16:16.953.758.725 (XO: 0.953762659 - 0.954068660, t=37.2 degC)  Rank: 00079
   TM values: Max =   159  Min =  -215  Ave =    -4.35  Std =    19.92
   Min TM value:-215 at an offset of 124.525 usec -> 2022-10-15T12:16:16.953.883.250 (XO: 0.953887184)
   Max TM value:159 at an offset of 121.800 usec -> 2022-10-15T12:16:16.953.880.525 (XO: 0.953884459)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 124.638 usec -> 2022-10-15T12:16:16.953.883.362 (XO: 0.953887296)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 121.875 usec -> 2022-10-15T12:16:16.953.880.600 (XO: 0.953884534)

 - Block number: 2 starting at 2022-10-15T12:16:38.490.189.725 (XO: 22.490192390 - 22.490498391, t=37.2 degC)  Rank: 00083
   TM values: Max =   175  Min =  -215  Ave =    -4.36  Std =    19.12
   Min TM value:-215 at an offset of 109.075 usec -> 2022-10-15T12:16:38.490.298.800 (XO: 22.490301465)
   Max TM value:175 at an offset of 96.013 usec -> 2022-10-15T12:16:38.490.285.737 (XO: 22.490288403)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 111.538 usec -> 2022-10-15T12:16:38.490.301.262 (XO: 22.490303928)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 108.875 usec -> 2022-10-15T12:16:38.490.298.600 (XO: 22.490301265)

 - Block number: 3 starting at 2022-10-15T12:16:55.086.490.725 (XO: 39.086492336 - 39.086798337, t=37.2 degC)  Rank: 00080
   TM values: Max =   199  Min =  -241  Ave =    -4.34  Std =    23.90
   Min TM value:-241 at an offset of 196.426 usec -> 2022-10-15T12:16:55.086.687.150 (XO: 39.086688762)
   Max TM value:199 at an offset of 124.388 usec -> 2022-10-15T12:16:55.086.615.112 (XO: 39.086616724)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 122.413 usec -> 2022-10-15T12:16:55.086.613.137 (XO: 39.086614749)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 124.500 usec -> 2022-10-15T12:16:55.086.615.225 (XO: 39.086616837)
