-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Feb 28 14:48:43 2023 UTC
-- File 20220403_005248_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.602738 to 57.263768
-each separately from 7s to 57s and from 82913us to 603027us.
   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, ...
      21.479886 in 1 packets: 18
      4.358702 in 1 packets: 36
      23.821286 in 1 packets: 54
MIU packet time from 2022-04-03T00:52:58.602.738.000 to 2022-04-03T00:53:48.263.768.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, ...
      21.479886 in 1 packets: 18
      4.358702 in 1 packets: 36
      23.821286 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 9.1926557 to 59.1924735
   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, ...
      21.9999198 in 1 packets: 18
      3.9999854 in 1 packets: 36
      23.9999126 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: 
      C0 -> 35.6 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 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220403_005248_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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.7953937 to 9.7956827
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.4798070  -- OK for SL --
   MIU time from 2022-04-03T00:52:58.602.738.000 to 2022-04-03T00:52:58.603.027.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.479886

 - 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:
      60 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.2754897 to 31.2757787
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.3586870  -- OK for SL --
   MIU time from 2022-04-03T00:53:20.082.913.000 to 2022-04-03T00:53:20.083.202.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.358702

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6344657 to 35.6347547
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8211990  -- OK for SL --
   MIU time from 2022-04-03T00:53:24.441.904.000 to 2022-04-03T00:53:24.442.193.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.821286

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.4559537 to 59.4562427
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-04-03T00:53:48.263.479.000 to 2022-04-03T00:53:48.263.768.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.795393700 corrected by 40bit 10MHz counter of 9.192655700 obtained at 1Hz counter of 7. Result: 7.602740170
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-04-03T00:52:58.602.597.725
   Max 1st sample MIU time among all SL packets: 2022-04-03T00:53:48.263.627.725
   Min 1st sample XO time among all SL packets: 7.602599894
   Max 1st sample XO time among all SL packets: 57.263629874
   TM values from -201 to 866 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-04-03T00:52:58.602.597.725 (XO: 7.602599894 - 7.602905895, t=35.6 degC)  Rank: 00058
   TM values: Max =   148  Min =  -144  Ave =    -4.56  Std =    16.45
   Min TM value:-144 at an offset of 124.650 usec -> 2022-04-03T00:52:58.602.722.375 (XO: 7.602724545)
   Max TM value:148 at an offset of 97.438 usec -> 2022-04-03T00:52:58.602.695.162 (XO: 7.602697332)
   Max dTM/dt [1/us]:1.26e+03 at an offset of 97.313 usec -> 2022-04-03T00:52:58.602.695.037 (XO: 7.602697207)
   Min dTM/dt [1/us]:-1.03e+03 at an offset of 126.688 usec -> 2022-04-03T00:52:58.602.724.412 (XO: 7.602726582)

 - Block number: 2 starting at 2022-04-03T00:53:20.082.772.725 (XO: 29.082774223 - 29.083080224, t=35.6 degC)  Rank: 00060
   TM values: Max =   167  Min =  -201  Ave =    -4.63  Std =    24.73
   Min TM value:-201 at an offset of 123.338 usec -> 2022-04-03T00:53:20.082.896.062 (XO: 29.082897561)
   Max TM value:167 at an offset of 150.626 usec -> 2022-04-03T00:53:20.082.923.350 (XO: 29.082924849)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 164.051 usec -> 2022-04-03T00:53:20.082.936.775 (XO: 29.082938274)
   Min dTM/dt [1/us]:-1.18e+03 at an offset of 148.226 usec -> 2022-04-03T00:53:20.082.920.950 (XO: 29.082922449)

 - Block number: 3 starting at 2022-04-03T00:53:24.441.763.725 (XO: 33.441766115 - 33.442072116, t=35.6 degC)  Rank: 00088
   TM values: Max =   866  Min =  -185  Ave =    -4.56  Std =    29.48
   Min TM value:-185 at an offset of 209.301 usec -> 2022-04-03T00:53:24.441.973.025 (XO: 33.441975416)
   Max TM value:866 at an offset of 94.900 usec -> 2022-04-03T00:53:24.441.858.625 (XO: 33.441861016)
   Max dTM/dt [1/us]:5.51e+03 at an offset of 94.838 usec -> 2022-04-03T00:53:24.441.858.562 (XO: 33.441860953)
   Min dTM/dt [1/us]:-6.32e+03 at an offset of 94.988 usec -> 2022-04-03T00:53:24.441.858.712 (XO: 33.441861103)

 - Block number: 4 starting at 2022-04-03T00:53:48.263.338.725 (XO: 57.263340873 - 57.263646874, t=35.6 degC)  Rank: 00057
   TM values: Max =   143  Min =  -158  Ave =    -4.54  Std =    20.00
   Min TM value:-158 at an offset of 124.238 usec -> 2022-04-03T00:53:48.263.462.962 (XO: 57.263465111)
   Max TM value:143 at an offset of 167.601 usec -> 2022-04-03T00:53:48.263.506.325 (XO: 57.263508474)
   Max dTM/dt [1/us]:1.31e+03 at an offset of 96.950 usec -> 2022-04-03T00:53:48.263.435.675 (XO: 57.263437823)
   Min dTM/dt [1/us]:-1.02e+03 at an offset of 167.726 usec -> 2022-04-03T00:53:48.263.506.450 (XO: 57.263508599)
