-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 11:40:27 2023 UTC
-- File 20230611_215127_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 2.769461 to 46.582096
-each separately from 2s to 46s and from 145967us to 962894us.
   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.376217 in 1 packets: 18
      18.816349 in 1 packets: 36
      4.618913 in 1 packets: 54
MIU packet time from 2023-06-11T21:51:32.769.461.000 to 2023-06-11T21:52:16.582.096.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.376217 in 1 packets: 18
      18.816349 in 1 packets: 36
      4.618913 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 3.6942317 to 47.6940785
   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, ...
      20.9999269 in 1 packets: 18
      17.9999373 in 1 packets: 36
      4.9999826 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 36 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      FF -> 56.3 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C5 -> 43.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C4 -> 42.0 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20230611_215127_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 4.4636949 to 4.4639839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3761430  -- OK for SL --
   MIU time from 2023-06-11T21:51:32.769.461.000 to 2023-06-11T21:51:32.769.750.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.376217

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.8401269 to 24.8404159
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8162870  -- OK for SL --
   MIU time from 2023-06-11T21:51:53.145.967.000 to 2023-06-11T21:51:53.146.256.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.816349

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.6567029 to 43.6569919
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.6188950  -- OK for SL --
   MIU time from 2023-06-11T21:52:11.962.605.000 to 2023-06-11T21:52:11.962.894.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.618913

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.2758869 to 48.2761759
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T21:52:16.581.807.000 to 2023-06-11T21:52:16.582.096.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 = 2, 32bit 10MHz counter = 4.463694900 corrected by 40bit 10MHz counter of 3.694231700 obtained at 1Hz counter of 2. Result: 2.769465816
--
   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.999996500 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-11T21:51:32.769.320.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T21:52:16.581.955.725
   Min 1st sample XO time among all SL packets: 2.769325541
   Max 1st sample XO time among all SL packets: 46.581959162
   TM values from -285 to 227 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T21:51:32.769.320.725 (XO: 2.769325541 - 2.769631542, t=43.6 degC)  Rank: 00084
   TM values: Max =   227  Min =  -285  Ave =    -4.41  Std =    22.51
   Min TM value:-285 at an offset of 127.100 usec -> 2023-06-11T21:51:32.769.447.825 (XO: 2.769452641)
   Max TM value:227 at an offset of 126.813 usec -> 2023-06-11T21:51:32.769.447.537 (XO: 2.769452354)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 129.400 usec -> 2023-06-11T21:51:32.769.450.125 (XO: 2.769454941)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 126.925 usec -> 2023-06-11T21:51:32.769.447.650 (XO: 2.769452466)

 - Block number: 2 starting at 2023-06-11T21:51:53.145.826.725 (XO: 23.145828521 - 23.146134522, t=42.0 degC)  Rank: 00078
   TM values: Max =   211  Min =  -279  Ave =    -4.30  Std =    23.21
   Min TM value:-279 at an offset of 112.088 usec -> 2023-06-11T21:51:53.145.938.812 (XO: 23.145940609)
   Max TM value:211 at an offset of 111.788 usec -> 2023-06-11T21:51:53.145.938.512 (XO: 23.145940309)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 114.450 usec -> 2023-06-11T21:51:53.145.941.175 (XO: 23.145942971)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 111.938 usec -> 2023-06-11T21:51:53.145.938.662 (XO: 23.145940459)

 - Block number: 3 starting at 2023-06-11T21:52:11.962.464.725 (XO: 41.962470094 - 41.962776095, t=43.6 degC)  Rank: 00079
   TM values: Max =   182  Min =  -224  Ave =    -4.52  Std =    19.63
   Min TM value:-224 at an offset of 123.388 usec -> 2023-06-11T21:52:11.962.588.112 (XO: 41.962593482)
   Max TM value:182 at an offset of 128.225 usec -> 2023-06-11T21:52:11.962.592.950 (XO: 41.962598319)
   Max dTM/dt [1/us]:1.32e+03 at an offset of 125.988 usec -> 2023-06-11T21:52:11.962.590.712 (XO: 41.962596082)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 111.050 usec -> 2023-06-11T21:52:11.962.575.775 (XO: 41.962581144)

 - Block number: 4 starting at 2023-06-11T21:52:16.581.666.725 (XO: 46.581670161 - 46.581976162, t=42.0 degC)  Rank: 00083
   TM values: Max =   202  Min =  -265  Ave =    -4.34  Std =    22.49
   Min TM value:-265 at an offset of 124.463 usec -> 2023-06-11T21:52:16.581.791.187 (XO: 46.581794624)
   Max TM value:202 at an offset of 112.188 usec -> 2023-06-11T21:52:16.581.778.912 (XO: 46.581782349)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 126.913 usec -> 2023-06-11T21:52:16.581.793.637 (XO: 46.581797074)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 112.313 usec -> 2023-06-11T21:52:16.581.779.037 (XO: 46.581782474)
