-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  7 15:21:15 2022 UTC
-- File 20210908_171347_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 12.003918 to 56.327891
-each separately from 12s to 56s and from 3918us to 865092us.
   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, ...
      11.860596 in 1 packets: 18
      9.180416 in 1 packets: 36
      23.281805 in 1 packets: 54
MIU packet time from 2021-09-08T17:14:02.003.918.000 to 2021-09-08T17:14:46.327.891.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, ...
      11.860596 in 1 packets: 18
      9.180416 in 1 packets: 36
      23.281805 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 13.9144257 to 57.9142784
   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.9999631 in 1 packets: 18
      9.9999665 in 1 packets: 36
      22.9999231 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 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 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 20210908_171347_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9183449 to 13.9186339
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8605590  -- OK for SL --
   MIU time from 2021-09-08T17:14:02.003.918.000 to 2021-09-08T17:14:02.004.207.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.860596

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.7791929 to 25.7794819
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1803830  -- OK for SL --
   MIU time from 2021-09-08T17:14:13.864.803.000 to 2021-09-08T17:14:13.865.092.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.180416

 - 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 34.9598649 to 34.9601539
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.2817270  -- OK for SL --
   MIU time from 2021-09-08T17:14:23.045.508.000 to 2021-09-08T17:14:23.045.797.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.281805

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.2418809 to 58.2421699
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-08T17:14:46.327.602.000 to 2021-09-08T17:14:46.327.891.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 = 12, 32bit 10MHz counter = 13.918344900 corrected by 40bit 10MHz counter of 13.914425700 obtained at 1Hz counter of 12. Result: 12.003919213
--
   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-08T17:14:02.003.777.725
   Max 1st sample MIU time among all SL packets: 2021-09-08T17:14:46.327.750.725
   Min 1st sample XO time among all SL packets: 12.003778938
   Max 1st sample XO time among all SL packets: 56.327752307
   TM values from -264 to 234 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-08T17:14:02.003.777.725 (XO: 12.003778938 - 12.004084939, t=37.2 degC)  Rank: 00083
   TM values: Max =   227  Min =  -258  Ave =    -4.58  Std =    22.86
   Min TM value:-258 at an offset of 106.263 usec -> 2021-09-08T17:14:02.003.883.987 (XO: 12.003885201)
   Max TM value:227 at an offset of 108.850 usec -> 2021-09-08T17:14:02.003.886.575 (XO: 12.003887788)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 108.638 usec -> 2021-09-08T17:14:02.003.886.362 (XO: 12.003887576)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 106.100 usec -> 2021-09-08T17:14:02.003.883.825 (XO: 12.003885038)

 - Block number: 2 starting at 2021-09-08T17:14:13.864.662.725 (XO: 23.864666678 - 23.864972679, t=37.2 degC)  Rank: 00078
   TM values: Max =   202  Min =  -218  Ave =    -4.56  Std =    22.01
   Min TM value:-218 at an offset of 118.875 usec -> 2021-09-08T17:14:13.864.781.600 (XO: 23.864785554)
   Max TM value:202 at an offset of 121.550 usec -> 2021-09-08T17:14:13.864.784.275 (XO: 23.864788229)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 121.425 usec -> 2021-09-08T17:14:13.864.784.150 (XO: 23.864788104)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 107.350 usec -> 2021-09-08T17:14:13.864.770.075 (XO: 23.864774029)

 - Block number: 3 starting at 2021-09-08T17:14:23.045.367.725 (XO: 33.045369475 - 33.045675476, t=37.2 degC)  Rank: 00083
   TM values: Max =   227  Min =  -264  Ave =    -4.50  Std =    21.96
   Min TM value:-264 at an offset of 122.225 usec -> 2021-09-08T17:14:23.045.489.950 (XO: 33.045491700)
   Max TM value:227 at an offset of 122.463 usec -> 2021-09-08T17:14:23.045.490.187 (XO: 33.045491938)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 122.300 usec -> 2021-09-08T17:14:23.045.490.025 (XO: 33.045491775)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 119.788 usec -> 2021-09-08T17:14:23.045.487.512 (XO: 33.045489263)

 - Block number: 4 starting at 2021-09-08T17:14:46.327.461.725 (XO: 56.327463306 - 56.327769307, t=37.2 degC)  Rank: 00076
   TM values: Max =   234  Min =  -245  Ave =    -4.58  Std =    22.89
   Min TM value:-245 at an offset of 88.800 usec -> 2021-09-08T17:14:46.327.550.525 (XO: 56.327552106)
   Max TM value:234 at an offset of 120.563 usec -> 2021-09-08T17:14:46.327.582.287 (XO: 56.327583869)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 120.413 usec -> 2021-09-08T17:14:46.327.582.137 (XO: 56.327583719)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 123.213 usec -> 2021-09-08T17:14:46.327.584.937 (XO: 56.327586519)
