-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 17:31:33 2021 UTC
-- File 20210817_164241_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 7.341571 to 59.351377
-each separately from 7s to 59s and from 325447us to 562664us.
   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, ...
      10.983587 in 1 packets: 18
      19.236639 in 1 packets: 36
      21.788424 in 1 packets: 54
MIU packet time from 2021-08-17T16:42:51.341.571.000 to 2021-08-17T16:43:43.351.377.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, ...
      10.983587 in 1 packets: 18
      19.236639 in 1 packets: 36
      21.788424 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 8.5529392 to 60.5527657
   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, ...
      10.9999633 in 1 packets: 18
      18.9999365 in 1 packets: 36
      21.9999267 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      02 -> 52.4 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 20210817_164241_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 8.8945107 to 8.8947997
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9835510  -- OK for SL --
   MIU time from 2021-08-17T16:42:51.341.571.000 to 2021-08-17T16:42:51.341.860.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.983587

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.8783507 to 19.8786397
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.2365750  -- OK for SL --
   MIU time from 2021-08-17T16:43:02.325.447.000 to 2021-08-17T16:43:02.325.736.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.236639

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1152147 to 39.1155037
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7883510  -- OK for SL --
   MIU time from 2021-08-17T16:43:21.562.375.000 to 2021-08-17T16:43:21.562.664.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.788424

 - 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 60.9038547 to 60.9041437
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-17T16:43:43.351.088.000 to 2021-08-17T16:43:43.351.377.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 = 7, 32bit 10MHz counter = 8.894510700 corrected by 40bit 10MHz counter of 8.552939200 obtained at 1Hz counter of 7. Result: 7.341572661
--
   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-17T16:42:51.341.430.725
   Max 1st sample MIU time among all SL packets: 2021-08-17T16:43:43.351.236.725
   Min 1st sample XO time among all SL packets: 7.341432386
   Max 1st sample XO time among all SL packets: 59.351238884
   TM values from -253 to 236 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-17T16:42:51.341.430.725 (XO: 7.341432386 - 7.341738387, t=37.2 degC)  Rank: 00083
   TM values: Max =   217  Min =  -253  Ave =    -4.46  Std =    20.96
   Min TM value:-253 at an offset of 129.475 usec -> 2021-08-17T16:42:51.341.560.200 (XO: 7.341561861)
   Max TM value:217 at an offset of 131.950 usec -> 2021-08-17T16:42:51.341.562.675 (XO: 7.341564336)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 131.838 usec -> 2021-08-17T16:42:51.341.562.562 (XO: 7.341564224)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 129.325 usec -> 2021-08-17T16:42:51.341.560.050 (XO: 7.341561711)

 - Block number: 2 starting at 2021-08-17T16:43:02.325.306.725 (XO: 18.325308999 - 18.325615000, t=37.2 degC)  Rank: 00077
   TM values: Max =   228  Min =  -245  Ave =    -4.57  Std =    21.44
   Min TM value:-245 at an offset of 107.363 usec -> 2021-08-17T16:43:02.325.414.087 (XO: 18.325416361)
   Max TM value:228 at an offset of 107.025 usec -> 2021-08-17T16:43:02.325.413.750 (XO: 18.325416024)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 109.663 usec -> 2021-08-17T16:43:02.325.416.387 (XO: 18.325418661)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 107.138 usec -> 2021-08-17T16:43:02.325.413.862 (XO: 18.325416136)

 - Block number: 3 starting at 2021-08-17T16:43:21.562.234.725 (XO: 37.562237280 - 37.562543281, t=37.2 degC)  Rank: 00080
   TM values: Max =   214  Min =  -223  Ave =    -4.44  Std =    27.20
   Min TM value:-223 at an offset of 127.938 usec -> 2021-08-17T16:43:21.562.362.662 (XO: 37.562365218)
   Max TM value:214 at an offset of 130.600 usec -> 2021-08-17T16:43:21.562.365.325 (XO: 37.562367881)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 187.251 usec -> 2021-08-17T16:43:21.562.421.975 (XO: 37.562424531)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 159.601 usec -> 2021-08-17T16:43:21.562.394.325 (XO: 37.562396881)

 - Block number: 4 starting at 2021-08-17T16:43:43.350.947.725 (XO: 59.350949883 - 59.351255884, t=37.2 degC)  Rank: 00079
   TM values: Max =   236  Min =  -249  Ave =    -4.45  Std =    21.38
   Min TM value:-249 at an offset of 118.700 usec -> 2021-08-17T16:43:43.351.066.425 (XO: 59.351068584)
   Max TM value:236 at an offset of 121.163 usec -> 2021-08-17T16:43:43.351.068.887 (XO: 59.351071046)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 121.025 usec -> 2021-08-17T16:43:43.351.068.750 (XO: 59.351070909)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 118.475 usec -> 2021-08-17T16:43:43.351.066.200 (XO: 59.351068359)
