-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 15:41:49 2021 UTC
-- File 20210803_035341_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.438166 to 59.840351
-each separately from 13s to 59s and from 18317us to 840351us.
   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, ...
      6.579862 in 1 packets: 18
      15.070129 in 1 packets: 36
      24.751038 in 1 packets: 54
MIU packet time from 2021-08-03T03:53:57.438.166.000 to 2021-08-03T03:54:43.840.351.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, ...
      6.579862 in 1 packets: 18
      15.070129 in 1 packets: 36
      24.751038 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.8828604 to 60.8827085
   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, ...
      6.9999768 in 1 packets: 18
      14.9999505 in 1 packets: 36
      23.9999208 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 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: 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210803_035341_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3210273 to 15.3213163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5798390  -- OK for SL --
   MIU time from 2021-08-03T03:53:57.438.166.000 to 2021-08-03T03:53:57.438.455.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.579862

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.9011553 to 21.9014443
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0700790  -- OK for SL --
   MIU time from 2021-08-03T03:54:04.018.317.000 to 2021-08-03T03:54:04.018.606.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.070129

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.9715233 to 36.9718123
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.7509590  -- OK for SL --
   MIU time from 2021-08-03T03:54:19.088.735.000 to 2021-08-03T03:54:19.089.024.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.751038

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.7227713 to 61.7230603
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T03:54:43.840.062.000 to 2021-08-03T03:54:43.840.351.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.321027300 corrected by 40bit 10MHz counter of 14.882860400 obtained at 1Hz counter of 13. Result: 13.438168390
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-03T03:53:57.438.025.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T03:54:43.840.210.725
   Min 1st sample XO time among all SL packets: 13.438028114
   Max 1st sample XO time among all SL packets: 59.840214214
   TM values from -249 to 202 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T03:53:57.438.025.725 (XO: 13.438028114 - 13.438334115, t=37.2 degC)  Rank: 00076
   TM values: Max =   193  Min =  -249  Ave =    -4.49  Std =    20.04
   Min TM value:-249 at an offset of 91.100 usec -> 2021-08-03T03:53:57.438.116.825 (XO: 13.438119215)
   Max TM value:193 at an offset of 93.650 usec -> 2021-08-03T03:53:57.438.119.375 (XO: 13.438121765)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 93.488 usec -> 2021-08-03T03:53:57.438.119.212 (XO: 13.438121602)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 90.900 usec -> 2021-08-03T03:53:57.438.116.625 (XO: 13.438119015)

 - Block number: 2 starting at 2021-08-03T03:54:04.018.176.725 (XO: 20.018177885 - 20.018483886, t=37.2 degC)  Rank: 00080
   TM values: Max =   202  Min =  -247  Ave =    -4.56  Std =    18.91
   Min TM value:-247 at an offset of 130.963 usec -> 2021-08-03T03:54:04.018.307.687 (XO: 20.018308848)
   Max TM value:202 at an offset of 130.675 usec -> 2021-08-03T03:54:04.018.307.400 (XO: 20.018308560)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 133.363 usec -> 2021-08-03T03:54:04.018.310.087 (XO: 20.018311248)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 130.800 usec -> 2021-08-03T03:54:04.018.307.525 (XO: 20.018308685)

 - Block number: 3 starting at 2021-08-03T03:54:19.088.594.725 (XO: 35.088595626 - 35.088901627, t=37.2 degC)  Rank: 00085
   TM values: Max =   177  Min =  -213  Ave =    -4.54  Std =    18.55
   Min TM value:-213 at an offset of 91.563 usec -> 2021-08-03T03:54:19.088.686.287 (XO: 35.088687189)
   Max TM value:177 at an offset of 89.513 usec -> 2021-08-03T03:54:19.088.684.237 (XO: 35.088685139)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 89.363 usec -> 2021-08-03T03:54:19.088.684.087 (XO: 35.088684989)
   Min dTM/dt [1/us]:-1.48e+03 at an offset of 78.600 usec -> 2021-08-03T03:54:19.088.673.325 (XO: 35.088674226)

 - Block number: 4 starting at 2021-08-03T03:54:43.839.921.725 (XO: 59.839925213 - 59.840231214, t=37.2 degC)  Rank: 00082
   TM values: Max =   194  Min =  -243  Ave =    -4.45  Std =    19.40
   Min TM value:-243 at an offset of 131.075 usec -> 2021-08-03T03:54:43.840.052.800 (XO: 59.840056288)
   Max TM value:194 at an offset of 133.613 usec -> 2021-08-03T03:54:43.840.055.337 (XO: 59.840058826)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 133.450 usec -> 2021-08-03T03:54:43.840.055.175 (XO: 59.840058663)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 130.888 usec -> 2021-08-03T03:54:43.840.052.612 (XO: 59.840056101)
