-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Dec 18 13:16:06 2021 UTC
-- File 20210816_184711_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 5.104096 to 49.774195
-each separately from 5s to 49s and from 104096us to 774195us.
   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, ...
      21.329829 in 1 packets: 18
      5.029599 in 1 packets: 36
      18.309515 in 1 packets: 54
MIU packet time from 2021-08-16T18:47:19.104.096.000 to 2021-08-16T18:48:03.774.195.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, ...
      21.329829 in 1 packets: 18
      5.029599 in 1 packets: 36
      18.309515 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 6.7518690 to 50.7517227
   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, ...
      20.9999302 in 1 packets: 18
      4.9999834 in 1 packets: 36
      17.9999401 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 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      03 -> 51.1 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210816_184711_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.8559657 to 6.8562547
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.3297590  -- OK for SL --
   MIU time from 2021-08-16T18:47:19.104.096.000 to 2021-08-16T18:47:19.104.385.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.329829

 - 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 28.1860137 to 28.1863027
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.0295830  -- OK for SL --
   MIU time from 2021-08-16T18:47:40.434.214.000 to 2021-08-16T18:47:40.434.503.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.029599

 - 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 33.2158857 to 33.2161747
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.3094550  -- OK for SL --
   MIU time from 2021-08-16T18:47:45.464.102.000 to 2021-08-16T18:47:45.464.391.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.309515

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.5256297 to 51.5259187
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-16T18:48:03.773.906.000 to 2021-08-16T18:48:03.774.195.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 = 5, 32bit 10MHz counter = 6.855965700 corrected by 40bit 10MHz counter of 6.751869000 obtained at 1Hz counter of 5. Result: 5.104097044
--
   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-16T18:47:19.103.955.725
   Max 1st sample MIU time among all SL packets: 2021-08-16T18:48:03.774.054.725
   Min 1st sample XO time among all SL packets: 5.103956768
   Max 1st sample XO time among all SL packets: 49.774058279
   TM values from -266 to 229 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-16T18:47:19.103.955.725 (XO: 5.103956768 - 5.104262769, t=37.2 degC)  Rank: 00081
   TM values: Max =   195  Min =  -209  Ave =    -4.49  Std =    23.82
   Min TM value:-209 at an offset of 126.538 usec -> 2021-08-16T18:47:19.104.082.262 (XO: 5.104083306)
   Max TM value:195 at an offset of 127.300 usec -> 2021-08-16T18:47:19.104.083.025 (XO: 5.104084068)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 129.225 usec -> 2021-08-16T18:47:19.104.084.950 (XO: 5.104085993)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 113.725 usec -> 2021-08-16T18:47:19.104.069.450 (XO: 5.104070493)

 - Block number: 2 starting at 2021-08-16T18:47:40.434.073.725 (XO: 26.434075701 - 26.434381702, t=37.2 degC)  Rank: 00080
   TM values: Max =   229  Min =  -249  Ave =    -4.50  Std =    25.09
   Min TM value:-249 at an offset of 124.413 usec -> 2021-08-16T18:47:40.434.198.137 (XO: 26.434200114)
   Max TM value:229 at an offset of 127.025 usec -> 2021-08-16T18:47:40.434.200.750 (XO: 26.434202726)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 126.838 usec -> 2021-08-16T18:47:40.434.200.562 (XO: 26.434202539)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 124.275 usec -> 2021-08-16T18:47:40.434.198.000 (XO: 26.434199976)

 - Block number: 3 starting at 2021-08-16T18:47:45.463.961.725 (XO: 31.463964356 - 31.464270357, t=37.2 degC)  Rank: 00077
   TM values: Max =   213  Min =  -266  Ave =    -4.43  Std =    24.19
   Min TM value:-266 at an offset of 131.188 usec -> 2021-08-16T18:47:45.464.092.912 (XO: 31.464095544)
   Max TM value:213 at an offset of 133.813 usec -> 2021-08-16T18:47:45.464.095.537 (XO: 31.464098169)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 133.563 usec -> 2021-08-16T18:47:45.464.095.287 (XO: 31.464097919)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 131.075 usec -> 2021-08-16T18:47:45.464.092.800 (XO: 31.464095432)

 - Block number: 4 starting at 2021-08-16T18:48:03.773.765.725 (XO: 49.773769278 - 49.774075279, t=37.2 degC)  Rank: 00088
   TM values: Max =   222  Min =  -241  Ave =    -4.56  Std =    21.28
   Min TM value:-241 at an offset of 113.000 usec -> 2021-08-16T18:48:03.773.878.725 (XO: 49.773882279)
   Max TM value:222 at an offset of 115.700 usec -> 2021-08-16T18:48:03.773.881.425 (XO: 49.773884979)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 115.550 usec -> 2021-08-16T18:48:03.773.881.275 (XO: 49.773884829)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 112.863 usec -> 2021-08-16T18:48:03.773.878.587 (XO: 49.773882141)
