-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul 24 04:23:06 2021 UTC
-- File 20210629_195859_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 0.029418 to 52.139078
-each separately from 0s to 52s and from 29418us to 459445us.
   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.429449 in 1 packets: 18
      27.989331 in 1 packets: 36
      7.689724 in 1 packets: 54
MIU packet time from 2021-06-29T19:58:59.029.418.000 to 2021-06-29T19:59:51.139.078.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.429449 in 1 packets: 18
      27.989331 in 1 packets: 36
      7.689724 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 1.8565638 to 53.8563774
   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.9999427 in 1 packets: 18
      27.9998996 in 1 packets: 36
      7.9999713 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      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: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210629_195859_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.8859831 to 1.8862721
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4293910  -- OK for SL --
   MIU time from 2021-06-29T19:58:59.029.418.000 to 2021-06-29T19:58:59.029.707.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.429449

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.3156631 to 18.3159521
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.9892310  -- OK for SL --
   MIU time from 2021-06-29T19:59:15.459.156.000 to 2021-06-29T19:59:15.459.445.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.989331

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.3051831 to 46.3054721
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6896950  -- OK for SL --
   MIU time from 2021-06-29T19:59:43.448.776.000 to 2021-06-29T19:59:43.449.065.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.689724

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.9951671 to 53.9954561
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-29T19:59:51.138.789.000 to 2021-06-29T19:59:51.139.078.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 = 0, 32bit 10MHz counter = 1.885983100 corrected by 40bit 10MHz counter of 1.856563800 obtained at 1Hz counter of 0. Result: 0.029419403
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-29T19:58:59.029.277.725
   Max 1st sample MIU time among all SL packets: 2021-06-29T19:59:51.138.937.725
   Min 1st sample XO time among all SL packets: 0.029279127
   Max 1st sample XO time among all SL packets: 52.138938925
   TM values from -289 to 272 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-29T19:58:59.029.277.725 (XO: 0.029279127 - 0.029585129, t=35.6 degC)  Rank: 00080
   TM values: Max =   256  Min =  -281  Ave =    -4.42  Std =    34.38
   Min TM value:-281 at an offset of 116.600 usec -> 2021-06-29T19:58:59.029.394.325 (XO: 0.029395728)
   Max TM value:256 at an offset of 119.275 usec -> 2021-06-29T19:58:59.029.397.000 (XO: 0.029398403)
   Max dTM/dt [1/us]:2.74e+03 at an offset of 119.138 usec -> 2021-06-29T19:58:59.029.396.862 (XO: 0.029398265)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 116.463 usec -> 2021-06-29T19:58:59.029.394.187 (XO: 0.029395590)

 - Block number: 2 starting at 2021-06-29T19:59:15.459.015.725 (XO: 16.459017977 - 16.459323979, t=35.6 degC)  Rank: 00080
   TM values: Max =   272  Min =  -278  Ave =    -4.50  Std =    30.37
   Min TM value:-278 at an offset of 128.838 usec -> 2021-06-29T19:59:15.459.144.562 (XO: 16.459146815)
   Max TM value:272 at an offset of 131.463 usec -> 2021-06-29T19:59:15.459.147.187 (XO: 16.459149440)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 131.313 usec -> 2021-06-29T19:59:15.459.147.037 (XO: 16.459149290)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 128.613 usec -> 2021-06-29T19:59:15.459.144.337 (XO: 16.459146590)

 - Block number: 3 starting at 2021-06-29T19:59:43.448.635.725 (XO: 44.448638340 - 44.448944341, t=35.6 degC)  Rank: 00086
   TM values: Max =   250  Min =  -289  Ave =    -4.48  Std =    37.81
   Min TM value:-289 at an offset of 129.750 usec -> 2021-06-29T19:59:43.448.765.475 (XO: 44.448768091)
   Max TM value:250 at an offset of 132.450 usec -> 2021-06-29T19:59:43.448.768.175 (XO: 44.448770791)
   Max dTM/dt [1/us]:2.68e+03 at an offset of 132.325 usec -> 2021-06-29T19:59:43.448.768.050 (XO: 44.448770666)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 129.525 usec -> 2021-06-29T19:59:43.448.765.250 (XO: 44.448767866)

 - Block number: 4 starting at 2021-06-29T19:59:51.138.648.725 (XO: 52.138649924 - 52.138955925, t=35.6 degC)  Rank: 00074
   TM values: Max =   244  Min =  -279  Ave =    -4.52  Std =    30.41
   Min TM value:-279 at an offset of 78.863 usec -> 2021-06-29T19:59:51.138.727.587 (XO: 52.138728787)
   Max TM value:244 at an offset of 94.250 usec -> 2021-06-29T19:59:51.138.742.975 (XO: 52.138744174)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 94.125 usec -> 2021-06-29T19:59:51.138.742.850 (XO: 52.138744049)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 91.325 usec -> 2021-06-29T19:59:51.138.740.050 (XO: 52.138741249)
