-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  9 00:28:00 2023 UTC
-- File 20220528_115841_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.520550 to 48.214575
-each separately from 12s to 48s and from 214286us to 991521us.
   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.470393 in 1 packets: 18
      20.565766 in 1 packets: 36
      6.656710 in 1 packets: 54
MIU packet time from 2022-05-28T11:58:56.520.550.000 to 2022-05-28T11:59:32.214.575.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.470393 in 1 packets: 18
      20.565766 in 1 packets: 36
      6.656710 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.7638367 to 49.7637161
   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.9999732 in 1 packets: 18
      20.9999297 in 1 packets: 36
      6.9999765 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 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: 
      1 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      1 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 3 packets: 19, 20, 21
      3 in 6 packets: 22, 23, 24, 25, 26, 27
      4 in 45 packets: 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, ...
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 20220528_115841_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:
      92 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.2843879 to 14.2846769
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.4703670  -- OK for SL --
   MIU time from 2022-05-28T11:58:56.520.550.000 to 2022-05-28T11:58:56.520.839.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.470393

 - 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:
      116 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.7550439 to 22.7553329
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.5656950  -- OK for SL --
   MIU time from 2022-05-28T11:59:04.991.232.000 to 2022-05-28T11:59:04.991.521.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.565766

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.3210279 to 43.3213169
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6566870  -- OK for SL --
   MIU time from 2022-05-28T11:59:25.557.287.000 to 2022-05-28T11:59:25.557.576.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.656710

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.9780039 to 49.9782929
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T11:59:32.214.286.000 to 2022-05-28T11:59:32.214.575.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.284387900 corrected by 40bit 10MHz counter of 13.763836700 obtained at 1Hz counter of 12. Result: 12.520552918
--
   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-05-28T11:58:56.520.409.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T11:59:32.214.434.725
   Min 1st sample XO time among all SL packets: 12.520412642
   Max 1st sample XO time among all SL packets: 48.214437233
   TM values from -474 to 457 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T11:58:56.520.409.725 (XO: 12.520412642 - 12.520718643, t=43.6 degC)  Rank: 00092
   TM values: Max =   407  Min =  -453  Ave =    -4.38  Std =    66.74
   Min TM value:-453 at an offset of 236.926 usec -> 2022-05-28T11:58:56.520.646.650 (XO: 12.520649568)
   Max TM value:407 at an offset of 290.338 usec -> 2022-05-28T11:58:56.520.700.063 (XO: 12.520702981)
   Max dTM/dt [1/us]:3.29e+03 at an offset of 236.313 usec -> 2022-05-28T11:58:56.520.646.038 (XO: 12.520648956)
   Min dTM/dt [1/us]:-2.96e+03 at an offset of 290.426 usec -> 2022-05-28T11:58:56.520.700.150 (XO: 12.520703068)

 - Block number: 2 starting at 2022-05-28T11:59:04.991.091.725 (XO: 20.991096996 - 20.991402997, t=43.6 degC)  Rank: 00116
   TM values: Max =   457  Min =  -474  Ave =    -4.28  Std =    86.34
   Min TM value:-474 at an offset of 179.276 usec -> 2022-05-28T11:59:04.991.271.000 (XO: 20.991276271)
   Max TM value:457 at an offset of 245.113 usec -> 2022-05-28T11:59:04.991.336.838 (XO: 20.991342109)
   Max dTM/dt [1/us]:3.63e+03 at an offset of 267.076 usec -> 2022-05-28T11:59:04.991.358.800 (XO: 20.991364072)
   Min dTM/dt [1/us]:-3.94e+03 at an offset of 176.063 usec -> 2022-05-28T11:59:04.991.267.788 (XO: 20.991273059)

 - Block number: 3 starting at 2022-05-28T11:59:25.557.146.725 (XO: 41.557149919 - 41.557455920, t=43.6 degC)  Rank: 00076
   TM values: Max =   226  Min =  -282  Ave =    -4.62  Std =    29.57
   Min TM value:-282 at an offset of 168.488 usec -> 2022-05-28T11:59:25.557.315.213 (XO: 41.557318407)
   Max TM value:226 at an offset of 168.226 usec -> 2022-05-28T11:59:25.557.314.950 (XO: 41.557318145)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 72.750 usec -> 2022-05-28T11:59:25.557.219.475 (XO: 41.557222670)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 116.663 usec -> 2022-05-28T11:59:25.557.263.387 (XO: 41.557266582)

 - Block number: 4 starting at 2022-05-28T11:59:32.214.145.725 (XO: 48.214148232 - 48.214454233, t=43.6 degC)  Rank: 00078
   TM values: Max =   290  Min =  -304  Ave =    -4.48  Std =    36.87
   Min TM value:-304 at an offset of 126.600 usec -> 2022-05-28T11:59:32.214.272.325 (XO: 48.214274832)
   Max TM value:290 at an offset of 126.913 usec -> 2022-05-28T11:59:32.214.272.637 (XO: 48.214275145)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 126.775 usec -> 2022-05-28T11:59:32.214.272.500 (XO: 48.214275007)
   Min dTM/dt [1/us]:-3.72e+03 at an offset of 133.088 usec -> 2022-05-28T11:59:32.214.278.812 (XO: 48.214281320)
