-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 30 03:27:56 2021 UTC
-- File 20210728_151935_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.354337 to 57.055960
-each separately from 3s to 57s and from 55671us to 354626us.
   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, ...
      15.919973 in 1 packets: 18
      22.860413 in 1 packets: 36
      14.920081 in 1 packets: 54
MIU packet time from 2021-07-28T15:19:41.354.337.000 to 2021-07-28T15:20:35.055.960.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, ...
      15.919973 in 1 packets: 18
      22.860413 in 1 packets: 36
      14.920081 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.9177480 to 58.9175655
   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.9999460 in 1 packets: 18
      22.9999222 in 1 packets: 36
      14.9999493 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210728_151935_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.2720859 to 5.2723749
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9199190  -- OK for SL --
   MIU time from 2021-07-28T15:19:41.354.337.000 to 2021-07-28T15:19:41.354.626.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.919973

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.1922939 to 21.1925829
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.8603350  -- OK for SL --
   MIU time from 2021-07-28T15:19:57.274.599.000 to 2021-07-28T15:19:57.274.888.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.860413

 - 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 44.0529179 to 44.0532069
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9200310  -- OK for SL --
   MIU time from 2021-07-28T15:20:20.135.301.000 to 2021-07-28T15:20:20.135.590.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.920081

 - 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 58.9732379 to 58.9735269
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-28T15:20:35.055.671.000 to 2021-07-28T15:20:35.055.960.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.272085900 corrected by 40bit 10MHz counter of 4.917748000 obtained at 1Hz counter of 3. Result: 3.354339105
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-28T15:19:41.354.196.725
   Max 1st sample MIU time among all SL packets: 2021-07-28T15:20:35.055.819.725
   Min 1st sample XO time among all SL packets: 3.354198829
   Max 1st sample XO time among all SL packets: 57.055821315
   TM values from -328 to 297 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-28T15:19:41.354.196.725 (XO: 3.354198829 - 3.354504830, t=37.2 degC)  Rank: 00082
   TM values: Max =   237  Min =  -305  Ave =    -4.46  Std =    28.64
   Min TM value:-305 at an offset of 126.400 usec -> 2021-07-28T15:19:41.354.323.125 (XO: 3.354325230)
   Max TM value:237 at an offset of 126.138 usec -> 2021-07-28T15:19:41.354.322.862 (XO: 3.354324967)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 128.788 usec -> 2021-07-28T15:19:41.354.325.512 (XO: 3.354327617)
   Min dTM/dt [1/us]:-2.67e+03 at an offset of 126.238 usec -> 2021-07-28T15:19:41.354.322.962 (XO: 3.354325067)

 - Block number: 2 starting at 2021-07-28T15:19:57.274.458.725 (XO: 19.274460558 - 19.274766559, t=37.2 degC)  Rank: 00078
   TM values: Max =   283  Min =  -325  Ave =    -4.41  Std =    49.64
   Min TM value:-325 at an offset of 128.475 usec -> 2021-07-28T15:19:57.274.587.200 (XO: 19.274589034)
   Max TM value:283 at an offset of 128.163 usec -> 2021-07-28T15:19:57.274.586.887 (XO: 19.274588721)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 130.888 usec -> 2021-07-28T15:19:57.274.589.612 (XO: 19.274591446)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 128.263 usec -> 2021-07-28T15:19:57.274.586.987 (XO: 19.274588821)

 - Block number: 3 starting at 2021-07-28T15:20:20.135.160.725 (XO: 42.135161885 - 42.135467886, t=37.2 degC)  Rank: 00077
   TM values: Max =   297  Min =  -328  Ave =    -4.56  Std =    44.18
   Min TM value:-328 at an offset of 126.163 usec -> 2021-07-28T15:20:20.135.286.887 (XO: 42.135288047)
   Max TM value:297 at an offset of 125.950 usec -> 2021-07-28T15:20:20.135.286.675 (XO: 42.135287835)
   Max dTM/dt [1/us]:2.97e+03 at an offset of 128.563 usec -> 2021-07-28T15:20:20.135.289.287 (XO: 42.135290447)
   Min dTM/dt [1/us]:-3.43e+03 at an offset of 126.063 usec -> 2021-07-28T15:20:20.135.286.787 (XO: 42.135287947)

 - Block number: 4 starting at 2021-07-28T15:20:35.055.530.725 (XO: 57.055532314 - 57.055838315, t=37.2 degC)  Rank: 00079
   TM values: Max =   286  Min =  -301  Ave =    -4.48  Std =    29.07
   Min TM value:-301 at an offset of 89.475 usec -> 2021-07-28T15:20:35.055.620.200 (XO: 57.055621789)
   Max TM value:286 at an offset of 91.913 usec -> 2021-07-28T15:20:35.055.622.637 (XO: 57.055624227)
   Max dTM/dt [1/us]:2.67e+03 at an offset of 91.813 usec -> 2021-07-28T15:20:35.055.622.537 (XO: 57.055624127)
   Min dTM/dt [1/us]:-3.12e+03 at an offset of 89.300 usec -> 2021-07-28T15:20:35.055.620.025 (XO: 57.055621614)
