-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  5 22:42:52 2024 UTC
-- File 20230720_175043_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 6.765092 to 46.674783
-each separately from 6s to 46s and from 14520us to 765381us.
   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, ...
      12.429500 in 1 packets: 18
      24.819350 in 1 packets: 36
      2.659685 in 1 packets: 54
MIU packet time from 2023-07-20T17:50:52.765.092.000 to 2023-07-20T17:51:32.674.783.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, ...
      12.429500 in 1 packets: 18
      24.819350 in 1 packets: 36
      2.659685 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 7.5492469 to 47.5491084
   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.9999551 in 1 packets: 18
      24.9999133 in 1 packets: 36
      1.9999931 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20230720_175043_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.3143404 to 8.3146294
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4294550  -- OK for SL --
   MIU time from 2023-07-20T17:50:52.765.092.000 to 2023-07-20T17:50:52.765.381.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.429500

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.7440844 to 20.7443734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8192630  -- OK for SL --
   MIU time from 2023-07-20T17:51:05.194.881.000 to 2023-07-20T17:51:05.195.170.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.819350

 - 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 45.5636364 to 45.5639254
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.6596790  -- OK for SL --
   MIU time from 2023-07-20T17:51:30.014.520.000 to 2023-07-20T17:51:30.014.809.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.659685

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.2236044 to 48.2238934
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-20T17:51:32.674.494.000 to 2023-07-20T17:51:32.674.783.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 = 6, 32bit 10MHz counter = 8.314340400 corrected by 40bit 10MHz counter of 7.549246900 obtained at 1Hz counter of 6. Result: 6.765096101
--
   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-07-20T17:50:52.764.951.725
   Max 1st sample MIU time among all SL packets: 2023-07-20T17:51:32.674.642.725
   Min 1st sample XO time among all SL packets: 6.764955826
   Max 1st sample XO time among all SL packets: 46.674647086
   TM values from -344 to 283 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-20T17:50:52.764.951.725 (XO: 6.764955826 - 6.765261827, t=43.6 degC)  Rank: 00076
   TM values: Max =   255  Min =  -317  Ave =    -4.48  Std =    47.69
   Min TM value:-317 at an offset of 111.025 usec -> 2023-07-20T17:50:52.765.062.750 (XO: 6.765066851)
   Max TM value:255 at an offset of 109.088 usec -> 2023-07-20T17:50:52.765.060.812 (XO: 6.765064914)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 113.363 usec -> 2023-07-20T17:50:52.765.065.087 (XO: 6.765069189)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 98.613 usec -> 2023-07-20T17:50:52.765.050.337 (XO: 6.765054439)

 - Block number: 2 starting at 2023-07-20T17:51:05.194.740.725 (XO: 19.194742807 - 19.195048808, t=43.6 degC)  Rank: 00090
   TM values: Max =   283  Min =  -333  Ave =    -4.46  Std =    45.30
   Min TM value:-333 at an offset of 170.363 usec -> 2023-07-20T17:51:05.194.911.088 (XO: 19.194913170)
   Max TM value:283 at an offset of 170.588 usec -> 2023-07-20T17:51:05.194.911.313 (XO: 19.194913395)
   Max dTM/dt [1/us]:2.77e+03 at an offset of 170.463 usec -> 2023-07-20T17:51:05.194.911.188 (XO: 19.194913270)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 168.026 usec -> 2023-07-20T17:51:05.194.908.750 (XO: 19.194910832)

 - Block number: 3 starting at 2023-07-20T17:51:30.014.379.725 (XO: 44.014380874 - 44.014686875, t=43.6 degC)  Rank: 00075
   TM values: Max =   228  Min =  -344  Ave =    -4.50  Std =    29.24
   Min TM value:-344 at an offset of 127.913 usec -> 2023-07-20T17:51:30.014.507.637 (XO: 44.014508787)
   Max TM value:228 at an offset of 125.450 usec -> 2023-07-20T17:51:30.014.505.175 (XO: 44.014506324)
   Max dTM/dt [1/us]:2.62e+03 at an offset of 128.025 usec -> 2023-07-20T17:51:30.014.507.750 (XO: 44.014508899)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 125.563 usec -> 2023-07-20T17:51:30.014.505.287 (XO: 44.014506437)

 - Block number: 4 starting at 2023-07-20T17:51:32.674.353.725 (XO: 46.674358085 - 46.674664086, t=43.6 degC)  Rank: 00076
   TM values: Max =   241  Min =  -330  Ave =    -4.62  Std =    32.84
   Min TM value:-330 at an offset of 112.388 usec -> 2023-07-20T17:51:32.674.466.112 (XO: 46.674470473)
   Max TM value:241 at an offset of 114.838 usec -> 2023-07-20T17:51:32.674.468.562 (XO: 46.674472923)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 114.663 usec -> 2023-07-20T17:51:32.674.468.387 (XO: 46.674472748)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 112.275 usec -> 2023-07-20T17:51:32.674.466.000 (XO: 46.674470361)
