-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 23:04:24 2023 UTC
-- File 20230512_100256_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 8.509852 to 53.487217
-each separately from 8s to 53s and from 179698us to 626920us.
   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, ...
      16.116490 in 1 packets: 18
      11.552778 in 1 packets: 36
      17.306941 in 1 packets: 54
MIU packet time from 2023-05-12T10:03:07.509.852.000 to 2023-05-12T10:03:52.487.217.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, ...
      16.116490 in 1 packets: 18
      11.552778 in 1 packets: 36
      17.306941 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 9.7431629 to 54.7429990
   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, ...
      15.9999416 in 1 packets: 18
      11.9999563 in 1 packets: 36
      16.9999382 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C2 -> 38.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.2 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      4 in 18 packets: 55, 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 20230512_100256_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:
      98 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.2530160 to 10.2533050
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1164310  -- OK for SL --
   MIU time from 2023-05-12T10:03:07.509.852.000 to 2023-05-12T10:03:07.510.141.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.116490

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.3697360 to 26.3700250
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5527350  -- OK for SL --
   MIU time from 2023-05-12T10:03:23.626.631.000 to 2023-05-12T10:03:23.626.920.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.552778

 - 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:
      110 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9227600 to 37.9230490
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3068790  -- OK for SL --
   MIU time from 2023-05-12T10:03:35.179.698.000 to 2023-05-12T10:03:35.179.987.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.306941

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.2299280 to 55.2302170
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-12T10:03:52.486.928.000 to 2023-05-12T10:03:52.487.217.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 = 8, 32bit 10MHz counter = 10.253016000 corrected by 40bit 10MHz counter of 9.743162900 obtained at 1Hz counter of 8. Result: 8.509854986
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-05-12T10:03:07.509.711.725
   Max 1st sample MIU time among all SL packets: 2023-05-12T10:03:52.487.076.725
   Min 1st sample XO time among all SL packets: 8.509714711
   Max 1st sample XO time among all SL packets: 53.487079527
   TM values from -421 to 531 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-12T10:03:07.509.711.725 (XO: 8.509714711 - 8.510020712, t=38.8 degC)  Rank: 00098
   TM values: Max =   531  Min =  -360  Ave =    -4.31  Std =    29.82
   Min TM value:-360 at an offset of 98.363 usec -> 2023-05-12T10:03:07.509.810.087 (XO: 8.509813074)
   Max TM value:531 at an offset of 101.575 usec -> 2023-05-12T10:03:07.509.813.300 (XO: 8.509816286)
   Max dTM/dt [1/us]:3.87e+03 at an offset of 101.538 usec -> 2023-05-12T10:03:07.509.813.262 (XO: 8.509816249)
   Min dTM/dt [1/us]:-4.56e+03 at an offset of 98.275 usec -> 2023-05-12T10:03:07.509.810.000 (XO: 8.509812986)

 - Block number: 2 starting at 2023-05-12T10:03:23.626.490.725 (XO: 24.626493480 - 24.626799481, t=38.8 degC)  Rank: 00054
   TM values: Max =   158  Min =  -164  Ave =    -4.48  Std =    16.25
   Min TM value:-164 at an offset of 122.275 usec -> 2023-05-12T10:03:23.626.613.000 (XO: 24.626615756)
   Max TM value:158 at an offset of 124.463 usec -> 2023-05-12T10:03:23.626.615.187 (XO: 24.626617943)
   Max dTM/dt [1/us]:1.29e+03 at an offset of 124.400 usec -> 2023-05-12T10:03:23.626.615.125 (XO: 24.626617881)
   Min dTM/dt [1/us]:-1.46e+03 at an offset of 124.550 usec -> 2023-05-12T10:03:23.626.615.275 (XO: 24.626618031)

 - Block number: 3 starting at 2023-05-12T10:03:35.179.557.725 (XO: 36.179559571 - 36.179865573, t=37.2 degC)  Rank: 00110
   TM values: Max =   180  Min =  -421  Ave =    -4.38  Std =    23.70
   Min TM value:-421 at an offset of 107.325 usec -> 2023-05-12T10:03:35.179.665.050 (XO: 36.179666897)
   Max TM value:180 at an offset of 110.000 usec -> 2023-05-12T10:03:35.179.667.725 (XO: 36.179669572)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 107.375 usec -> 2023-05-12T10:03:35.179.665.100 (XO: 36.179666947)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 107.288 usec -> 2023-05-12T10:03:35.179.665.012 (XO: 36.179666859)

 - Block number: 4 starting at 2023-05-12T10:03:52.486.787.725 (XO: 53.486790526 - 53.487096527, t=37.2 degC)  Rank: 00053
   TM values: Max =   145  Min =  -161  Ave =    -4.43  Std =    14.15
   Min TM value:-161 at an offset of 94.938 usec -> 2023-05-12T10:03:52.486.882.662 (XO: 53.486885464)
   Max TM value:145 at an offset of 94.675 usec -> 2023-05-12T10:03:52.486.882.400 (XO: 53.486885201)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 110.063 usec -> 2023-05-12T10:03:52.486.897.787 (XO: 53.486900589)
   Min dTM/dt [1/us]:-1.37e+03 at an offset of 94.788 usec -> 2023-05-12T10:03:52.486.882.512 (XO: 53.486885314)
