-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 14 18:14:56 2021 UTC
-- File 20210514_180714_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.227677 to 44.300655
-each separately from 14s to 44s and from 227677us to 795085us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.566830 in 1 packets: 18
      21.505281 in 1 packets: 36
MIU packet time from 2021-05-14T18:07:31.227.677.000 to 2021-05-14T18:08:01.300.655.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.566830 in 1 packets: 18
      21.505281 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.5960137 to 45.5959013
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.9999700 in 1 packets: 18
      21.9999176 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets (all packets)
Temperature XO: 
      BF -> 34.0 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210514_180714_1227.dat, 3 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:
      46 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.8236916 to 15.8239806
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.5667990  -- OK for SL --
   MIU time from 2021-05-14T18:07:31.227.677.000 to 2021-05-14T18:07:31.227.966.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.566830

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.3907796 to 24.3910686
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5051990  -- OK for SL --
   MIU time from 2021-05-14T18:07:39.794.796.000 to 2021-05-14T18:07:39.795.085.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.505281

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.8962676 to 45.8965566
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-05-14T18:08:01.300.366.000 to 2021-05-14T18:08:01.300.655.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 15.823691600 corrected by 40bit 10MHz counter of 15.596013700 obtained at 1Hz counter of 14. Result: 14.227678742
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2021-05-14T18:07:31.227.536.725
   Max 1st sample MIU time among all SL packets: 2021-05-14T18:08:01.300.514.725
   Min 1st sample XO time among all SL packets: 14.227538467
   Max 1st sample XO time among all SL packets: 44.300516137
   TM values from -228 to 226 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-05-14T18:07:31.227.536.725 (XO: 14.227538467 - 14.227844468, t=34.0 degC)  Rank: 00046
   TM values: Max =   187  Min =  -193  Ave =    -4.55  Std =    62.00
   Min TM value:-193 at an offset of 120.300 usec -> 2021-05-14T18:07:31.227.657.025 (XO: 14.227658767)
   Max TM value:187 at an offset of 117.775 usec -> 2021-05-14T18:07:31.227.654.500 (XO: 14.227656242)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 172.651 usec -> 2021-05-14T18:07:31.227.709.375 (XO: 14.227711118)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 159.463 usec -> 2021-05-14T18:07:31.227.696.188 (XO: 14.227697930)

 - Block number: 2 starting at 2021-05-14T18:07:39.794.655.725 (XO: 22.794658645 - 22.794964646, t=34.0 degC)  Rank: 00055
   TM values: Max =   226  Min =  -228  Ave =    -4.44  Std =    79.06
   Min TM value:-228 at an offset of 112.238 usec -> 2021-05-14T18:07:39.794.767.962 (XO: 22.794770883)
   Max TM value:226 at an offset of 131.876 usec -> 2021-05-14T18:07:39.794.787.600 (XO: 22.794790520)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 132.338 usec -> 2021-05-14T18:07:39.794.788.063 (XO: 22.794790983)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 305.989 usec -> 2021-05-14T18:07:39.794.961.713 (XO: 22.794964633)

 - Block number: 3 starting at 2021-05-14T18:08:01.300.225.725 (XO: 44.300227136 - 44.300533137, t=34.0 degC)  Rank: 00053
   TM values: Max =   183  Min =  -196  Ave =    -4.47  Std =    59.34
   Min TM value:-196 at an offset of 107.425 usec -> 2021-05-14T18:08:01.300.333.150 (XO: 44.300334561)
   Max TM value:183 at an offset of 179.751 usec -> 2021-05-14T18:08:01.300.405.475 (XO: 44.300406887)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 179.313 usec -> 2021-05-14T18:08:01.300.405.038 (XO: 44.300406449)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 107.825 usec -> 2021-05-14T18:08:01.300.333.550 (XO: 44.300334961)
