-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 14:01:14 2023 UTC
-- File 20220602_150952_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 4.593706 to 59.526290
-each separately from 4s to 59s and from 526001us to 724648us.
   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.130364 in 1 packets: 18
      16.860583 in 1 packets: 36
      14.940481 in 1 packets: 54
MIU packet time from 2022-06-02T15:09:59.593.706.000 to 2022-06-02T15:10:54.526.290.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.130364 in 1 packets: 18
      16.860583 in 1 packets: 36
      14.940481 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 5.3600779 to 60.3598950
   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, ...
      22.9999234 in 1 packets: 18
      16.9999435 in 1 packets: 36
      14.9999502 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220602_150952_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 5.9537858 to 5.9540748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.1302870  -- OK for SL --
   MIU time from 2022-06-02T15:09:59.593.706.000 to 2022-06-02T15:09:59.593.995.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.130364

 - 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 29.0843618 to 29.0846508
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8605270  -- OK for SL --
   MIU time from 2022-06-02T15:10:22.724.359.000 to 2022-06-02T15:10:22.724.648.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.860583

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.9451778 to 45.9454668
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9404310  -- OK for SL --
   MIU time from 2022-06-02T15:10:39.585.231.000 to 2022-06-02T15:10:39.585.520.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.940481

 - 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 60.8858978 to 60.8861868
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-02T15:10:54.526.001.000 to 2022-06-02T15:10:54.526.290.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 = 4, 32bit 10MHz counter = 5.953785800 corrected by 40bit 10MHz counter of 5.360077900 obtained at 1Hz counter of 4. Result: 4.593709919
--
   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-02T15:09:59.593.565.725
   Max 1st sample MIU time among all SL packets: 2022-06-02T15:10:54.526.149.725
   Min 1st sample XO time among all SL packets: 4.593569643
   Max 1st sample XO time among all SL packets: 59.526153261
   TM values from -270 to 239 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-02T15:09:59.593.565.725 (XO: 4.593569643 - 4.593875644, t=43.6 degC)  Rank: 00079
   TM values: Max =   236  Min =  -259  Ave =    -4.44  Std =    21.88
   Min TM value:-259 at an offset of 122.475 usec -> 2022-06-02T15:09:59.593.688.200 (XO: 4.593692119)
   Max TM value:236 at an offset of 124.838 usec -> 2022-06-02T15:09:59.593.690.562 (XO: 4.593694481)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 124.738 usec -> 2022-06-02T15:09:59.593.690.462 (XO: 4.593694381)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 122.313 usec -> 2022-06-02T15:09:59.593.688.037 (XO: 4.593691956)

 - Block number: 2 starting at 2022-06-02T15:10:22.724.218.725 (XO: 27.724222615 - 27.724528616, t=43.6 degC)  Rank: 00076
   TM values: Max =   239  Min =  -270  Ave =    -4.36  Std =    29.33
   Min TM value:-270 at an offset of 125.438 usec -> 2022-06-02T15:10:22.724.344.162 (XO: 27.724348053)
   Max TM value:239 at an offset of 127.763 usec -> 2022-06-02T15:10:22.724.346.487 (XO: 27.724350378)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 127.650 usec -> 2022-06-02T15:10:22.724.346.375 (XO: 27.724350265)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 159.701 usec -> 2022-06-02T15:10:22.724.378.425 (XO: 27.724382315)

 - Block number: 3 starting at 2022-06-02T15:10:39.585.090.725 (XO: 44.585094656 - 44.585400657, t=43.6 degC)  Rank: 00082
   TM values: Max =   221  Min =  -268  Ave =    -4.42  Std =    36.04
   Min TM value:-268 at an offset of 195.376 usec -> 2022-06-02T15:10:39.585.286.100 (XO: 44.585290031)
   Max TM value:221 at an offset of 171.776 usec -> 2022-06-02T15:10:39.585.262.500 (XO: 44.585266431)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 66.625 usec -> 2022-06-02T15:10:39.585.157.350 (XO: 44.585161281)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 171.888 usec -> 2022-06-02T15:10:39.585.262.613 (XO: 44.585266544)

 - Block number: 4 starting at 2022-06-02T15:10:54.525.860.725 (XO: 59.525864260 - 59.526170261, t=43.6 degC)  Rank: 00079
   TM values: Max =   198  Min =  -253  Ave =    -4.53  Std =    27.17
   Min TM value:-253 at an offset of 108.938 usec -> 2022-06-02T15:10:54.525.969.662 (XO: 59.525973198)
   Max TM value:198 at an offset of 113.525 usec -> 2022-06-02T15:10:54.525.974.250 (XO: 59.525977786)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 111.150 usec -> 2022-06-02T15:10:54.525.971.875 (XO: 59.525975411)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 113.650 usec -> 2022-06-02T15:10:54.525.974.375 (XO: 59.525977911)
