-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 24 00:01:04 2021 UTC
-- File 20210824_101602_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 6.818944 to 59.331216
-each separately from 6s to 59s and from 240089us to 819233us.
   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, ...
      16.540471 in 1 packets: 18
      14.880096 in 1 packets: 36
      21.090549 in 1 packets: 54
MIU packet time from 2021-08-24T10:16:11.818.944.000 to 2021-08-24T10:17:04.331.216.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, ...
      16.540471 in 1 packets: 18
      14.880096 in 1 packets: 36
      21.090549 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 7.8928238 to 60.8926485
   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, ...
      16.9999437 in 1 packets: 18
      14.9999504 in 1 packets: 36
      20.9999306 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210824_101602_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:
      91 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.7117680 to 8.7120570
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5404150  -- OK for SL --
   MIU time from 2021-08-24T10:16:11.818.944.000 to 2021-08-24T10:16:11.819.233.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.540471

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.2524720 to 25.2527610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8800470  -- OK for SL --
   MIU time from 2021-08-24T10:16:28.359.704.000 to 2021-08-24T10:16:28.359.993.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.880096

 - 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 40.1328080 to 40.1330970
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.0904790  -- OK for SL --
   MIU time from 2021-08-24T10:16:43.240.089.000 to 2021-08-24T10:16:43.240.378.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.090549

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.2235760 to 61.2238650
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-24T10:17:04.330.927.000 to 2021-08-24T10:17:04.331.216.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 = 6, 32bit 10MHz counter = 8.711768000 corrected by 40bit 10MHz counter of 7.892823800 obtained at 1Hz counter of 6. Result: 6.818946984
--
   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-24T10:16:11.818.803.725
   Max 1st sample MIU time among all SL packets: 2021-08-24T10:17:04.331.075.725
   Min 1st sample XO time among all SL packets: 6.818806709
   Max 1st sample XO time among all SL packets: 59.331077318
   TM values from -250 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-24T10:16:11.818.803.725 (XO: 6.818806709 - 6.819112710, t=37.2 degC)  Rank: 00091
   TM values: Max =   242  Min =  -235  Ave =    -4.49  Std =    22.60
   Min TM value:-235 at an offset of 113.713 usec -> 2021-08-24T10:16:11.818.917.437 (XO: 6.818920422)
   Max TM value:242 at an offset of 111.550 usec -> 2021-08-24T10:16:11.818.915.275 (XO: 6.818918259)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 111.450 usec -> 2021-08-24T10:16:11.818.915.175 (XO: 6.818918159)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 113.550 usec -> 2021-08-24T10:16:11.818.917.275 (XO: 6.818920259)

 - Block number: 2 starting at 2021-08-24T10:16:28.359.563.725 (XO: 23.359565448 - 23.359871449, t=37.2 degC)  Rank: 00076
   TM values: Max =   184  Min =  -231  Ave =    -4.57  Std =    20.31
   Min TM value:-231 at an offset of 110.725 usec -> 2021-08-24T10:16:28.359.674.450 (XO: 23.359676173)
   Max TM value:184 at an offset of 113.363 usec -> 2021-08-24T10:16:28.359.677.087 (XO: 23.359678810)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 113.225 usec -> 2021-08-24T10:16:28.359.676.950 (XO: 23.359678673)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 110.575 usec -> 2021-08-24T10:16:28.359.674.300 (XO: 23.359676023)

 - Block number: 3 starting at 2021-08-24T10:16:43.239.948.725 (XO: 38.239950641 - 38.240256642, t=37.2 degC)  Rank: 00078
   TM values: Max =   214  Min =  -250  Ave =    -4.47  Std =    21.01
   Min TM value:-250 at an offset of 126.700 usec -> 2021-08-24T10:16:43.240.075.425 (XO: 38.240077341)
   Max TM value:214 at an offset of 124.388 usec -> 2021-08-24T10:16:43.240.073.112 (XO: 38.240075029)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 124.288 usec -> 2021-08-24T10:16:43.240.073.012 (XO: 38.240074929)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 126.525 usec -> 2021-08-24T10:16:43.240.075.250 (XO: 38.240077166)

 - Block number: 4 starting at 2021-08-24T10:17:04.330.786.725 (XO: 59.330788317 - 59.331094318, t=37.2 degC)  Rank: 00081
   TM values: Max =   208  Min =  -248  Ave =    -4.46  Std =    19.61
   Min TM value:-248 at an offset of 126.025 usec -> 2021-08-24T10:17:04.330.912.750 (XO: 59.330914342)
   Max TM value:208 at an offset of 125.725 usec -> 2021-08-24T10:17:04.330.912.450 (XO: 59.330914042)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 128.388 usec -> 2021-08-24T10:17:04.330.915.112 (XO: 59.330916705)
   Min dTM/dt [1/us]:-2.09e+03 at an offset of 125.825 usec -> 2021-08-24T10:17:04.330.912.550 (XO: 59.330914142)
