-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Jan 13 05:59:54 2022 UTC
-- File 20210917_020550_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 12.112399 to 42.017891
-each separately from 12s to 42s and from 17602us to 839509us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.726532 in 1 packets: 18
      18.178093 in 1 packets: 36
MIU packet time from 2021-09-17T02:06:05.112.399.000 to 2021-09-17T02:06:35.017.891.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.726532 in 1 packets: 18
      18.178093 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 13.7511858 to 43.7510866
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      10.9999636 in 1 packets: 18
      18.9999372 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      1 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      3 in 19 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      4 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210917_020550_1227.dat, 3 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:
      272 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.8635858 to 13.8638748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7264950  -- OK for SL --
   MIU time from 2021-09-17T02:06:05.112.399.000 to 2021-09-17T02:06:05.112.688.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.726532

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.5903698 to 25.5906588
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1780310  -- OK for SL --
   MIU time from 2021-09-17T02:06:16.839.220.000 to 2021-09-17T02:06:16.839.509.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.178093

 - 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:
      96 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.7686898 to 43.7689788
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-17T02:06:35.017.602.000 to 2021-09-17T02:06:35.017.891.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 12, 32bit 10MHz counter = 13.863585800 corrected by 40bit 10MHz counter of 13.751185800 obtained at 1Hz counter of 12. Result: 12.112400371
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-17T02:06:05.112.258.725
   Max 1st sample MIU time among all SL packets: 2021-09-17T02:06:35.017.750.725
   Min 1st sample XO time among all SL packets: 12.112260095
   Max 1st sample XO time among all SL packets: 42.017751984
   TM values from -559 to 581 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-17T02:06:05.112.258.725 (XO: 12.112260095 - 12.112566096, t=37.2 degC)  Rank: 00272
   TM values: Max =   581  Min =  -559  Ave =    -4.74  Std =    91.96
   Min TM value:-559 at an offset of 107.675 usec -> 2021-09-17T02:06:05.112.366.400 (XO: 12.112367771)
   Max TM value:581 at an offset of 119.000 usec -> 2021-09-17T02:06:05.112.377.725 (XO: 12.112379096)
   Max dTM/dt [1/us]:4.60e+03 at an offset of 117.275 usec -> 2021-09-17T02:06:05.112.376.000 (XO: 12.112377371)
   Min dTM/dt [1/us]:-4.54e+03 at an offset of 119.063 usec -> 2021-09-17T02:06:05.112.377.787 (XO: 12.112379158)

 - Block number: 2 starting at 2021-09-17T02:06:16.839.079.725 (XO: 23.839082894 - 23.839388895, t=37.2 degC)  Rank: 00072
   TM values: Max =   175  Min =  -222  Ave =    -4.61  Std =    23.94
   Min TM value:-222 at an offset of 121.963 usec -> 2021-09-17T02:06:16.839.201.687 (XO: 23.839204857)
   Max TM value:175 at an offset of 119.875 usec -> 2021-09-17T02:06:16.839.199.600 (XO: 23.839202769)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 106.863 usec -> 2021-09-17T02:06:16.839.186.587 (XO: 23.839189757)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 109.088 usec -> 2021-09-17T02:06:16.839.188.812 (XO: 23.839191982)

 - Block number: 3 starting at 2021-09-17T02:06:35.017.461.725 (XO: 42.017462983 - 42.017768984, t=37.2 degC)  Rank: 00096
   TM values: Max =    96  Min =  -236  Ave =    -4.59  Std =    24.37
   Min TM value:-236 at an offset of 90.025 usec -> 2021-09-17T02:06:35.017.551.750 (XO: 42.017553008)
   Max TM value:96 at an offset of 93.063 usec -> 2021-09-17T02:06:35.017.554.787 (XO: 42.017556045)
   Max dTM/dt [1/us]:5.17e+02 at an offset of 90.350 usec -> 2021-09-17T02:06:35.017.552.075 (XO: 42.017553333)
   Min dTM/dt [1/us]:-5.57e+02 at an offset of 89.875 usec -> 2021-09-17T02:06:35.017.551.600 (XO: 42.017552858)
