-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 20 00:56:16 2021 UTC
-- File 20210818_021906_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 13.752899 to 53.643143
-each separately from 13s to 53s and from 642854us to 753188us.
   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, ...
      1.999685 in 1 packets: 18
      23.919918 in 1 packets: 36
      13.969485 in 1 packets: 54
MIU packet time from 2021-08-18T02:19:22.752.899.000 to 2021-08-18T02:20:02.643.143.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, ...
      1.999685 in 1 packets: 18
      23.919918 in 1 packets: 36
      13.969485 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 14.9393703 to 54.9392384
   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, ...
      1.9999934 in 1 packets: 18
      23.9999208 in 1 packets: 36
      13.9999539 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210818_021906_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.6922697 to 15.6925587
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.9996790  -- OK for SL --
   MIU time from 2021-08-18T02:19:22.752.899.000 to 2021-08-18T02:19:22.753.188.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.999685

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.6922377 to 17.6925267
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9198390  -- OK for SL --
   MIU time from 2021-08-18T02:19:24.752.873.000 to 2021-08-18T02:19:24.753.162.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.919918

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.6123657 to 41.6126547
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9694390  -- OK for SL --
   MIU time from 2021-08-18T02:19:48.673.080.000 to 2021-08-18T02:19:48.673.369.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.969485

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.5820937 to 55.5823827
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T02:20:02.642.854.000 to 2021-08-18T02:20:02.643.143.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 = 13, 32bit 10MHz counter = 15.692269700 corrected by 40bit 10MHz counter of 14.939370300 obtained at 1Hz counter of 13. Result: 13.752901885
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-18T02:19:22.752.758.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T02:20:02.643.002.725
   Min 1st sample XO time among all SL packets: 13.752761609
   Max 1st sample XO time among all SL packets: 53.643006083
   TM values from -251 to 211 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T02:19:22.752.758.725 (XO: 13.752761609 - 13.753067610, t=37.2 degC)  Rank: 00087
   TM values: Max =   211  Min =  -243  Ave =    -4.46  Std =    21.26
   Min TM value:-243 at an offset of 117.575 usec -> 2021-08-18T02:19:22.752.876.300 (XO: 13.752879185)
   Max TM value:211 at an offset of 117.250 usec -> 2021-08-18T02:19:22.752.875.975 (XO: 13.752878860)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 119.975 usec -> 2021-08-18T02:19:22.752.878.700 (XO: 13.752881585)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 117.350 usec -> 2021-08-18T02:19:22.752.876.075 (XO: 13.752878960)

 - Block number: 2 starting at 2021-08-18T02:19:24.752.732.725 (XO: 15.752736209 - 15.753042210, t=37.2 degC)  Rank: 00083
   TM values: Max =   190  Min =  -203  Ave =    -4.53  Std =    20.45
   Min TM value:-203 at an offset of 104.988 usec -> 2021-08-18T02:19:24.752.837.712 (XO: 15.752841197)
   Max TM value:190 at an offset of 107.663 usec -> 2021-08-18T02:19:24.752.840.387 (XO: 15.752843872)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 107.513 usec -> 2021-08-18T02:19:24.752.840.237 (XO: 15.752843722)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 104.750 usec -> 2021-08-18T02:19:24.752.837.475 (XO: 15.752840959)

 - Block number: 3 starting at 2021-08-18T02:19:48.672.939.725 (XO: 39.672943078 - 39.673249079, t=37.2 degC)  Rank: 00080
   TM values: Max =   206  Min =  -206  Ave =    -4.45  Std =    17.93
   Min TM value:-206 at an offset of 117.775 usec -> 2021-08-18T02:19:48.673.057.500 (XO: 39.673060854)
   Max TM value:206 at an offset of 120.513 usec -> 2021-08-18T02:19:48.673.060.237 (XO: 39.673063591)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 120.363 usec -> 2021-08-18T02:19:48.673.060.087 (XO: 39.673063441)
   Min dTM/dt [1/us]:-1.46e+03 at an offset of 104.950 usec -> 2021-08-18T02:19:48.673.044.675 (XO: 39.673048029)

 - Block number: 4 starting at 2021-08-18T02:20:02.642.713.725 (XO: 53.642717082 - 53.643023083, t=37.2 degC)  Rank: 00079
   TM values: Max =   187  Min =  -251  Ave =    -4.42  Std =    20.67
   Min TM value:-251 at an offset of 120.525 usec -> 2021-08-18T02:20:02.642.834.250 (XO: 53.642837607)
   Max TM value:187 at an offset of 123.150 usec -> 2021-08-18T02:20:02.642.836.875 (XO: 53.642840232)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 122.975 usec -> 2021-08-18T02:20:02.642.836.700 (XO: 53.642840057)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 120.375 usec -> 2021-08-18T02:20:02.642.834.100 (XO: 53.642837457)
