-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 28 23:35:39 2021 UTC
-- File 20210727_083206_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 0.150329 to 46.119604
-each separately from 0s to 46s and from 39721us to 159626us.
   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, ...
      23.889103 in 1 packets: 18
      19.119327 in 1 packets: 36
      2.959689 in 1 packets: 54
MIU packet time from 2021-07-27T08:32:09.150.329.000 to 2021-07-27T08:32:55.119.604.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, ...
      23.889103 in 1 packets: 18
      19.119327 in 1 packets: 36
      2.959689 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 1.8817983 to 47.8816440
   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, ...
      23.9999196 in 1 packets: 18
      18.9999361 in 1 packets: 36
      2.9999900 in 1 packets: 54
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210727_083206_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.0321285 to 2.0324175
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8890230  -- OK for SL --
   MIU time from 2021-07-27T08:32:09.150.329.000 to 2021-07-27T08:32:09.150.618.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.889103

 - 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 25.9214405 to 25.9217295
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1192630  -- OK for SL --
   MIU time from 2021-07-27T08:32:33.039.721.000 to 2021-07-27T08:32:33.040.010.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.119327

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.0409925 to 45.0412815
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.9596790  -- OK for SL --
   MIU time from 2021-07-27T08:32:52.159.337.000 to 2021-07-27T08:32:52.159.626.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.959689

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.0009605 to 48.0012495
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-27T08:32:55.119.315.000 to 2021-07-27T08:32:55.119.604.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 = 0, 32bit 10MHz counter = 2.032128500 corrected by 40bit 10MHz counter of 1.881798300 obtained at 1Hz counter of 0. Result: 0.150330696
--
   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-07-27T08:32:09.150.188.725
   Max 1st sample MIU time among all SL packets: 2021-07-27T08:32:55.119.463.725
   Min 1st sample XO time among all SL packets: 0.150190421
   Max 1st sample XO time among all SL packets: 46.119465631
   TM values from -256 to 215 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-27T08:32:09.150.188.725 (XO: 0.150190421 - 0.150496422, t=37.2 degC)  Rank: 00074
   TM values: Max =   195  Min =  -216  Ave =    -4.46  Std =    26.76
   Min TM value:-216 at an offset of 121.938 usec -> 2021-07-27T08:32:09.150.310.662 (XO: 0.150312359)
   Max TM value:195 at an offset of 124.600 usec -> 2021-07-27T08:32:09.150.313.325 (XO: 0.150315021)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 124.438 usec -> 2021-07-27T08:32:09.150.313.162 (XO: 0.150314859)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 153.113 usec -> 2021-07-27T08:32:09.150.341.838 (XO: 0.150343534)

 - Block number: 2 starting at 2021-07-27T08:32:33.039.580.725 (XO: 24.039582456 - 24.039888457, t=37.2 degC)  Rank: 00079
   TM values: Max =   195  Min =  -253  Ave =    -4.33  Std =    19.30
   Min TM value:-253 at an offset of 109.713 usec -> 2021-07-27T08:32:33.039.690.437 (XO: 24.039692168)
   Max TM value:195 at an offset of 109.363 usec -> 2021-07-27T08:32:33.039.690.087 (XO: 24.039691818)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 112.075 usec -> 2021-07-27T08:32:33.039.692.800 (XO: 24.039694531)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 109.475 usec -> 2021-07-27T08:32:33.039.690.200 (XO: 24.039691931)

 - Block number: 3 starting at 2021-07-27T08:32:52.159.196.725 (XO: 43.159198750 - 43.159504751, t=37.2 degC)  Rank: 00079
   TM values: Max =   215  Min =  -247  Ave =    -4.48  Std =    27.78
   Min TM value:-247 at an offset of 164.601 usec -> 2021-07-27T08:32:52.159.361.325 (XO: 43.159363351)
   Max TM value:215 at an offset of 105.700 usec -> 2021-07-27T08:32:52.159.302.425 (XO: 43.159304451)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 108.400 usec -> 2021-07-27T08:32:52.159.305.125 (XO: 43.159307151)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 105.813 usec -> 2021-07-27T08:32:52.159.302.537 (XO: 43.159304563)

 - Block number: 4 starting at 2021-07-27T08:32:55.119.174.725 (XO: 46.119176630 - 46.119482631, t=37.2 degC)  Rank: 00075
   TM values: Max =   204  Min =  -256  Ave =    -4.37  Std =    29.66
   Min TM value:-256 at an offset of 177.676 usec -> 2021-07-27T08:32:55.119.352.400 (XO: 46.119354306)
   Max TM value:204 at an offset of 121.525 usec -> 2021-07-27T08:32:55.119.296.250 (XO: 46.119298156)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 121.338 usec -> 2021-07-27T08:32:55.119.296.062 (XO: 46.119297968)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 177.551 usec -> 2021-07-27T08:32:55.119.352.275 (XO: 46.119354181)
