-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan 11 06:19:00 2022 UTC
-- File 20210915_022011_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 3.729794 to 50.569982
-each separately from 3s to 50s and from 169797us to 730083us.
   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, ...
      24.439714 in 1 packets: 18
      6.519619 in 1 packets: 36
      15.879699 in 1 packets: 54
MIU packet time from 2021-09-15T02:20:17.729.794.000 to 2021-09-15T02:21:04.569.982.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, ...
      24.439714 in 1 packets: 18
      6.519619 in 1 packets: 36
      15.879699 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 4.7634741 to 51.7633189
   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, ...
      24.9999174 in 1 packets: 18
      5.9999802 in 1 packets: 36
      15.9999472 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210915_022011_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.4932692 to 5.4935582
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4396310  -- OK for SL --
   MIU time from 2021-09-15T02:20:17.729.794.000 to 2021-09-15T02:20:17.730.083.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.439714

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.9331892 to 29.9334782
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.5195990  -- OK for SL --
   MIU time from 2021-09-15T02:20:42.169.797.000 to 2021-09-15T02:20:42.170.086.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.519619

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.4530772 to 36.4533662
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8796470  -- OK for SL --
   MIU time from 2021-09-15T02:20:48.689.705.000 to 2021-09-15T02:20:48.689.994.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.879699

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.3330132 to 52.3333022
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-15T02:21:04.569.693.000 to 2021-09-15T02:21:04.569.982.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 = 3, 32bit 10MHz counter = 5.493269200 corrected by 40bit 10MHz counter of 4.763474100 obtained at 1Hz counter of 3. Result: 3.729797581
--
   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.999996600 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-15T02:20:17.729.653.725
   Max 1st sample MIU time among all SL packets: 2021-09-15T02:21:04.569.841.725
   Min 1st sample XO time among all SL packets: 3.729657306
   Max 1st sample XO time among all SL packets: 50.569844849
   TM values from -237 to 197 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-15T02:20:17.729.653.725 (XO: 3.729657306 - 3.729963307, t=37.2 degC)  Rank: 00082
   TM values: Max =   197  Min =  -224  Ave =    -4.53  Std =    19.34
   Min TM value:-224 at an offset of 126.263 usec -> 2021-09-15T02:20:17.729.779.987 (XO: 3.729783569)
   Max TM value:197 at an offset of 128.888 usec -> 2021-09-15T02:20:17.729.782.612 (XO: 3.729786194)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 128.700 usec -> 2021-09-15T02:20:17.729.782.425 (XO: 3.729786006)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 98.675 usec -> 2021-09-15T02:20:17.729.752.400 (XO: 3.729755981)

 - Block number: 2 starting at 2021-09-15T02:20:42.169.656.725 (XO: 28.169657985 - 28.169963986, t=37.2 degC)  Rank: 00081
   TM values: Max =   181  Min =  -237  Ave =    -4.46  Std =    19.06
   Min TM value:-237 at an offset of 113.875 usec -> 2021-09-15T02:20:42.169.770.600 (XO: 28.169771860)
   Max TM value:181 at an offset of 116.450 usec -> 2021-09-15T02:20:42.169.773.175 (XO: 28.169774435)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 116.263 usec -> 2021-09-15T02:20:42.169.772.987 (XO: 28.169774248)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 113.663 usec -> 2021-09-15T02:20:42.169.770.387 (XO: 28.169771648)

 - Block number: 3 starting at 2021-09-15T02:20:48.689.564.725 (XO: 34.689567501 - 34.689873502, t=37.2 degC)  Rank: 00080
   TM values: Max =   167  Min =  -233  Ave =    -4.53  Std =    25.92
   Min TM value:-233 at an offset of 183.788 usec -> 2021-09-15T02:20:48.689.748.513 (XO: 34.689751289)
   Max TM value:167 at an offset of 181.451 usec -> 2021-09-15T02:20:48.689.746.175 (XO: 34.689748951)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 181.301 usec -> 2021-09-15T02:20:48.689.746.025 (XO: 34.689748801)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 210.613 usec -> 2021-09-15T02:20:48.689.775.338 (XO: 34.689778114)

 - Block number: 4 starting at 2021-09-15T02:21:04.569.552.725 (XO: 50.569555848 - 50.569861849, t=37.2 degC)  Rank: 00079
   TM values: Max =   192  Min =  -237  Ave =    -4.56  Std =    22.81
   Min TM value:-237 at an offset of 113.750 usec -> 2021-09-15T02:21:04.569.666.475 (XO: 50.569669598)
   Max TM value:192 at an offset of 113.463 usec -> 2021-09-15T02:21:04.569.666.187 (XO: 50.569669310)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 116.150 usec -> 2021-09-15T02:21:04.569.668.875 (XO: 50.569671998)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 113.563 usec -> 2021-09-15T02:21:04.569.666.287 (XO: 50.569669410)
