-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 13:55:14 2021 UTC
-- File 20210815_010730_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 2.160917 to 54.191986
-each separately from 2s to 54s and from 160917us to 672620us.
   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, ...
      21.511125 in 1 packets: 18
      14.654401 in 1 packets: 36
      15.864387 in 1 packets: 54
MIU packet time from 2021-08-15T01:07:35.160.917.000 to 2021-08-15T01:08:27.191.986.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, ...
      21.511125 in 1 packets: 18
      14.654401 in 1 packets: 36
      15.864387 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 3.8960551 to 55.8958831
   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, ...
      20.9999305 in 1 packets: 18
      14.9999504 in 1 packets: 36
      15.9999471 in 1 packets: 54
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, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210815_010730_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.0569735 to 4.0572625
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5110550  -- OK for SL --
   MIU time from 2021-08-15T01:07:35.160.917.000 to 2021-08-15T01:07:35.161.206.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.511125

 - 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.5683175 to 25.5686065
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6543510  -- OK for SL --
   MIU time from 2021-08-15T01:07:56.672.331.000 to 2021-08-15T01:07:56.672.620.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.654401

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.2229575 to 40.2232465
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8643350  -- OK for SL --
   MIU time from 2021-08-15T01:08:11.327.021.000 to 2021-08-15T01:08:11.327.310.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.864387

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.0875815 to 56.0878705
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-15T01:08:27.191.697.000 to 2021-08-15T01:08:27.191.986.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 = 2, 32bit 10MHz counter = 4.056973500 corrected by 40bit 10MHz counter of 3.896055100 obtained at 1Hz counter of 2. Result: 2.160918915
--
   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-15T01:07:35.160.776.725
   Max 1st sample MIU time among all SL packets: 2021-08-15T01:08:27.191.845.725
   Min 1st sample XO time among all SL packets: 2.160778639
   Max 1st sample XO time among all SL packets: 54.191847758
   TM values from -266 to 215 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-15T01:07:35.160.776.725 (XO: 2.160778639 - 2.161084640, t=37.2 degC)  Rank: 00081
   TM values: Max =   199  Min =  -266  Ave =    -4.36  Std =    21.39
   Min TM value:-266 at an offset of 106.688 usec -> 2021-08-15T01:07:35.160.883.412 (XO: 2.160885327)
   Max TM value:199 at an offset of 106.400 usec -> 2021-08-15T01:07:35.160.883.125 (XO: 2.160885040)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 109.100 usec -> 2021-08-15T01:07:35.160.885.825 (XO: 2.160887740)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 106.475 usec -> 2021-08-15T01:07:35.160.883.200 (XO: 2.160885115)

 - Block number: 2 starting at 2021-08-15T01:07:56.672.190.725 (XO: 23.672193843 - 23.672499844, t=37.2 degC)  Rank: 00078
   TM values: Max =   215  Min =  -257  Ave =    -4.59  Std =    19.78
   Min TM value:-257 at an offset of 107.300 usec -> 2021-08-15T01:07:56.672.298.025 (XO: 23.672301144)
   Max TM value:215 at an offset of 109.963 usec -> 2021-08-15T01:07:56.672.300.687 (XO: 23.672303806)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 109.788 usec -> 2021-08-15T01:07:56.672.300.512 (XO: 23.672303631)
   Min dTM/dt [1/us]:-1.70e+03 at an offset of 107.113 usec -> 2021-08-15T01:07:56.672.297.837 (XO: 23.672300956)

 - Block number: 3 starting at 2021-08-15T01:08:11.326.880.725 (XO: 38.326882304 - 38.327188305, t=37.2 degC)  Rank: 00081
   TM values: Max =   207  Min =  -224  Ave =    -4.47  Std =    21.90
   Min TM value:-224 at an offset of 103.038 usec -> 2021-08-15T01:08:11.326.983.762 (XO: 38.326985342)
   Max TM value:207 at an offset of 118.600 usec -> 2021-08-15T01:08:11.326.999.325 (XO: 38.327000904)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 118.463 usec -> 2021-08-15T01:08:11.326.999.187 (XO: 38.327000767)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 102.925 usec -> 2021-08-15T01:08:11.326.983.650 (XO: 38.326985229)

 - Block number: 4 starting at 2021-08-15T01:08:27.191.556.725 (XO: 54.191558757 - 54.191864758, t=37.2 degC)  Rank: 00078
   TM values: Max =   208  Min =  -252  Ave =    -4.55  Std =    19.29
   Min TM value:-252 at an offset of 107.800 usec -> 2021-08-15T01:08:27.191.664.525 (XO: 54.191666557)
   Max TM value:208 at an offset of 107.525 usec -> 2021-08-15T01:08:27.191.664.250 (XO: 54.191666282)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 105.363 usec -> 2021-08-15T01:08:27.191.662.087 (XO: 54.191664120)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 107.650 usec -> 2021-08-15T01:08:27.191.664.375 (XO: 54.191666407)
