-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 09:12:46 2021 UTC
-- File 20210822_085427_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.851912 to 57.652653
-each separately from 7s to 57s and from 92198us to 852201us.
   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.679911 in 1 packets: 18
      6.559797 in 1 packets: 36
      26.559877 in 1 packets: 54
MIU packet time from 2021-08-22T08:54:37.851.912.000 to 2021-08-22T08:55:27.652.653.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.679911 in 1 packets: 18
      6.559797 in 1 packets: 36
      26.559877 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.4440827 to 58.4439186
   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.9999441 in 1 packets: 18
      6.9999771 in 1 packets: 36
      25.9999147 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 36 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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20210822_085427_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.2959955 to 9.2962845
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6798550  -- OK for SL --
   MIU time from 2021-08-22T08:54:37.851.912.000 to 2021-08-22T08:54:37.852.201.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.679911

 - 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 25.9761395 to 25.9764285
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5597750  -- OK for SL --
   MIU time from 2021-08-22T08:54:54.532.112.000 to 2021-08-22T08:54:54.532.401.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.559797

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.5362035 to 32.5364925
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.5597910  -- OK for SL --
   MIU time from 2021-08-22T08:55:01.092.198.000 to 2021-08-22T08:55:01.092.487.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.559877

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.0962835 to 59.0965725
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T08:55:27.652.364.000 to 2021-08-22T08:55:27.652.653.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 = 9.295995500 corrected by 40bit 10MHz counter of 8.444082700 obtained at 1Hz counter of 7. Result: 7.851915611
--
   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-22T08:54:37.851.771.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T08:55:27.652.512.725
   Min 1st sample XO time among all SL packets: 7.851775336
   Max 1st sample XO time among all SL packets: 57.652515844
   TM values from -240 to 199 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T08:54:37.851.771.725 (XO: 7.851775336 - 7.852081337, t=37.2 degC)  Rank: 00084
   TM values: Max =   171  Min =  -220  Ave =    -4.41  Std =    18.15
   Min TM value:-220 at an offset of 115.413 usec -> 2021-08-22T08:54:37.851.887.137 (XO: 7.851890749)
   Max TM value:171 at an offset of 130.675 usec -> 2021-08-22T08:54:37.851.902.400 (XO: 7.851906011)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 130.538 usec -> 2021-08-22T08:54:37.851.902.262 (XO: 7.851905874)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 127.800 usec -> 2021-08-22T08:54:37.851.899.525 (XO: 7.851903136)

 - Block number: 2 starting at 2021-08-22T08:54:54.531.971.725 (XO: 24.531974127 - 24.532280128, t=37.2 degC)  Rank: 00080
   TM values: Max =   199  Min =  -240  Ave =    -4.51  Std =    18.54
   Min TM value:-240 at an offset of 129.438 usec -> 2021-08-22T08:54:54.532.101.162 (XO: 24.532103565)
   Max TM value:199 at an offset of 129.138 usec -> 2021-08-22T08:54:54.532.100.862 (XO: 24.532103265)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 131.775 usec -> 2021-08-22T08:54:54.532.103.500 (XO: 24.532105903)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 129.238 usec -> 2021-08-22T08:54:54.532.100.962 (XO: 24.532103365)

 - Block number: 3 starting at 2021-08-22T08:55:01.092.057.725 (XO: 31.092059629 - 31.092365630, t=37.2 degC)  Rank: 00077
   TM values: Max =   178  Min =  -233  Ave =    -4.51  Std =    16.47
   Min TM value:-233 at an offset of 130.900 usec -> 2021-08-22T08:55:01.092.188.625 (XO: 31.092190529)
   Max TM value:178 at an offset of 130.600 usec -> 2021-08-22T08:55:01.092.188.325 (XO: 31.092190229)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 133.300 usec -> 2021-08-22T08:55:01.092.191.025 (XO: 31.092192929)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 130.713 usec -> 2021-08-22T08:55:01.092.188.437 (XO: 31.092190342)

 - Block number: 4 starting at 2021-08-22T08:55:27.652.223.725 (XO: 57.652226843 - 57.652532844, t=37.2 degC)  Rank: 00076
   TM values: Max =   182  Min =  -219  Ave =    -4.60  Std =    18.27
   Min TM value:-219 at an offset of 125.613 usec -> 2021-08-22T08:55:27.652.349.337 (XO: 57.652352455)
   Max TM value:182 at an offset of 128.263 usec -> 2021-08-22T08:55:27.652.351.987 (XO: 57.652355106)
   Max dTM/dt [1/us]:1.32e+03 at an offset of 128.050 usec -> 2021-08-22T08:55:27.652.351.775 (XO: 57.652354893)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 125.413 usec -> 2021-08-22T08:55:27.652.349.137 (XO: 57.652352255)
