-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 02:07:19 2023 UTC
-- File 20230512_015225_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 0.244697 to 56.295847
-each separately from 0s to 56s and from 244697us to 775496us.
   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, ...
      20.007768 in 1 packets: 18
      10.522164 in 1 packets: 36
      25.520062 in 1 packets: 54
MIU packet time from 2023-05-12T01:52:28.244.697.000 to 2023-05-12T01:53:24.295.847.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, ...
      20.007768 in 1 packets: 18
      10.522164 in 1 packets: 36
      25.520062 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 1.7505033 to 57.7502989
   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, ...
      19.9999270 in 1 packets: 18
      9.9999634 in 1 packets: 36
      25.9999052 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      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: 
      C2 -> 38.8 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 5 packets: 20, 21, 22, 23, 24
      3 in 12 packets: 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      4 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20230512_015225_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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9952018 to 1.9954908
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0076950  -- OK for SL --
   MIU time from 2023-05-12T01:52:28.244.697.000 to 2023-05-12T01:52:28.244.986.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.007768

 - 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:
      166 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.0031858 to 22.0034748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5221270  -- OK for SL --
   MIU time from 2023-05-12T01:52:48.252.754.000 to 2023-05-12T01:52:48.253.043.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.522164

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.5256018 to 32.5258908
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.5199670  -- OK for SL --
   MIU time from 2023-05-12T01:52:58.775.207.000 to 2023-05-12T01:52:58.775.496.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.520062

 - 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:
      56 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.0458578 to 58.0461468
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-12T01:53:24.295.558.000 to 2023-05-12T01:53:24.295.847.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 = 0, 32bit 10MHz counter = 1.995201800 corrected by 40bit 10MHz counter of 1.750503300 obtained at 1Hz counter of 0. Result: 0.244699381
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-05-12T01:52:28.244.556.725
   Max 1st sample MIU time among all SL packets: 2023-05-12T01:53:24.295.706.725
   Min 1st sample XO time among all SL packets: 0.244559105
   Max 1st sample XO time among all SL packets: 56.295708690
   TM values from -686 to 363 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-12T01:52:28.244.556.725 (XO: 0.244559105 - 0.244865107, t=38.8 degC)  Rank: 00052
   TM values: Max =   142  Min =  -158  Ave =    -4.50  Std =    18.35
   Min TM value:-158 at an offset of 114.125 usec -> 2023-05-12T01:52:28.244.670.850 (XO: 0.244673231)
   Max TM value:142 at an offset of 111.400 usec -> 2023-05-12T01:52:28.244.668.125 (XO: 0.244670506)
   Max dTM/dt [1/us]:1.24e+03 at an offset of 145.113 usec -> 2023-05-12T01:52:28.244.701.838 (XO: 0.244704218)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 111.563 usec -> 2023-05-12T01:52:28.244.668.287 (XO: 0.244670668)

 - Block number: 2 starting at 2023-05-12T01:52:48.252.613.725 (XO: 20.252616160 - 20.252922161, t=38.8 degC)  Rank: 00166
   TM values: Max =   363  Min =  -686  Ave =    -4.31  Std =    56.72
   Min TM value:-686 at an offset of 112.513 usec -> 2023-05-12T01:52:48.252.726.237 (XO: 20.252728673)
   Max TM value:363 at an offset of 114.913 usec -> 2023-05-12T01:52:48.252.728.637 (XO: 20.252731073)
   Max dTM/dt [1/us]:4.88e+03 at an offset of 285.326 usec -> 2023-05-12T01:52:48.252.899.051 (XO: 20.252901486)
   Min dTM/dt [1/us]:-4.35e+03 at an offset of 154.301 usec -> 2023-05-12T01:52:48.252.768.025 (XO: 20.252770460)

 - Block number: 3 starting at 2023-05-12T01:52:58.775.066.725 (XO: 30.775070615 - 30.775376616, t=38.8 degC)  Rank: 00053
   TM values: Max =   150  Min =  -178  Ave =    -4.41  Std =    15.02
   Min TM value:-178 at an offset of 106.600 usec -> 2023-05-12T01:52:58.775.173.325 (XO: 30.775177216)
   Max TM value:150 at an offset of 106.313 usec -> 2023-05-12T01:52:58.775.173.037 (XO: 30.775176928)
   Max dTM/dt [1/us]:1.25e+03 at an offset of 121.900 usec -> 2023-05-12T01:52:58.775.188.625 (XO: 30.775192516)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 106.438 usec -> 2023-05-12T01:52:58.775.173.162 (XO: 30.775177053)

 - Block number: 4 starting at 2023-05-12T01:53:24.295.417.725 (XO: 56.295419689 - 56.295725690, t=38.8 degC)  Rank: 00056
   TM values: Max =   137  Min =  -169  Ave =    -4.41  Std =    14.42
   Min TM value:-169 at an offset of 121.263 usec -> 2023-05-12T01:53:24.295.538.987 (XO: 56.295540951)
   Max TM value:137 at an offset of 120.963 usec -> 2023-05-12T01:53:24.295.538.687 (XO: 56.295540651)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 120.863 usec -> 2023-05-12T01:53:24.295.538.587 (XO: 56.295540551)
   Min dTM/dt [1/us]:-1.45e+03 at an offset of 121.088 usec -> 2023-05-12T01:53:24.295.538.812 (XO: 56.295540776)
