-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 08:53:40 2023 UTC
-- File 20220601_144240_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 7.033073 to 56.733892
-each separately from 7s to 56s and from 33073us to 733892us.
   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, ...
      18.449776 in 1 packets: 18
      17.729825 in 1 packets: 36
      13.520062 in 1 packets: 54
MIU packet time from 2022-06-01T14:42:50.033.073.000 to 2022-06-01T14:43:39.733.892.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, ...
      18.449776 in 1 packets: 18
      17.729825 in 1 packets: 36
      13.520062 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 8.8035448 to 57.8033657
   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, ...
      17.9999341 in 1 packets: 18
      17.9999342 in 1 packets: 36
      12.9999526 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220601_144240_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.8366186 to 8.8369076
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4497110  -- OK for SL --
   MIU time from 2022-06-01T14:42:50.033.073.000 to 2022-06-01T14:42:50.033.362.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.449776

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.2866186 to 27.2869076
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7297590  -- OK for SL --
   MIU time from 2022-06-01T14:43:08.483.138.000 to 2022-06-01T14:43:08.483.427.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.729825

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.0166666 to 45.0169556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5200150  -- OK for SL --
   MIU time from 2022-06-01T14:43:26.213.252.000 to 2022-06-01T14:43:26.213.541.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.520062

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.5369706 to 58.5372596
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-01T14:43:39.733.603.000 to 2022-06-01T14:43:39.733.892.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 = 7, 32bit 10MHz counter = 8.836618600 corrected by 40bit 10MHz counter of 8.803544800 obtained at 1Hz counter of 7. Result: 7.033073919
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-01T14:42:50.032.932.725
   Max 1st sample MIU time among all SL packets: 2022-06-01T14:43:39.733.751.725
   Min 1st sample XO time among all SL packets: 7.032933644
   Max 1st sample XO time among all SL packets: 56.733756267
   TM values from -266 to 221 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-01T14:42:50.032.932.725 (XO: 7.032933644 - 7.033239645, t=43.6 degC)  Rank: 00086
   TM values: Max =   215  Min =  -225  Ave =    -4.24  Std =    33.77
   Min TM value:-225 at an offset of 113.763 usec -> 2022-06-01T14:42:50.033.046.487 (XO: 7.033047406)
   Max TM value:215 at an offset of 113.513 usec -> 2022-06-01T14:42:50.033.046.237 (XO: 7.033047156)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 195.876 usec -> 2022-06-01T14:42:50.033.128.600 (XO: 7.033129519)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 170.713 usec -> 2022-06-01T14:42:50.033.103.438 (XO: 7.033104357)

 - Block number: 2 starting at 2022-06-01T14:43:08.482.997.725 (XO: 25.483001164 - 25.483307165, t=43.6 degC)  Rank: 00072
   TM values: Max =   200  Min =  -225  Ave =    -4.25  Std =    26.12
   Min TM value:-225 at an offset of 177.563 usec -> 2022-06-01T14:43:08.483.175.288 (XO: 25.483178727)
   Max TM value:200 at an offset of 122.575 usec -> 2022-06-01T14:43:08.483.120.300 (XO: 25.483123739)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 179.776 usec -> 2022-06-01T14:43:08.483.177.500 (XO: 25.483180939)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 177.426 usec -> 2022-06-01T14:43:08.483.175.150 (XO: 25.483178589)

 - Block number: 3 starting at 2022-06-01T14:43:26.213.111.725 (XO: 43.213113992 - 43.213419993, t=43.6 degC)  Rank: 00077
   TM values: Max =   219  Min =  -233  Ave =    -4.37  Std =    35.86
   Min TM value:-233 at an offset of 219.926 usec -> 2022-06-01T14:43:26.213.331.650 (XO: 43.213333918)
   Max TM value:219 at an offset of 236.701 usec -> 2022-06-01T14:43:26.213.348.425 (XO: 43.213350693)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 234.351 usec -> 2022-06-01T14:43:26.213.346.075 (XO: 43.213348343)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 236.801 usec -> 2022-06-01T14:43:26.213.348.525 (XO: 43.213350793)

 - Block number: 4 starting at 2022-06-01T14:43:39.733.462.725 (XO: 56.733467265 - 56.733773267, t=43.6 degC)  Rank: 00081
   TM values: Max =   221  Min =  -266  Ave =    -4.22  Std =    32.60
   Min TM value:-266 at an offset of 185.188 usec -> 2022-06-01T14:43:39.733.647.913 (XO: 56.733652454)
   Max TM value:221 at an offset of 128.350 usec -> 2022-06-01T14:43:39.733.591.075 (XO: 56.733595616)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 128.213 usec -> 2022-06-01T14:43:39.733.590.937 (XO: 56.733595478)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 160.401 usec -> 2022-06-01T14:43:39.733.623.125 (XO: 56.733627666)
