-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 01:05:25 2023 UTC
-- File 20220613_130430_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 1.823282 to 49.710453
-each separately from 1s to 49s and from 326371us to 823571us.
   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, ...
      23.502800 in 1 packets: 18
      10.021233 in 1 packets: 36
      14.361982 in 1 packets: 54
MIU packet time from 2022-06-13T13:04:34.823.282.000 to 2022-06-13T13:05:22.710.453.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, ...
      23.502800 in 1 packets: 18
      10.021233 in 1 packets: 36
      14.361982 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 2.7144451 to 50.7142836
   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.9999193 in 1 packets: 18
      9.9999663 in 1 packets: 36
      13.9999529 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 72 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 20220613_130430_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5377293 to 3.5380183
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5027190  -- OK for SL --
   MIU time from 2022-06-13T13:04:34.823.282.000 to 2022-06-13T13:04:34.823.571.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.502800

 - 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 27.0407373 to 27.0410263
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0211990  -- OK for SL --
   MIU time from 2022-06-13T13:04:58.326.371.000 to 2022-06-13T13:04:58.326.660.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.021233

 - 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 37.0622253 to 37.0625143
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3619350  -- OK for SL --
   MIU time from 2022-06-13T13:05:08.347.893.000 to 2022-06-13T13:05:08.348.182.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.361982

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.4244493 to 51.4247383
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-13T13:05:22.710.164.000 to 2022-06-13T13:05:22.710.453.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 = 1, 32bit 10MHz counter = 3.537729300 corrected by 40bit 10MHz counter of 2.714445100 obtained at 1Hz counter of 1. Result: 1.823286999
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-06-13T13:04:34.823.141.725
   Max 1st sample MIU time among all SL packets: 2022-06-13T13:05:22.710.312.725
   Min 1st sample XO time among all SL packets: 1.823146724
   Max 1st sample XO time among all SL packets: 49.710316769
   TM values from -296 to 235 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-13T13:04:34.823.141.725 (XO: 1.823146724 - 1.823452725, t=43.6 degC)  Rank: 00083
   TM values: Max =   228  Min =  -263  Ave =    -4.53  Std =    39.63
   Min TM value:-263 at an offset of 288.426 usec -> 2022-06-13T13:04:34.823.430.150 (XO: 1.823435150)
   Max TM value:228 at an offset of 290.751 usec -> 2022-06-13T13:04:34.823.432.475 (XO: 1.823437475)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 163.788 usec -> 2022-06-13T13:04:34.823.305.513 (XO: 1.823310512)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 265.613 usec -> 2022-06-13T13:04:34.823.407.338 (XO: 1.823412337)

 - Block number: 2 starting at 2022-06-13T13:04:58.326.230.725 (XO: 25.326233734 - 25.326539735, t=43.6 degC)  Rank: 00083
   TM values: Max =   235  Min =  -257  Ave =    -4.52  Std =    35.33
   Min TM value:-257 at an offset of 196.738 usec -> 2022-06-13T13:04:58.326.427.463 (XO: 25.326430472)
   Max TM value:235 at an offset of 199.088 usec -> 2022-06-13T13:04:58.326.429.813 (XO: 25.326432822)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 5.475 usec -> 2022-06-13T13:04:58.326.236.200 (XO: 25.326239209)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 156.363 usec -> 2022-06-13T13:04:58.326.387.088 (XO: 25.326390097)

 - Block number: 3 starting at 2022-06-13T13:05:08.347.752.725 (XO: 35.347755473 - 35.348061474, t=43.6 degC)  Rank: 00080
   TM values: Max =   217  Min =  -296  Ave =    -4.39  Std =    31.20
   Min TM value:-296 at an offset of 140.613 usec -> 2022-06-13T13:05:08.347.893.337 (XO: 35.347896086)
   Max TM value:217 at an offset of 142.938 usec -> 2022-06-13T13:05:08.347.895.662 (XO: 35.347898411)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 112.263 usec -> 2022-06-13T13:05:08.347.864.987 (XO: 35.347867735)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 140.500 usec -> 2022-06-13T13:05:08.347.893.225 (XO: 35.347895973)

 - Block number: 4 starting at 2022-06-13T13:05:22.710.023.725 (XO: 49.710027768 - 49.710333769, t=43.6 degC)  Rank: 00075
   TM values: Max =   232  Min =  -244  Ave =    -4.41  Std =    37.86
   Min TM value:-244 at an offset of 272.701 usec -> 2022-06-13T13:05:22.710.296.425 (XO: 49.710300469)
   Max TM value:232 at an offset of 275.063 usec -> 2022-06-13T13:05:22.710.298.788 (XO: 49.710302831)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 245.201 usec -> 2022-06-13T13:05:22.710.268.925 (XO: 49.710272969)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 277.376 usec -> 2022-06-13T13:05:22.710.301.100 (XO: 49.710305144)
