-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan 14 04:07:32 2022 UTC
-- File 20210918_013714_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.710481 to 52.070766
-each separately from 5s to 52s and from 70477us to 710770us.
   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, ...
      10.719683 in 1 packets: 18
      19.739730 in 1 packets: 36
      15.899716 in 1 packets: 54
MIU packet time from 2021-09-18T01:37:22.710.481.000 to 2021-09-18T01:38:09.070.766.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, ...
      10.719683 in 1 packets: 18
      19.739730 in 1 packets: 36
      15.899716 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.7919253 to 53.7917693
   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, ...
      10.9999635 in 1 packets: 18
      19.9999335 in 1 packets: 36
      15.9999470 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, ...
      03 -> 51.1 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 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 20210918_013714_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5024070 to 7.5026960
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.7196470  -- OK for SL --
   MIU time from 2021-09-18T01:37:22.710.481.000 to 2021-09-18T01:37:22.710.770.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.719683

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.2223430 to 18.2226320
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7396630  -- OK for SL --
   MIU time from 2021-09-18T01:37:33.430.453.000 to 2021-09-18T01:37:33.430.742.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.739730

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9622950 to 37.9625840
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8996630  -- OK for SL --
   MIU time from 2021-09-18T01:37:53.170.472.000 to 2021-09-18T01:37:53.170.761.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.899716

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.8622470 to 53.8625360
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-18T01:38:09.070.477.000 to 2021-09-18T01:38:09.070.766.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.502407000 corrected by 40bit 10MHz counter of 6.791925300 obtained at 1Hz counter of 5. Result: 5.710484045
--
   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-18T01:37:22.710.340.725
   Max 1st sample MIU time among all SL packets: 2021-09-18T01:38:09.070.625.725
   Min 1st sample XO time among all SL packets: 5.710343769
   Max 1st sample XO time among all SL packets: 52.070626658
   TM values from -239 to 193 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-18T01:37:22.710.340.725 (XO: 5.710343769 - 5.710649770, t=37.2 degC)  Rank: 00071
   TM values: Max =   175  Min =  -207  Ave =    -4.64  Std =    18.58
   Min TM value:-207 at an offset of 126.738 usec -> 2021-09-18T01:37:22.710.467.462 (XO: 5.710470507)
   Max TM value:175 at an offset of 129.288 usec -> 2021-09-18T01:37:22.710.470.012 (XO: 5.710473057)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 129.100 usec -> 2021-09-18T01:37:22.710.469.825 (XO: 5.710472870)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 126.488 usec -> 2021-09-18T01:37:22.710.467.212 (XO: 5.710470257)

 - Block number: 2 starting at 2021-09-18T01:37:33.430.312.725 (XO: 16.430315388 - 16.430621389, t=37.2 degC)  Rank: 00072
   TM values: Max =   193  Min =  -239  Ave =    -4.54  Std =    26.11
   Min TM value:-239 at an offset of 157.551 usec -> 2021-09-18T01:37:33.430.470.275 (XO: 16.430472939)
   Max TM value:193 at an offset of 127.725 usec -> 2021-09-18T01:37:33.430.440.450 (XO: 16.430443114)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 173.251 usec -> 2021-09-18T01:37:33.430.485.975 (XO: 16.430488639)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 129.675 usec -> 2021-09-18T01:37:33.430.442.400 (XO: 16.430445064)

 - Block number: 3 starting at 2021-09-18T01:37:53.170.331.725 (XO: 36.170332987 - 36.170638988, t=37.2 degC)  Rank: 00079
   TM values: Max =   180  Min =  -231  Ave =    -4.58  Std =    17.43
   Min TM value:-231 at an offset of 114.963 usec -> 2021-09-18T01:37:53.170.446.687 (XO: 36.170447950)
   Max TM value:180 at an offset of 114.675 usec -> 2021-09-18T01:37:53.170.446.400 (XO: 36.170447662)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 117.338 usec -> 2021-09-18T01:37:53.170.449.062 (XO: 36.170450325)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 114.775 usec -> 2021-09-18T01:37:53.170.446.500 (XO: 36.170447762)

 - Block number: 4 starting at 2021-09-18T01:38:09.070.336.725 (XO: 52.070337657 - 52.070643658, t=37.2 degC)  Rank: 00077
   TM values: Max =   168  Min =  -226  Ave =    -4.53  Std =    19.86
   Min TM value:-226 at an offset of 112.650 usec -> 2021-09-18T01:38:09.070.449.375 (XO: 52.070450307)
   Max TM value:168 at an offset of 115.300 usec -> 2021-09-18T01:38:09.070.452.025 (XO: 52.070452957)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 115.050 usec -> 2021-09-18T01:38:09.070.451.775 (XO: 52.070452707)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 112.463 usec -> 2021-09-18T01:38:09.070.449.187 (XO: 52.070450120)
