-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 13:10:28 2021 UTC
-- File 20210830_082845_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 14.908648 to 50.171825
-each separately from 14s to 50s and from 171536us to 908937us.
   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, ...
      5.650819 in 1 packets: 18
      16.891496 in 1 packets: 36
      12.719706 in 1 packets: 54
MIU packet time from 2021-08-30T08:29:02.908.648.000 to 2021-08-30T08:29:38.171.825.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, ...
      5.650819 in 1 packets: 18
      16.891496 in 1 packets: 36
      12.719706 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 15.8546994 to 51.8545787
   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, ...
      5.9999799 in 1 packets: 18
      16.9999429 in 1 packets: 36
      12.9999565 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20210830_082845_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:
      99 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.7633477 to 16.7636367
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.6507990  -- OK for SL --
   MIU time from 2021-08-30T08:29:02.908.648.000 to 2021-08-30T08:29:02.908.937.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.650819

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.4144357 to 22.4147247
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8914390  -- OK for SL --
   MIU time from 2021-08-30T08:29:08.559.756.000 to 2021-08-30T08:29:08.560.045.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.891496

 - 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:
      108 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.3061637 to 39.3064527
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7196630  -- OK for SL --
   MIU time from 2021-08-30T08:29:25.451.541.000 to 2021-08-30T08:29:25.451.830.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.719706

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.0261157 to 52.0264047
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T08:29:38.171.536.000 to 2021-08-30T08:29:38.171.825.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 = 14, 32bit 10MHz counter = 16.763347700 corrected by 40bit 10MHz counter of 15.854699400 obtained at 1Hz counter of 14. Result: 14.908651299
--
   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-30T08:29:02.908.507.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T08:29:38.171.684.725
   Min 1st sample XO time among all SL packets: 14.908511023
   Max 1st sample XO time among all SL packets: 50.171686292
   TM values from -466 to 272 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T08:29:02.908.507.725 (XO: 14.908511023 - 14.908817024, t=37.2 degC)  Rank: 00099
   TM values: Max =   272  Min =  -466  Ave =    -4.44  Std =    38.07
   Min TM value:-466 at an offset of 111.588 usec -> 2021-08-30T08:29:02.908.619.312 (XO: 14.908622611)
   Max TM value:272 at an offset of 117.363 usec -> 2021-08-30T08:29:02.908.625.087 (XO: 14.908628386)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 111.638 usec -> 2021-08-30T08:29:02.908.619.362 (XO: 14.908622661)
   Min dTM/dt [1/us]:-3.20e+03 at an offset of 111.525 usec -> 2021-08-30T08:29:02.908.619.250 (XO: 14.908622548)

 - Block number: 2 starting at 2021-08-30T08:29:08.559.615.725 (XO: 20.559618028 - 20.559924029, t=37.2 degC)  Rank: 00075
   TM values: Max =   248  Min =  -286  Ave =    -4.54  Std =    27.69
   Min TM value:-286 at an offset of 112.425 usec -> 2021-08-30T08:29:08.559.728.150 (XO: 20.559730453)
   Max TM value:248 at an offset of 99.588 usec -> 2021-08-30T08:29:08.559.715.312 (XO: 20.559717616)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 110.238 usec -> 2021-08-30T08:29:08.559.725.962 (XO: 20.559728266)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 99.700 usec -> 2021-08-30T08:29:08.559.715.425 (XO: 20.559717728)

 - Block number: 3 starting at 2021-08-30T08:29:25.451.400.725 (XO: 37.451402760 - 37.451708761, t=37.2 degC)  Rank: 00108
   TM values: Max =   258  Min =  -360  Ave =    -4.62  Std =    37.34
   Min TM value:-360 at an offset of 99.775 usec -> 2021-08-30T08:29:25.451.500.500 (XO: 37.451502535)
   Max TM value:258 at an offset of 100.725 usec -> 2021-08-30T08:29:25.451.501.450 (XO: 37.451503485)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 139.763 usec -> 2021-08-30T08:29:25.451.540.487 (XO: 37.451542523)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 149.038 usec -> 2021-08-30T08:29:25.451.549.763 (XO: 37.451551798)

 - Block number: 4 starting at 2021-08-30T08:29:38.171.395.725 (XO: 50.171397291 - 50.171703292, t=37.2 degC)  Rank: 00074
   TM values: Max =   215  Min =  -233  Ave =    -4.52  Std =    21.17
   Min TM value:-233 at an offset of 123.000 usec -> 2021-08-30T08:29:38.171.518.725 (XO: 50.171520291)
   Max TM value:215 at an offset of 125.638 usec -> 2021-08-30T08:29:38.171.521.362 (XO: 50.171522929)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 125.525 usec -> 2021-08-30T08:29:38.171.521.250 (XO: 50.171522816)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 122.850 usec -> 2021-08-30T08:29:38.171.518.575 (XO: 50.171520141)
