-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov 11 04:55:08 2021 UTC
-- File 20210711_053859_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 12.003160 to 47.883999
-each separately from 12s to 47s and from 3160us to 883999us.
   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, ...
      14.499982 in 1 packets: 18
      12.589819 in 1 packets: 36
      8.789882 in 1 packets: 54
MIU packet time from 2021-07-11T05:39:14.003.160.000 to 2021-07-11T05:39:49.883.999.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, ...
      14.499982 in 1 packets: 18
      12.589819 in 1 packets: 36
      8.789882 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 13.8989258 to 48.8988082
   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, ...
      13.9999529 in 1 packets: 18
      12.9999563 in 1 packets: 36
      7.9999732 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: 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 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 20210711_053859_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9020867 to 13.9023757
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4999350  -- OK for SL --
   MIU time from 2021-07-11T05:39:14.003.160.000 to 2021-07-11T05:39:14.003.449.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.499982

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.4023107 to 28.4025997
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5897750  -- OK for SL --
   MIU time from 2021-07-11T05:39:28.503.431.000 to 2021-07-11T05:39:28.503.720.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.589819

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.9923747 to 40.9926637
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.7898550  -- OK for SL --
   MIU time from 2021-07-11T05:39:41.093.539.000 to 2021-07-11T05:39:41.093.828.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.789882

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.7825187 to 49.7828077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-11T05:39:49.883.710.000 to 2021-07-11T05:39:49.883.999.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 = 12, 32bit 10MHz counter = 13.902086700 corrected by 40bit 10MHz counter of 13.898925800 obtained at 1Hz counter of 12. Result: 12.003160910
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-11T05:39:14.003.019.725
   Max 1st sample MIU time among all SL packets: 2021-07-11T05:39:49.883.858.725
   Min 1st sample XO time among all SL packets: 12.003020635
   Max 1st sample XO time among all SL packets: 47.883862142
   TM values from -255 to 219 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-11T05:39:14.003.019.725 (XO: 12.003020635 - 12.003326636, t=37.2 degC)  Rank: 00084
   TM values: Max =   219  Min =  -255  Ave =    -4.51  Std =    24.11
   Min TM value:-255 at an offset of 103.800 usec -> 2021-07-11T05:39:14.003.123.525 (XO: 12.003124435)
   Max TM value:219 at an offset of 119.013 usec -> 2021-07-11T05:39:14.003.138.737 (XO: 12.003139648)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 118.875 usec -> 2021-07-11T05:39:14.003.138.600 (XO: 12.003139510)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 116.175 usec -> 2021-07-11T05:39:14.003.135.900 (XO: 12.003136810)

 - Block number: 2 starting at 2021-07-11T05:39:28.503.290.725 (XO: 26.503293436 - 26.503599437, t=37.2 degC)  Rank: 00084
   TM values: Max =   199  Min =  -234  Ave =    -4.47  Std =    20.53
   Min TM value:-234 at an offset of 104.188 usec -> 2021-07-11T05:39:28.503.394.912 (XO: 26.503397624)
   Max TM value:199 at an offset of 103.863 usec -> 2021-07-11T05:39:28.503.394.587 (XO: 26.503397299)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 119.188 usec -> 2021-07-11T05:39:28.503.409.912 (XO: 26.503412624)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 103.988 usec -> 2021-07-11T05:39:28.503.394.712 (XO: 26.503397424)

 - Block number: 3 starting at 2021-07-11T05:39:41.093.398.725 (XO: 39.093399733 - 39.093705734, t=37.2 degC)  Rank: 00078
   TM values: Max =   215  Min =  -221  Ave =    -4.53  Std =    24.77
   Min TM value:-221 at an offset of 131.488 usec -> 2021-07-11T05:39:41.093.530.212 (XO: 39.093531221)
   Max TM value:215 at an offset of 134.238 usec -> 2021-07-11T05:39:41.093.532.962 (XO: 39.093533971)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 134.100 usec -> 2021-07-11T05:39:41.093.532.825 (XO: 39.093533834)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 131.363 usec -> 2021-07-11T05:39:41.093.530.087 (XO: 39.093531096)

 - Block number: 4 starting at 2021-07-11T05:39:49.883.569.725 (XO: 47.883573141 - 47.883879142, t=37.2 degC)  Rank: 00080
   TM values: Max =   211  Min =  -238  Ave =    -4.61  Std =    19.34
   Min TM value:-238 at an offset of 128.813 usec -> 2021-07-11T05:39:49.883.698.537 (XO: 47.883701954)
   Max TM value:211 at an offset of 131.488 usec -> 2021-07-11T05:39:49.883.701.212 (XO: 47.883704629)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 131.288 usec -> 2021-07-11T05:39:49.883.701.012 (XO: 47.883704429)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 128.625 usec -> 2021-07-11T05:39:49.883.698.350 (XO: 47.883701766)
