-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  7 17:20:15 2022 UTC
-- File 20210908_215050_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.365840 to 58.608242
-each separately from 5s to 58s and from 166503us to 946615us.
   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.580197 in 1 packets: 18
      4.219888 in 1 packets: 36
      27.441161 in 1 packets: 54
MIU packet time from 2021-09-08T21:50:58.365.840.000 to 2021-09-08T21:51:51.608.242.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.580197 in 1 packets: 18
      4.219888 in 1 packets: 36
      27.441161 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.7027120 to 59.7025352
   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.9999298 in 1 packets: 18
      4.9999834 in 1 packets: 36
      26.9999100 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 36 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: 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210908_215050_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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.0685528 to 7.0688418
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5801270  -- OK for SL --
   MIU time from 2021-09-08T21:50:58.365.840.000 to 2021-09-08T21:50:58.366.129.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.580197

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.6489688 to 28.6492578
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.2198710  -- OK for SL --
   MIU time from 2021-09-08T21:51:19.946.326.000 to 2021-09-08T21:51:19.946.615.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.219888

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8691288 to 32.8694178
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.4410710  -- OK for SL --
   MIU time from 2021-09-08T21:51:24.166.503.000 to 2021-09-08T21:51:24.166.792.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.441161

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.3104888 to 60.3107778
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-08T21:51:51.607.953.000 to 2021-09-08T21:51:51.608.242.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 = 7.068552800 corrected by 40bit 10MHz counter of 6.702712000 obtained at 1Hz counter of 5. Result: 5.365842044
--
   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-09-08T21:50:58.365.699.725
   Max 1st sample MIU time among all SL packets: 2021-09-08T21:51:51.608.101.725
   Min 1st sample XO time among all SL packets: 5.365701768
   Max 1st sample XO time among all SL packets: 58.608104332
   TM values from -323 to 250 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-08T21:50:58.365.699.725 (XO: 5.365701768 - 5.366007769, t=37.2 degC)  Rank: 00069
   TM values: Max =   216  Min =  -244  Ave =    -4.42  Std =    26.55
   Min TM value:-244 at an offset of 82.363 usec -> 2021-09-08T21:50:58.365.782.087 (XO: 5.365784131)
   Max TM value:216 at an offset of 82.088 usec -> 2021-09-08T21:50:58.365.781.812 (XO: 5.365783856)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 84.825 usec -> 2021-09-08T21:50:58.365.784.550 (XO: 5.365786594)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 82.238 usec -> 2021-09-08T21:50:58.365.781.962 (XO: 5.365784006)

 - Block number: 2 starting at 2021-09-08T21:51:19.946.185.725 (XO: 26.946189847 - 26.946495848, t=37.2 degC)  Rank: 00068
   TM values: Max =   250  Min =  -323  Ave =    -4.58  Std =    37.92
   Min TM value:-323 at an offset of 153.076 usec -> 2021-09-08T21:51:19.946.338.800 (XO: 26.946342923)
   Max TM value:250 at an offset of 165.563 usec -> 2021-09-08T21:51:19.946.351.288 (XO: 26.946355410)
   Max dTM/dt [1/us]:2.61e+03 at an offset of 168.213 usec -> 2021-09-08T21:51:19.946.353.938 (XO: 26.946358060)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 123.650 usec -> 2021-09-08T21:51:19.946.309.375 (XO: 26.946313498)

 - Block number: 3 starting at 2021-09-08T21:51:24.166.362.725 (XO: 31.166363891 - 31.166669892, t=37.2 degC)  Rank: 00069
   TM values: Max =   203  Min =  -226  Ave =    -4.53  Std =    23.35
   Min TM value:-226 at an offset of 105.163 usec -> 2021-09-08T21:51:24.166.467.887 (XO: 31.166469053)
   Max TM value:203 at an offset of 120.088 usec -> 2021-09-08T21:51:24.166.482.812 (XO: 31.166483979)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 119.913 usec -> 2021-09-08T21:51:24.166.482.637 (XO: 31.166483804)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 104.975 usec -> 2021-09-08T21:51:24.166.467.700 (XO: 31.166468866)

 - Block number: 4 starting at 2021-09-08T21:51:51.607.812.725 (XO: 58.607815331 - 58.608121332, t=37.2 degC)  Rank: 00070
   TM values: Max =   227  Min =  -261  Ave =    -4.59  Std =    33.38
   Min TM value:-261 at an offset of 118.238 usec -> 2021-09-08T21:51:51.607.930.962 (XO: 58.607933569)
   Max TM value:227 at an offset of 120.838 usec -> 2021-09-08T21:51:51.607.933.562 (XO: 58.607936169)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 120.625 usec -> 2021-09-08T21:51:51.607.933.350 (XO: 58.607935956)
   Min dTM/dt [1/us]:-2.77e+03 at an offset of 118.100 usec -> 2021-09-08T21:51:51.607.930.825 (XO: 58.607933431)
