-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Oct 30 02:56:23 2021 UTC
-- File 20210704_081830_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 5.575171 to 30.755582
-each separately from 5s to 30s and from 575171us to 995547us.
   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, ...
      24.419798 in 1 packets: 18
      0.759746 in 1 packets: 36
MIU packet time from 2021-07-04T08:18:34.575.171.000 to 2021-07-04T08:18:59.755.582.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, ...
      24.419798 in 1 packets: 18
      0.759746 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 6.8677010 to 31.8676109
   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, ...
      23.9999135 in 1 packets: 18
      0.9999964 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 20210704_081830_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.4428720 to 7.4431610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4197110  -- OK for SL --
   MIU time from 2021-07-04T08:18:34.575.171.000 to 2021-07-04T08:18:34.575.460.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.419798

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.8628720 to 31.8631610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.7597430  -- OK for SL --
   MIU time from 2021-07-04T08:18:58.995.258.000 to 2021-07-04T08:18:58.995.547.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 0.759746

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.6229040 to 32.6231930
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-04T08:18:59.755.293.000 to 2021-07-04T08:18:59.755.582.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 = 5, 32bit 10MHz counter = 7.442872000 corrected by 40bit 10MHz counter of 6.867701000 obtained at 1Hz counter of 5. Result: 5.575173071
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-04T08:18:34.575.030.725
   Max 1st sample MIU time among all SL packets: 2021-07-04T08:18:59.755.441.725
   Min 1st sample XO time among all SL packets: 5.575032795
   Max 1st sample XO time among all SL packets: 30.755444545
   TM values from -250 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-04T08:18:34.575.030.725 (XO: 5.575032795 - 5.575338796, t=35.6 degC)  Rank: 00077
   TM values: Max =   211  Min =  -250  Ave =    -4.48  Std =    22.95
   Min TM value:-250 at an offset of 129.963 usec -> 2021-07-04T08:18:34.575.160.687 (XO: 5.575162758)
   Max TM value:211 at an offset of 132.625 usec -> 2021-07-04T08:18:34.575.163.350 (XO: 5.575165421)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 132.513 usec -> 2021-07-04T08:18:34.575.163.237 (XO: 5.575165308)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 129.850 usec -> 2021-07-04T08:18:34.575.160.575 (XO: 5.575162646)

 - Block number: 2 starting at 2021-07-04T08:18:58.995.117.725 (XO: 29.995120807 - 29.995426809, t=35.6 degC)  Rank: 00079
   TM values: Max =   225  Min =  -239  Ave =    -4.40  Std =    24.37
   Min TM value:-239 at an offset of 185.976 usec -> 2021-07-04T08:18:58.995.303.700 (XO: 29.995306783)
   Max TM value:225 at an offset of 188.613 usec -> 2021-07-04T08:18:58.995.306.338 (XO: 29.995309421)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 129.000 usec -> 2021-07-04T08:18:58.995.246.725 (XO: 29.995249808)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 185.801 usec -> 2021-07-04T08:18:58.995.303.525 (XO: 29.995306608)

 - Block number: 3 starting at 2021-07-04T08:18:59.755.152.725 (XO: 30.755155544 - 30.755461545, t=35.6 degC)  Rank: 00075
   TM values: Max =   244  Min =  -241  Ave =    -4.50  Std =    26.39
   Min TM value:-241 at an offset of 161.751 usec -> 2021-07-04T08:18:59.755.314.475 (XO: 30.755317294)
   Max TM value:244 at an offset of 120.225 usec -> 2021-07-04T08:18:59.755.272.950 (XO: 30.755275769)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 120.088 usec -> 2021-07-04T08:18:59.755.272.812 (XO: 30.755275631)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 117.350 usec -> 2021-07-04T08:18:59.755.270.075 (XO: 30.755272894)
