-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 08:41:54 2023 UTC
-- File 20230611_133136_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 9.105044 to 54.861969
-each separately from 9s to 54s and from 105044us to 861969us.
   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, ...
      17.388634 in 1 packets: 18
      9.309006 in 1 packets: 36
      19.058129 in 1 packets: 54
MIU packet time from 2023-06-11T13:31:48.105.044.000 to 2023-06-11T13:32:33.861.969.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, ...
      17.388634 in 1 packets: 18
      9.309006 in 1 packets: 36
      19.058129 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 10.7166858 to 55.7165302
   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.9999411 in 1 packets: 18
      8.9999689 in 1 packets: 36
      18.9999344 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, ...
      01 -> 53.7 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C4 -> 42.0 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 20230611_133136_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.8217314 to 10.8220204
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3885750  -- OK for SL --
   MIU time from 2023-06-11T13:31:48.105.044.000 to 2023-06-11T13:31:48.105.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.388634

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.2105954 to 28.2108844
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.3089750  -- OK for SL --
   MIU time from 2023-06-11T13:32:05.493.967.000 to 2023-06-11T13:32:05.494.256.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.309006

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.5198594 to 37.5201484
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.0580630  -- OK for SL --
   MIU time from 2023-06-11T13:32:14.803.262.000 to 2023-06-11T13:32:14.803.551.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.058129

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.5782114 to 56.5785004
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T13:32:33.861.680.000 to 2023-06-11T13:32:33.861.969.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 = 9, 32bit 10MHz counter = 10.821731400 corrected by 40bit 10MHz counter of 10.716685800 obtained at 1Hz counter of 9. Result: 9.105045957
--
   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-11T13:31:48.104.903.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T13:32:33.861.828.725
   Min 1st sample XO time among all SL packets: 9.104905682
   Max 1st sample XO time among all SL packets: 54.861832941
   TM values from -308 to 216 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T13:31:48.104.903.725 (XO: 9.104905682 - 9.105211683, t=42.0 degC)  Rank: 00086
   TM values: Max =   201  Min =  -269  Ave =    -4.41  Std =    18.70
   Min TM value:-269 at an offset of 107.225 usec -> 2023-06-11T13:31:48.105.010.950 (XO: 9.105012907)
   Max TM value:201 at an offset of 112.125 usec -> 2023-06-11T13:31:48.105.015.850 (XO: 9.105017807)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 109.725 usec -> 2023-06-11T13:31:48.105.013.450 (XO: 9.105015407)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 94.838 usec -> 2023-06-11T13:31:48.104.998.562 (XO: 9.105000520)

 - Block number: 2 starting at 2023-06-11T13:32:05.493.826.725 (XO: 26.493829904 - 26.494135905, t=42.0 degC)  Rank: 00076
   TM values: Max =   177  Min =  -251  Ave =    -4.40  Std =    24.08
   Min TM value:-251 at an offset of 122.438 usec -> 2023-06-11T13:32:05.493.949.162 (XO: 26.493952342)
   Max TM value:177 at an offset of 119.925 usec -> 2023-06-11T13:32:05.493.946.650 (XO: 26.493949829)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 122.538 usec -> 2023-06-11T13:32:05.493.949.262 (XO: 26.493952442)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 120.050 usec -> 2023-06-11T13:32:05.493.946.775 (XO: 26.493949954)

 - Block number: 3 starting at 2023-06-11T13:32:14.803.121.725 (XO: 35.803126136 - 35.803432137, t=42.0 degC)  Rank: 00080
   TM values: Max =   198  Min =  -266  Ave =    -4.48  Std =    24.72
   Min TM value:-266 at an offset of 111.238 usec -> 2023-06-11T13:32:14.803.232.962 (XO: 35.803237374)
   Max TM value:198 at an offset of 108.713 usec -> 2023-06-11T13:32:14.803.230.437 (XO: 35.803234849)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 111.350 usec -> 2023-06-11T13:32:14.803.233.075 (XO: 35.803237486)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 108.838 usec -> 2023-06-11T13:32:14.803.230.562 (XO: 35.803234974)

 - Block number: 4 starting at 2023-06-11T13:32:33.861.539.725 (XO: 54.861543940 - 54.861849941, t=42.0 degC)  Rank: 00080
   TM values: Max =   216  Min =  -308  Ave =    -4.31  Std =    18.60
   Min TM value:-308 at an offset of 124.088 usec -> 2023-06-11T13:32:33.861.663.812 (XO: 54.861668028)
   Max TM value:216 at an offset of 124.350 usec -> 2023-06-11T13:32:33.861.664.075 (XO: 54.861668291)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 124.200 usec -> 2023-06-11T13:32:33.861.663.925 (XO: 54.861668141)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 124.025 usec -> 2023-06-11T13:32:33.861.663.750 (XO: 54.861667966)
