-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jun  4 03:03:15 2023 UTC
-- File 20230603_153137_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 12.720082 to 56.183470
-each separately from 12s to 56s and from 183181us to 751409us.
   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, ...
      13.030749 in 1 packets: 18
      7.650219 in 1 packets: 36
      22.781264 in 1 packets: 54
MIU packet time from 2023-06-03T15:31:52.720.082.000 to 2023-06-03T15:32:36.183.470.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, ...
      13.030749 in 1 packets: 18
      7.650219 in 1 packets: 36
      22.781264 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 13.8885003 to 57.8883453
   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, ...
      12.9999543 in 1 packets: 18
      7.9999717 in 1 packets: 36
      22.9999190 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 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 1 packets: 1
      1 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: 
      0 in 1 packets: 1
      1 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 20230603_153137_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.6085836 to 14.6088726
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0307030  -- OK for SL --
   MIU time from 2023-06-03T15:31:52.720.082.000 to 2023-06-03T15:31:52.720.371.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.030749

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.6395756 to 27.6398646
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6501910  -- OK for SL --
   MIU time from 2023-06-03T15:32:05.751.120.000 to 2023-06-03T15:32:05.751.409.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.650219

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.2900556 to 35.2903446
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.7811830  -- OK for SL --
   MIU time from 2023-06-03T15:32:13.401.628.000 to 2023-06-03T15:32:13.401.917.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.781264

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.0715276 to 58.0718166
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T15:32:36.183.181.000 to 2023-06-03T15:32:36.183.470.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 = 12, 32bit 10MHz counter = 14.608583600 corrected by 40bit 10MHz counter of 13.888500300 obtained at 1Hz counter of 12. Result: 12.720085820
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-03T15:31:52.719.941.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T15:32:36.183.329.725
   Min 1st sample XO time among all SL packets: 12.719945545
   Max 1st sample XO time among all SL packets: 56.183331667
   TM values from -258 to 211 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T15:31:52.719.941.725 (XO: 12.719945545 - 12.720251546, t=40.4 degC)  Rank: 00081
   TM values: Max =   177  Min =  -229  Ave =    -4.51  Std =    25.71
   Min TM value:-229 at an offset of 168.976 usec -> 2023-06-03T15:31:52.720.110.700 (XO: 12.720114520)
   Max TM value:177 at an offset of 110.425 usec -> 2023-06-03T15:31:52.720.052.150 (XO: 12.720055970)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 169.088 usec -> 2023-06-03T15:31:52.720.110.813 (XO: 12.720114633)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 122.175 usec -> 2023-06-03T15:31:52.720.063.900 (XO: 12.720067720)

 - Block number: 2 starting at 2023-06-03T15:32:05.750.979.725 (XO: 25.750983353 - 25.751289355, t=40.4 degC)  Rank: 00079
   TM values: Max =   211  Min =  -258  Ave =    -4.49  Std =    21.02
   Min TM value:-258 at an offset of 107.000 usec -> 2023-06-03T15:32:05.751.086.725 (XO: 25.751090354)
   Max TM value:211 at an offset of 106.763 usec -> 2023-06-03T15:32:05.751.086.487 (XO: 25.751090116)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 109.413 usec -> 2023-06-03T15:32:05.751.089.137 (XO: 25.751092766)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 106.838 usec -> 2023-06-03T15:32:05.751.086.562 (XO: 25.751090191)

 - Block number: 3 starting at 2023-06-03T15:32:13.401.487.725 (XO: 33.401490430 - 33.401796431, t=40.4 degC)  Rank: 00075
   TM values: Max =   185  Min =  -211  Ave =    -4.45  Std =    19.55
   Min TM value:-211 at an offset of 108.500 usec -> 2023-06-03T15:32:13.401.596.225 (XO: 33.401598931)
   Max TM value:185 at an offset of 111.300 usec -> 2023-06-03T15:32:13.401.599.025 (XO: 33.401601731)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 108.675 usec -> 2023-06-03T15:32:13.401.596.400 (XO: 33.401599106)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 111.413 usec -> 2023-06-03T15:32:13.401.599.137 (XO: 33.401601843)

 - Block number: 4 starting at 2023-06-03T15:32:36.183.040.725 (XO: 56.183042666 - 56.183348667, t=40.4 degC)  Rank: 00077
   TM values: Max =   177  Min =  -233  Ave =    -4.45  Std =    18.67
   Min TM value:-233 at an offset of 98.150 usec -> 2023-06-03T15:32:36.183.138.875 (XO: 56.183140816)
   Max TM value:177 at an offset of 100.875 usec -> 2023-06-03T15:32:36.183.141.600 (XO: 56.183143541)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 98.250 usec -> 2023-06-03T15:32:36.183.138.975 (XO: 56.183140916)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 83.688 usec -> 2023-06-03T15:32:36.183.124.412 (XO: 56.183126353)
