-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 15:31:04 2021 UTC
-- File 20210819_111846_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 9.330508 to 59.759282
-each separately from 9s to 59s and from 330508us to 759282us.
   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, ...
      11.189315 in 1 packets: 18
      14.889216 in 1 packets: 36
      24.349087 in 1 packets: 54
MIU packet time from 2021-08-19T11:18:58.330.508.000 to 2021-08-19T11:19:48.759.282.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, ...
      11.189315 in 1 packets: 18
      14.889216 in 1 packets: 36
      24.349087 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 10.8712445 to 60.8710797
   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, ...
      10.9999638 in 1 packets: 18
      14.9999506 in 1 packets: 36
      23.9999208 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C1 -> 37.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: 
      1 in 1 packets: 1
      2 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      3 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 20210819_111846_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.2017530 to 11.2020420
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.1892790  -- OK for SL --
   MIU time from 2021-08-19T11:18:58.330.508.000 to 2021-08-19T11:18:58.330.797.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.189315

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.3913210 to 22.3916100
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8891670  -- OK for SL --
   MIU time from 2021-08-19T11:19:09.520.112.000 to 2021-08-19T11:19:09.520.401.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.889216

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.2807770 to 37.2810660
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.3490070  -- OK for SL --
   MIU time from 2021-08-19T11:19:24.409.617.000 to 2021-08-19T11:19:24.409.906.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.349087

 - 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 61.6300730 to 61.6303620
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-19T11:19:48.758.993.000 to 2021-08-19T11:19:48.759.282.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 = 9, 32bit 10MHz counter = 11.201753000 corrected by 40bit 10MHz counter of 10.871244500 obtained at 1Hz counter of 9. Result: 9.330509591
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-19T11:18:58.330.367.725
   Max 1st sample MIU time among all SL packets: 2021-08-19T11:19:48.759.141.725
   Min 1st sample XO time among all SL packets: 9.330369315
   Max 1st sample XO time among all SL packets: 59.759144530
   TM values from -236 to 216 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-19T11:18:58.330.367.725 (XO: 9.330369315 - 9.330675316, t=37.2 degC)  Rank: 00085
   TM values: Max =   192  Min =  -236  Ave =    -4.46  Std =    19.98
   Min TM value:-236 at an offset of 114.138 usec -> 2021-08-19T11:18:58.330.481.862 (XO: 9.330483453)
   Max TM value:192 at an offset of 113.788 usec -> 2021-08-19T11:18:58.330.481.512 (XO: 9.330483103)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 116.475 usec -> 2021-08-19T11:18:58.330.484.200 (XO: 9.330485791)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 113.888 usec -> 2021-08-19T11:18:58.330.481.612 (XO: 9.330483203)

 - Block number: 2 starting at 2021-08-19T11:19:09.519.971.725 (XO: 20.519974141 - 20.520280142, t=37.2 degC)  Rank: 00076
   TM values: Max =   180  Min =  -218  Ave =    -4.42  Std =    20.74
   Min TM value:-218 at an offset of 126.225 usec -> 2021-08-19T11:19:09.520.097.950 (XO: 20.520100366)
   Max TM value:180 at an offset of 128.888 usec -> 2021-08-19T11:19:09.520.100.612 (XO: 20.520103029)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 128.775 usec -> 2021-08-19T11:19:09.520.100.500 (XO: 20.520102916)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 114.238 usec -> 2021-08-19T11:19:09.520.085.962 (XO: 20.520088379)

 - Block number: 3 starting at 2021-08-19T11:19:24.409.476.725 (XO: 35.409479176 - 35.409785177, t=37.2 degC)  Rank: 00079
   TM values: Max =   186  Min =  -234  Ave =    -4.48  Std =    20.52
   Min TM value:-234 at an offset of 125.775 usec -> 2021-08-19T11:19:24.409.602.500 (XO: 35.409604952)
   Max TM value:186 at an offset of 125.450 usec -> 2021-08-19T11:19:24.409.602.175 (XO: 35.409604627)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 128.188 usec -> 2021-08-19T11:19:24.409.604.912 (XO: 35.409607364)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 125.563 usec -> 2021-08-19T11:19:24.409.602.287 (XO: 35.409604739)

 - Block number: 4 starting at 2021-08-19T11:19:48.758.852.725 (XO: 59.758855529 - 59.759161530, t=37.2 degC)  Rank: 00082
   TM values: Max =   216  Min =  -224  Ave =    -4.48  Std =    22.55
   Min TM value:-224 at an offset of 105.613 usec -> 2021-08-19T11:19:48.758.958.337 (XO: 59.758961142)
   Max TM value:216 at an offset of 108.150 usec -> 2021-08-19T11:19:48.758.960.875 (XO: 59.758963680)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 103.275 usec -> 2021-08-19T11:19:48.758.956.000 (XO: 59.758958805)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 105.438 usec -> 2021-08-19T11:19:48.758.958.162 (XO: 59.758960967)
