-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 28 10:17:32 2021 UTC
-- File 20210726_112808_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 7.120624 to 48.687803
-each separately from 7s to 48s and from 68286us to 859540us.
   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.738338 in 1 packets: 18
      12.208746 in 1 packets: 36
      13.618939 in 1 packets: 54
MIU packet time from 2021-07-26T11:28:18.120.624.000 to 2021-07-26T11:28:59.687.803.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.738338 in 1 packets: 18
      12.208746 in 1 packets: 36
      13.618939 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 8.9397040 to 49.9395671
   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, ...
      14.9999499 in 1 packets: 18
      12.9999565 in 1 packets: 36
      12.9999567 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 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 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 20210726_112808_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 9.0603295 to 9.0606185
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7382870  -- OK for SL --
   MIU time from 2021-07-26T11:28:18.120.624.000 to 2021-07-26T11:28:18.120.913.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.738338

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.7989055 to 24.7991945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2087030  -- OK for SL --
   MIU time from 2021-07-26T11:28:33.859.251.000 to 2021-07-26T11:28:33.859.540.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.208746

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.0078975 to 37.0081865
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6188950  -- OK for SL --
   MIU time from 2021-07-26T11:28:46.068.286.000 to 2021-07-26T11:28:46.068.575.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.618939

 - 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 50.6270815 to 50.6273705
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-26T11:28:59.687.514.000 to 2021-07-26T11:28:59.687.803.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 = 7, 32bit 10MHz counter = 9.060329500 corrected by 40bit 10MHz counter of 8.939704000 obtained at 1Hz counter of 7. Result: 7.120625898
--
   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-26T11:28:18.120.483.725
   Max 1st sample MIU time among all SL packets: 2021-07-26T11:28:59.687.662.725
   Min 1st sample XO time among all SL packets: 7.120485623
   Max 1st sample XO time among all SL packets: 48.687665463
   TM values from -260 to 227 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-26T11:28:18.120.483.725 (XO: 7.120485623 - 7.120791624, t=37.2 degC)  Rank: 00078
   TM values: Max =   213  Min =  -257  Ave =    -4.49  Std =    19.85
   Min TM value:-257 at an offset of 129.813 usec -> 2021-07-26T11:28:18.120.613.537 (XO: 7.120615436)
   Max TM value:213 at an offset of 127.500 usec -> 2021-07-26T11:28:18.120.611.225 (XO: 7.120613123)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 127.375 usec -> 2021-07-26T11:28:18.120.611.100 (XO: 7.120612998)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 129.650 usec -> 2021-07-26T11:28:18.120.613.375 (XO: 7.120615273)

 - Block number: 2 starting at 2021-07-26T11:28:33.859.110.725 (XO: 22.859114246 - 22.859420247, t=37.2 degC)  Rank: 00079
   TM values: Max =   208  Min =  -244  Ave =    -4.50  Std =    19.50
   Min TM value:-244 at an offset of 91.375 usec -> 2021-07-26T11:28:33.859.202.100 (XO: 22.859205621)
   Max TM value:208 at an offset of 93.963 usec -> 2021-07-26T11:28:33.859.204.687 (XO: 22.859208209)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 89.100 usec -> 2021-07-26T11:28:33.859.199.825 (XO: 22.859203346)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 91.225 usec -> 2021-07-26T11:28:33.859.201.950 (XO: 22.859205471)

 - Block number: 3 starting at 2021-07-26T11:28:46.068.145.725 (XO: 35.068147050 - 35.068453051, t=37.2 degC)  Rank: 00083
   TM values: Max =   205  Min =  -245  Ave =    -4.53  Std =    21.10
   Min TM value:-245 at an offset of 125.700 usec -> 2021-07-26T11:28:46.068.271.425 (XO: 35.068272750)
   Max TM value:205 at an offset of 125.388 usec -> 2021-07-26T11:28:46.068.271.112 (XO: 35.068272438)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 128.138 usec -> 2021-07-26T11:28:46.068.273.862 (XO: 35.068275188)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 125.500 usec -> 2021-07-26T11:28:46.068.271.225 (XO: 35.068272550)

 - Block number: 4 starting at 2021-07-26T11:28:59.687.373.725 (XO: 48.687376462 - 48.687682463, t=37.2 degC)  Rank: 00080
   TM values: Max =   227  Min =  -260  Ave =    -4.52  Std =    30.49
   Min TM value:-260 at an offset of 94.288 usec -> 2021-07-26T11:28:59.687.468.012 (XO: 48.687470750)
   Max TM value:227 at an offset of 93.988 usec -> 2021-07-26T11:28:59.687.467.712 (XO: 48.687470450)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 96.650 usec -> 2021-07-26T11:28:59.687.470.375 (XO: 48.687473112)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 94.100 usec -> 2021-07-26T11:28:59.687.467.825 (XO: 48.687470562)
