-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 18:52:52 2021 UTC
-- File 20210807_034240_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 13.593298 to 52.354100
-each separately from 13s to 52s and from 353811us to 803536us.
   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, ...
      4.209660 in 1 packets: 18
      24.590146 in 1 packets: 36
      9.959840 in 1 packets: 54
MIU packet time from 2021-08-07T03:42:56.593.298.000 to 2021-08-07T03:43:35.354.100.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, ...
      4.209660 in 1 packets: 18
      24.590146 in 1 packets: 36
      9.959840 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 14.8588798 to 53.8587503
   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, ...
      3.9999867 in 1 packets: 18
      24.9999169 in 1 packets: 36
      9.9999669 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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: 
      0 in 1 packets: 1
      1 in 17 packets: 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: 
      0 in 1 packets: 1
      1 in 17 packets: 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, ...
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 20210807_034240_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 15.4521783 to 15.4524673
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.2096470  -- OK for SL --
   MIU time from 2021-08-07T03:42:56.593.298.000 to 2021-08-07T03:42:56.593.587.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.209660

 - 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 19.6621143 to 19.6624033
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.5900630  -- OK for SL --
   MIU time from 2021-08-07T03:43:00.803.247.000 to 2021-08-07T03:43:00.803.536.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.590146

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.2524663 to 44.2527553
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9598070  -- OK for SL --
   MIU time from 2021-08-07T03:43:25.393.682.000 to 2021-08-07T03:43:25.393.971.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.959840

 - 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 54.2125623 to 54.2128513
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T03:43:35.353.811.000 to 2021-08-07T03:43:35.354.100.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 = 13, 32bit 10MHz counter = 15.452178300 corrected by 40bit 10MHz counter of 14.858879800 obtained at 1Hz counter of 13. Result: 13.593300458
--
   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-07T03:42:56.593.157.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T03:43:35.353.959.725
   Min 1st sample XO time among all SL packets: 13.593160182
   Max 1st sample XO time among all SL packets: 52.353961928
   TM values from -242 to 207 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T03:42:56.593.157.725 (XO: 13.593160182 - 13.593466183, t=37.2 degC)  Rank: 00083
   TM values: Max =   184  Min =  -237  Ave =    -4.61  Std =    20.14
   Min TM value:-237 at an offset of 113.225 usec -> 2021-08-07T03:42:56.593.270.950 (XO: 13.593273408)
   Max TM value:184 at an offset of 115.813 usec -> 2021-08-07T03:42:56.593.273.537 (XO: 13.593275995)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 115.625 usec -> 2021-08-07T03:42:56.593.273.350 (XO: 13.593275808)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 113.050 usec -> 2021-08-07T03:42:56.593.270.775 (XO: 13.593273233)

 - Block number: 2 starting at 2021-08-07T03:43:00.803.106.725 (XO: 17.803110175 - 17.803416176, t=37.2 degC)  Rank: 00079
   TM values: Max =   186  Min =  -227  Ave =    -4.54  Std =    16.70
   Min TM value:-227 at an offset of 128.050 usec -> 2021-08-07T03:43:00.803.234.775 (XO: 17.803238226)
   Max TM value:186 at an offset of 130.738 usec -> 2021-08-07T03:43:00.803.237.462 (XO: 17.803240913)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 130.563 usec -> 2021-08-07T03:43:00.803.237.287 (XO: 17.803240738)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 127.888 usec -> 2021-08-07T03:43:00.803.234.612 (XO: 17.803238063)

 - Block number: 3 starting at 2021-08-07T03:43:25.393.541.725 (XO: 42.393543924 - 42.393849925, t=37.2 degC)  Rank: 00077
   TM values: Max =   185  Min =  -221  Ave =    -4.52  Std =    16.32
   Min TM value:-221 at an offset of 124.863 usec -> 2021-08-07T03:43:25.393.666.587 (XO: 42.393668787)
   Max TM value:185 at an offset of 127.513 usec -> 2021-08-07T03:43:25.393.669.237 (XO: 42.393671437)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 127.325 usec -> 2021-08-07T03:43:25.393.669.050 (XO: 42.393671249)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 124.638 usec -> 2021-08-07T03:43:25.393.666.362 (XO: 42.393668562)

 - Block number: 4 starting at 2021-08-07T03:43:35.353.670.725 (XO: 52.353672927 - 52.353978929, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -242  Ave =    -4.49  Std =    21.79
   Min TM value:-242 at an offset of 128.463 usec -> 2021-08-07T03:43:35.353.799.187 (XO: 52.353801390)
   Max TM value:207 at an offset of 128.175 usec -> 2021-08-07T03:43:35.353.798.900 (XO: 52.353801103)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 130.825 usec -> 2021-08-07T03:43:35.353.801.550 (XO: 52.353803753)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 128.300 usec -> 2021-08-07T03:43:35.353.799.025 (XO: 52.353801228)
