-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 12 15:14:34 2021 UTC
-- File 20210812_004439_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 8.151381 to 52.111751
-each separately from 8s to 52s and from 111462us to 631792us.
   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, ...
      14.009757 in 1 packets: 18
      18.469787 in 1 packets: 36
      11.479670 in 1 packets: 54
MIU packet time from 2021-08-12T00:44:50.151.381.000 to 2021-08-12T00:45:34.111.751.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, ...
      14.009757 in 1 packets: 18
      18.469787 in 1 packets: 36
      11.479670 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 9.8811131 to 53.8809674
   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, ...
      13.9999537 in 1 packets: 18
      17.9999403 in 1 packets: 36
      11.9999603 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      03 -> 51.1 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C1 -> 37.2 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 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210812_004439_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.0324948 to 10.0327838
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.0097110  -- OK for SL --
   MIU time from 2021-08-12T00:44:50.151.381.000 to 2021-08-12T00:44:50.151.670.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.009757

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.0424948 to 24.0427838
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4697270  -- OK for SL --
   MIU time from 2021-08-12T00:45:04.161.427.000 to 2021-08-12T00:45:04.161.716.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.469787

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.5125108 to 42.5127998
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4796310  -- OK for SL --
   MIU time from 2021-08-12T00:45:22.631.503.000 to 2021-08-12T00:45:22.631.792.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.479670

 - 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 53.9924308 to 53.9927198
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T00:45:34.111.462.000 to 2021-08-12T00:45:34.111.751.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 = 8, 32bit 10MHz counter = 10.032494800 corrected by 40bit 10MHz counter of 9.881113100 obtained at 1Hz counter of 8. Result: 8.151382200
--
   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: 2021-08-12T00:44:50.151.240.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T00:45:34.111.610.725
   Min 1st sample XO time among all SL packets: 8.151241924
   Max 1st sample XO time among all SL packets: 52.111612504
   TM values from -258 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T00:44:50.151.240.725 (XO: 8.151241924 - 8.151547925, t=37.2 degC)  Rank: 00082
   TM values: Max =   228  Min =  -258  Ave =    -4.43  Std =    32.92
   Min TM value:-258 at an offset of 201.376 usec -> 2021-08-12T00:44:50.151.442.100 (XO: 8.151443300)
   Max TM value:228 at an offset of 131.325 usec -> 2021-08-12T00:44:50.151.372.050 (XO: 8.151373250)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 129.263 usec -> 2021-08-12T00:44:50.151.369.987 (XO: 8.151371187)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 131.425 usec -> 2021-08-12T00:44:50.151.372.150 (XO: 8.151373350)

 - Block number: 2 starting at 2021-08-12T00:45:04.161.286.725 (XO: 22.161288273 - 22.161594274, t=37.2 degC)  Rank: 00079
   TM values: Max =   176  Min =  -191  Ave =    -4.39  Std =    18.73
   Min TM value:-191 at an offset of 115.238 usec -> 2021-08-12T00:45:04.161.401.962 (XO: 22.161403511)
   Max TM value:176 at an offset of 130.738 usec -> 2021-08-12T00:45:04.161.417.462 (XO: 22.161419011)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 130.625 usec -> 2021-08-12T00:45:04.161.417.350 (XO: 22.161418899)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 115.088 usec -> 2021-08-12T00:45:04.161.401.812 (XO: 22.161403361)

 - Block number: 3 starting at 2021-08-12T00:45:22.631.362.725 (XO: 40.631365572 - 40.631671573, t=37.2 degC)  Rank: 00079
   TM values: Max =   217  Min =  -237  Ave =    -4.46  Std =    20.29
   Min TM value:-237 at an offset of 92.450 usec -> 2021-08-12T00:45:22.631.455.175 (XO: 40.631458022)
   Max TM value:217 at an offset of 92.138 usec -> 2021-08-12T00:45:22.631.454.862 (XO: 40.631457709)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 94.825 usec -> 2021-08-12T00:45:22.631.457.550 (XO: 40.631460397)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 92.238 usec -> 2021-08-12T00:45:22.631.454.962 (XO: 40.631457809)

 - Block number: 4 starting at 2021-08-12T00:45:34.111.321.725 (XO: 52.111323503 - 52.111629505, t=37.2 degC)  Rank: 00079
   TM values: Max =   202  Min =  -245  Ave =    -4.41  Std =    19.88
   Min TM value:-245 at an offset of 130.925 usec -> 2021-08-12T00:45:34.111.452.650 (XO: 52.111454429)
   Max TM value:202 at an offset of 133.613 usec -> 2021-08-12T00:45:34.111.455.337 (XO: 52.111457116)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 133.463 usec -> 2021-08-12T00:45:34.111.455.187 (XO: 52.111456966)
   Min dTM/dt [1/us]:-1.61e+03 at an offset of 130.713 usec -> 2021-08-12T00:45:34.111.452.437 (XO: 52.111454216)
