-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jan 12 09:08:38 2022 UTC
-- File 20210916_010610_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 1.801294 to 50.397954
-each separately from 1s to 50s and from 50060us to 878996us.
   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, ...
      13.248477 in 1 packets: 18
      21.828358 in 1 packets: 36
      13.518669 in 1 packets: 54
MIU packet time from 2021-09-16T01:06:14.801.294.000 to 2021-09-16T01:07:03.397.954.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, ...
      13.248477 in 1 packets: 18
      21.828358 in 1 packets: 36
      13.518669 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 2.8716664 to 51.8715032
   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, ...
      13.9999534 in 2 packets: 18, 54
      20.9999300 in 1 packets: 36
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210916_010610_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.6729614 to 3.6732504
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2484310  -- OK for SL --
   MIU time from 2021-09-16T01:06:14.801.294.000 to 2021-09-16T01:06:14.801.583.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.248477

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.9216814 to 16.9219704
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8282870  -- OK for SL --
   MIU time from 2021-09-16T01:06:28.050.060.000 to 2021-09-16T01:06:28.050.349.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.828358

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.7502574 to 38.7505464
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5186230  -- OK for SL --
   MIU time from 2021-09-16T01:06:49.878.707.000 to 2021-09-16T01:06:49.878.996.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.518669

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.2691694 to 52.2694584
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-16T01:07:03.397.665.000 to 2021-09-16T01:07:03.397.954.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 = 1, 32bit 10MHz counter = 3.672961400 corrected by 40bit 10MHz counter of 2.871666400 obtained at 1Hz counter of 1. Result: 1.801297644
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-16T01:06:14.801.153.725
   Max 1st sample MIU time among all SL packets: 2021-09-16T01:07:03.397.813.725
   Min 1st sample XO time among all SL packets: 1.801157369
   Max 1st sample XO time among all SL packets: 50.397816238
   TM values from -284 to 251 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-16T01:06:14.801.153.725 (XO: 1.801157369 - 1.801463370, t=37.2 degC)  Rank: 00076
   TM values: Max =   251  Min =  -281  Ave =    -4.41  Std =    29.74
   Min TM value:-281 at an offset of 148.088 usec -> 2021-09-16T01:06:14.801.301.812 (XO: 1.801305457)
   Max TM value:251 at an offset of 118.438 usec -> 2021-09-16T01:06:14.801.272.162 (XO: 1.801275807)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 123.063 usec -> 2021-09-16T01:06:14.801.276.787 (XO: 1.801280432)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 120.488 usec -> 2021-09-16T01:06:14.801.274.212 (XO: 1.801277857)

 - Block number: 2 starting at 2021-09-16T01:06:28.049.919.725 (XO: 15.049921490 - 15.050227491, t=37.2 degC)  Rank: 00073
   TM values: Max =   224  Min =  -248  Ave =    -4.50  Std =    18.52
   Min TM value:-248 at an offset of 120.075 usec -> 2021-09-16T01:06:28.050.039.800 (XO: 15.050041565)
   Max TM value:224 at an offset of 122.788 usec -> 2021-09-16T01:06:28.050.042.512 (XO: 15.050044278)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 122.675 usec -> 2021-09-16T01:06:28.050.042.400 (XO: 15.050044165)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 119.925 usec -> 2021-09-16T01:06:28.050.039.650 (XO: 15.050041415)

 - Block number: 3 starting at 2021-09-16T01:06:49.878.566.725 (XO: 36.878570224 - 36.878876225, t=37.2 degC)  Rank: 00073
   TM values: Max =   208  Min =  -261  Ave =    -4.52  Std =    25.39
   Min TM value:-261 at an offset of 104.663 usec -> 2021-09-16T01:06:49.878.671.387 (XO: 36.878674887)
   Max TM value:208 at an offset of 120.163 usec -> 2021-09-16T01:06:49.878.686.887 (XO: 36.878690387)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 119.988 usec -> 2021-09-16T01:06:49.878.686.712 (XO: 36.878690212)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 104.475 usec -> 2021-09-16T01:06:49.878.671.200 (XO: 36.878674700)

 - Block number: 4 starting at 2021-09-16T01:07:03.397.524.725 (XO: 50.397527237 - 50.397833238, t=37.2 degC)  Rank: 00081
   TM values: Max =   235  Min =  -284  Ave =    -4.47  Std =    26.04
   Min TM value:-284 at an offset of 119.750 usec -> 2021-09-16T01:07:03.397.644.475 (XO: 50.397646987)
   Max TM value:235 at an offset of 120.075 usec -> 2021-09-16T01:07:03.397.644.800 (XO: 50.397647312)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 119.875 usec -> 2021-09-16T01:07:03.397.644.600 (XO: 50.397647112)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 117.325 usec -> 2021-09-16T01:07:03.397.642.050 (XO: 50.397644562)
