-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 18:13:52 2021 UTC
-- File 20210822_143745_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 1.727999 to 59.479056
-each separately from 1s to 59s and from 268495us to 728288us.
   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, ...
      18.760141 in 1 packets: 18
      14.779777 in 1 packets: 36
      24.209983 in 1 packets: 54
MIU packet time from 2021-08-22T14:37:49.727.999.000 to 2021-08-22T14:38:47.479.056.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, ...
      18.760141 in 1 packets: 18
      14.779777 in 1 packets: 36
      24.209983 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 2.9727181 to 60.9725262
   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, ...
      18.9999372 in 1 packets: 18
      14.9999502 in 1 packets: 36
      23.9999207 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: 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: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210822_143745_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.7007175 to 3.7010065
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7600790  -- OK for SL --
   MIU time from 2021-08-22T14:37:49.727.999.000 to 2021-08-22T14:37:49.728.288.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.760141

 - 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 22.4610855 to 22.4613745
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7797270  -- OK for SL --
   MIU time from 2021-08-22T14:38:08.488.429.000 to 2021-08-22T14:38:08.488.718.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.779777

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.2411015 to 37.2413905
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.2099030  -- OK for SL --
   MIU time from 2021-08-22T14:38:23.268.495.000 to 2021-08-22T14:38:23.268.784.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.209983

 - 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 61.4512935 to 61.4515825
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T14:38:47.478.767.000 to 2021-08-22T14:38:47.479.056.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 = 1, 32bit 10MHz counter = 3.700717500 corrected by 40bit 10MHz counter of 2.972718100 obtained at 1Hz counter of 1. Result: 1.728001802
--
   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-08-22T14:37:49.727.858.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T14:38:47.478.915.725
   Min 1st sample XO time among all SL packets: 1.727861527
   Max 1st sample XO time among all SL packets: 59.478917605
   TM values from -261 to 220 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T14:37:49.727.858.725 (XO: 1.727861527 - 1.728167528, t=37.2 degC)  Rank: 00078
   TM values: Max =   199  Min =  -261  Ave =    -4.55  Std =    29.44
   Min TM value:-261 at an offset of 207.463 usec -> 2021-08-22T14:37:49.728.066.188 (XO: 1.728068990)
   Max TM value:199 at an offset of 122.963 usec -> 2021-08-22T14:37:49.727.981.687 (XO: 1.727984490)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 125.650 usec -> 2021-08-22T14:37:49.727.984.375 (XO: 1.727987177)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 207.351 usec -> 2021-08-22T14:37:49.728.066.075 (XO: 1.728068878)

 - Block number: 2 starting at 2021-08-22T14:38:08.488.288.725 (XO: 20.488291585 - 20.488597586, t=37.2 degC)  Rank: 00078
   TM values: Max =   209  Min =  -259  Ave =    -4.50  Std =    22.12
   Min TM value:-259 at an offset of 121.925 usec -> 2021-08-22T14:38:08.488.410.650 (XO: 20.488413511)
   Max TM value:209 at an offset of 119.350 usec -> 2021-08-22T14:38:08.488.408.075 (XO: 20.488410936)
   Max dTM/dt [1/us]:2.37e+03 at an offset of 122.013 usec -> 2021-08-22T14:38:08.488.410.737 (XO: 20.488413598)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 119.463 usec -> 2021-08-22T14:38:08.488.408.187 (XO: 20.488411048)

 - Block number: 3 starting at 2021-08-22T14:38:23.268.354.725 (XO: 35.268356611 - 35.268662612, t=37.2 degC)  Rank: 00085
   TM values: Max =   212  Min =  -249  Ave =    -4.53  Std =    19.57
   Min TM value:-249 at an offset of 120.925 usec -> 2021-08-22T14:38:23.268.475.650 (XO: 35.268477536)
   Max TM value:212 at an offset of 121.238 usec -> 2021-08-22T14:38:23.268.475.962 (XO: 35.268477848)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 121.013 usec -> 2021-08-22T14:38:23.268.475.737 (XO: 35.268477623)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 118.438 usec -> 2021-08-22T14:38:23.268.473.162 (XO: 35.268475048)

 - Block number: 4 starting at 2021-08-22T14:38:47.478.626.725 (XO: 59.478628604 - 59.478934605, t=37.2 degC)  Rank: 00079
   TM values: Max =   220  Min =  -256  Ave =    -4.51  Std =    30.86
   Min TM value:-256 at an offset of 162.788 usec -> 2021-08-22T14:38:47.478.789.513 (XO: 59.478791393)
   Max TM value:220 at an offset of 122.450 usec -> 2021-08-22T14:38:47.478.749.175 (XO: 59.478751055)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 122.325 usec -> 2021-08-22T14:38:47.478.749.050 (XO: 59.478750930)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 91.875 usec -> 2021-08-22T14:38:47.478.718.600 (XO: 59.478720480)
