-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  6 22:30:25 2023 UTC
-- File 20220521_155848_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.536722 to 46.568744
-each separately from 8s to 46s and from 536722us to 870032us.
   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.035642 in 1 packets: 18
      14.296801 in 1 packets: 36
      6.698423 in 1 packets: 54
MIU packet time from 2022-05-21T15:58:59.536.722.000 to 2022-05-21T15:59:37.568.744.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.035642 in 1 packets: 18
      14.296801 in 1 packets: 36
      6.698423 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.8979861 to 47.8978525
   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.9999402 in 1 packets: 18
      13.9999508 in 1 packets: 36
      6.9999754 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
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: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 in 17 packets: 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 20220521_155848_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.4347091 to 10.4349981
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0355830  -- OK for SL --
   MIU time from 2022-05-21T15:58:59.536.722.000 to 2022-05-21T15:58:59.537.011.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.035642

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.4705811 to 27.4708701
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2967510  -- OK for SL --
   MIU time from 2022-05-21T15:59:16.572.653.000 to 2022-05-21T15:59:16.572.942.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.296801

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.7676211 to 41.7679101
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.6983990  -- OK for SL --
   MIU time from 2022-05-21T15:59:30.869.743.000 to 2022-05-21T15:59:30.870.032.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.698423

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.4663091 to 48.4665981
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-21T15:59:37.568.455.000 to 2022-05-21T15:59:37.568.744.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.434709100 corrected by 40bit 10MHz counter of 9.897986100 obtained at 1Hz counter of 8. Result: 8.536724879
--
   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: 2022-05-21T15:58:59.536.581.725
   Max 1st sample MIU time among all SL packets: 2022-05-21T15:59:37.568.603.725
   Min 1st sample XO time among all SL packets: 8.536584603
   Max 1st sample XO time among all SL packets: 46.568607315
   TM values from -289 to 255 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-21T15:58:59.536.581.725 (XO: 8.536584603 - 8.536890604, t=42.0 degC)  Rank: 00077
   TM values: Max =   247  Min =  -263  Ave =    -4.56  Std =    24.07
   Min TM value:-263 at an offset of 122.175 usec -> 2022-05-21T15:58:59.536.703.900 (XO: 8.536706778)
   Max TM value:247 at an offset of 119.788 usec -> 2022-05-21T15:58:59.536.701.512 (XO: 8.536704391)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 122.288 usec -> 2022-05-21T15:58:59.536.704.012 (XO: 8.536706891)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 122.075 usec -> 2022-05-21T15:58:59.536.703.800 (XO: 8.536706678)

 - Block number: 2 starting at 2022-05-21T15:59:16.572.512.725 (XO: 25.572516529 - 25.572822530, t=42.0 degC)  Rank: 00084
   TM values: Max =   231  Min =  -249  Ave =    -4.59  Std =    29.12
   Min TM value:-249 at an offset of 194.138 usec -> 2022-05-21T15:59:16.572.706.863 (XO: 25.572710667)
   Max TM value:231 at an offset of 108.613 usec -> 2022-05-21T15:59:16.572.621.337 (XO: 25.572625142)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 194.238 usec -> 2022-05-21T15:59:16.572.706.963 (XO: 25.572710767)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 106.088 usec -> 2022-05-21T15:59:16.572.618.812 (XO: 25.572622617)

 - Block number: 3 starting at 2022-05-21T15:59:30.869.602.725 (XO: 39.869606769 - 39.869912770, t=42.0 degC)  Rank: 00076
   TM values: Max =   226  Min =  -289  Ave =    -4.49  Std =    19.18
   Min TM value:-289 at an offset of 95.625 usec -> 2022-05-21T15:59:30.869.698.350 (XO: 39.869702394)
   Max TM value:226 at an offset of 97.988 usec -> 2022-05-21T15:59:30.869.700.712 (XO: 39.869704756)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 97.850 usec -> 2022-05-21T15:59:30.869.700.575 (XO: 39.869704619)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 95.450 usec -> 2022-05-21T15:59:30.869.698.175 (XO: 39.869702219)

 - Block number: 4 starting at 2022-05-21T15:59:37.568.314.725 (XO: 46.568318314 - 46.568624315, t=42.0 degC)  Rank: 00082
   TM values: Max =   255  Min =  -247  Ave =    -4.56  Std =    21.41
   Min TM value:-247 at an offset of 106.413 usec -> 2022-05-21T15:59:37.568.421.137 (XO: 46.568424727)
   Max TM value:255 at an offset of 106.163 usec -> 2022-05-21T15:59:37.568.420.887 (XO: 46.568424477)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 106.088 usec -> 2022-05-21T15:59:37.568.420.812 (XO: 46.568424402)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 106.250 usec -> 2022-05-21T15:59:37.568.420.975 (XO: 46.568424564)
