-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  3 05:14:02 2022 UTC
-- File 20210904_165403_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 5.795527 to 57.436310
-each separately from 5s to 57s and from 436021us to 856122us.
   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, ...
      13.759870 in 1 packets: 18
      15.299858 in 1 packets: 36
      22.579899 in 1 packets: 54
MIU packet time from 2021-09-04T16:54:11.795.527.000 to 2021-09-04T16:55:03.436.310.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, ...
      13.759870 in 1 packets: 18
      15.299858 in 1 packets: 36
      22.579899 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 6.8215414 to 58.8213670
   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.9999531 in 1 packets: 18
      14.9999496 in 1 packets: 36
      22.9999229 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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: 
      0 in 1 packets: 1
      1 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: 
      0 in 1 packets: 1
      1 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 20210904_165403_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 7.6170692 to 7.6173582
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7598230  -- OK for SL --
   MIU time from 2021-09-04T16:54:11.795.527.000 to 2021-09-04T16:54:11.795.816.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.759870

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.3771812 to 21.3774702
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2998070  -- OK for SL --
   MIU time from 2021-09-04T16:54:25.555.686.000 to 2021-09-04T16:54:25.555.975.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.299858

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.6772772 to 36.6775662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.5798230  -- OK for SL --
   MIU time from 2021-09-04T16:54:40.855.833.000 to 2021-09-04T16:54:40.856.122.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.579899

 - 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 59.2573892 to 59.2576782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-04T16:55:03.436.021.000 to 2021-09-04T16:55:03.436.310.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 = 5, 32bit 10MHz counter = 7.617069200 corrected by 40bit 10MHz counter of 6.821541400 obtained at 1Hz counter of 5. Result: 5.795530505
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-09-04T16:54:11.795.386.725
   Max 1st sample MIU time among all SL packets: 2021-09-04T16:55:03.436.169.725
   Min 1st sample XO time among all SL packets: 5.795390229
   Max 1st sample XO time among all SL packets: 57.436172408
   TM values from -291 to 253 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-04T16:54:11.795.386.725 (XO: 5.795390229 - 5.795696230, t=37.2 degC)  Rank: 00083
   TM values: Max =   235  Min =  -291  Ave =    -4.61  Std =    23.49
   Min TM value:-291 at an offset of 86.238 usec -> 2021-09-04T16:54:11.795.472.962 (XO: 5.795476467)
   Max TM value:235 at an offset of 85.963 usec -> 2021-09-04T16:54:11.795.472.687 (XO: 5.795476192)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 88.650 usec -> 2021-09-04T16:54:11.795.475.375 (XO: 5.795478880)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 86.088 usec -> 2021-09-04T16:54:11.795.472.812 (XO: 5.795476317)

 - Block number: 2 starting at 2021-09-04T16:54:25.555.545.725 (XO: 19.555548314 - 19.555854315, t=37.2 degC)  Rank: 00078
   TM values: Max =   223  Min =  -284  Ave =    -4.52  Std =    24.41
   Min TM value:-284 at an offset of 113.975 usec -> 2021-09-04T16:54:25.555.659.700 (XO: 19.555662289)
   Max TM value:223 at an offset of 113.700 usec -> 2021-09-04T16:54:25.555.659.425 (XO: 19.555662014)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 158.876 usec -> 2021-09-04T16:54:25.555.704.600 (XO: 19.555707189)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 113.850 usec -> 2021-09-04T16:54:25.555.659.575 (XO: 19.555662164)

 - Block number: 3 starting at 2021-09-04T16:54:40.855.692.725 (XO: 34.855695734 - 34.856001735, t=37.2 degC)  Rank: 00078
   TM values: Max =   216  Min =  -277  Ave =    -4.64  Std =    22.96
   Min TM value:-277 at an offset of 120.663 usec -> 2021-09-04T16:54:40.855.813.387 (XO: 34.855816397)
   Max TM value:216 at an offset of 123.275 usec -> 2021-09-04T16:54:40.855.816.000 (XO: 34.855819010)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 123.088 usec -> 2021-09-04T16:54:40.855.815.812 (XO: 34.855818822)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 120.513 usec -> 2021-09-04T16:54:40.855.813.237 (XO: 34.855816247)

 - Block number: 4 starting at 2021-09-04T16:55:03.435.880.725 (XO: 57.435883407 - 57.436189408, t=37.2 degC)  Rank: 00078
   TM values: Max =   253  Min =  -275  Ave =    -4.57  Std =    33.35
   Min TM value:-275 at an offset of 172.401 usec -> 2021-09-04T16:55:03.436.053.125 (XO: 57.436055808)
   Max TM value:253 at an offset of 100.975 usec -> 2021-09-04T16:55:03.435.981.700 (XO: 57.435984382)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 146.338 usec -> 2021-09-04T16:55:03.436.027.062 (XO: 57.436029745)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 98.113 usec -> 2021-09-04T16:55:03.435.978.837 (XO: 57.435981520)
