-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 07:58:04 2023 UTC
-- File 20230624_191818_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 4.960179 to 58.120890
-each separately from 4s to 58s and from 100434us to 960468us.
   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.279775 in 1 packets: 18
      13.859902 in 1 packets: 36
      26.019878 in 1 packets: 54
MIU packet time from 2023-06-24T19:18:25.960.179.000 to 2023-06-24T19:19:19.120.890.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.279775 in 1 packets: 18
      13.859902 in 1 packets: 36
      26.019878 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 5.7597812 to 59.7595996
   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, ...
      13.9999529 in 2 packets: 18, 36
      25.9999126 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C6 -> 45.2 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20230624_191818_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.7199622 to 6.7202512
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2797270  -- OK for SL --
   MIU time from 2023-06-24T19:18:25.960.179.000 to 2023-06-24T19:18:25.960.468.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.279775

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.9999782 to 20.0002672
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8598550  -- OK for SL --
   MIU time from 2023-06-24T19:18:39.240.243.000 to 2023-06-24T19:18:39.240.532.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.859902

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.8601222 to 33.8604112
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.0197910  -- OK for SL --
   MIU time from 2023-06-24T19:18:53.100.434.000 to 2023-06-24T19:18:53.100.723.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.019878

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.8802022 to 59.8804912
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-24T19:19:19.120.601.000 to 2023-06-24T19:19:19.120.890.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 = 4, 32bit 10MHz counter = 6.719962200 corrected by 40bit 10MHz counter of 5.759781200 obtained at 1Hz counter of 4. Result: 4.960184265
--
   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.999996600 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2023-06-24T19:18:25.960.038.725
   Max 1st sample MIU time among all SL packets: 2023-06-24T19:19:19.120.749.725
   Min 1st sample XO time among all SL packets: 4.960043989
   Max 1st sample XO time among all SL packets: 58.120751736
   TM values from -361 to 253 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-24T19:18:25.960.038.725 (XO: 4.960043989 - 4.960349990, t=45.2 degC)  Rank: 00082
   TM values: Max =   246  Min =  -334  Ave =    -4.50  Std =    30.32
   Min TM value:-334 at an offset of 109.025 usec -> 2023-06-24T19:18:25.960.147.750 (XO: 4.960153015)
   Max TM value:246 at an offset of 95.838 usec -> 2023-06-24T19:18:25.960.134.562 (XO: 4.960139827)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 111.325 usec -> 2023-06-24T19:18:25.960.150.050 (XO: 4.960155315)
   Min dTM/dt [1/us]:-2.71e+03 at an offset of 108.913 usec -> 2023-06-24T19:18:25.960.147.637 (XO: 4.960152902)

 - Block number: 2 starting at 2023-06-24T19:18:39.240.102.725 (XO: 18.240104641 - 18.240410642, t=45.2 degC)  Rank: 00081
   TM values: Max =   252  Min =  -329  Ave =    -4.58  Std =    32.55
   Min TM value:-329 at an offset of 123.175 usec -> 2023-06-24T19:18:39.240.225.900 (XO: 18.240227817)
   Max TM value:252 at an offset of 123.475 usec -> 2023-06-24T19:18:39.240.226.200 (XO: 18.240228117)
   Max dTM/dt [1/us]:2.62e+03 at an offset of 123.300 usec -> 2023-06-24T19:18:39.240.226.025 (XO: 18.240227942)
   Min dTM/dt [1/us]:-2.88e+03 at an offset of 123.125 usec -> 2023-06-24T19:18:39.240.225.850 (XO: 18.240227767)

 - Block number: 3 starting at 2023-06-24T19:18:53.100.293.725 (XO: 32.100295266 - 32.100601267, t=45.2 degC)  Rank: 00078
   TM values: Max =   253  Min =  -361  Ave =    -4.41  Std =    32.37
   Min TM value:-361 at an offset of 89.588 usec -> 2023-06-24T19:18:53.100.383.312 (XO: 32.100384854)
   Max TM value:253 at an offset of 87.163 usec -> 2023-06-24T19:18:53.100.380.887 (XO: 32.100382429)
   Max dTM/dt [1/us]:2.82e+03 at an offset of 89.713 usec -> 2023-06-24T19:18:53.100.383.437 (XO: 32.100384979)
   Min dTM/dt [1/us]:-3.02e+03 at an offset of 87.263 usec -> 2023-06-24T19:18:53.100.380.987 (XO: 32.100382529)

 - Block number: 4 starting at 2023-06-24T19:19:19.120.460.725 (XO: 58.120462735 - 58.120768736, t=45.2 degC)  Rank: 00075
   TM values: Max =   242  Min =  -356  Ave =    -4.63  Std =    31.30
   Min TM value:-356 at an offset of 87.363 usec -> 2023-06-24T19:19:19.120.548.087 (XO: 58.120550097)
   Max TM value:242 at an offset of 89.800 usec -> 2023-06-24T19:19:19.120.550.525 (XO: 58.120552535)
   Max dTM/dt [1/us]:2.78e+03 at an offset of 89.613 usec -> 2023-06-24T19:19:19.120.550.337 (XO: 58.120552347)
   Min dTM/dt [1/us]:-3.03e+03 at an offset of 87.238 usec -> 2023-06-24T19:19:19.120.547.962 (XO: 58.120549972)
