-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Nov 20 02:28:20 2021 UTC
-- File 20210721_093913_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 4.895917 to 44.235747
-each separately from 4s to 44s and from 235458us to 896206us.
   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, ...
      14.839489 in 1 packets: 18
      24.499474 in 1 packets: 36
MIU packet time from 2021-07-21T09:39:20.895.917.000 to 2021-07-21T09:40:00.235.747.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, ...
      14.839489 in 1 packets: 18
      24.499474 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 5.9404685 to 45.9403358
   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, ...
      14.9999502 in 1 packets: 18
      24.9999171 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, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 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 20210721_093913_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 6.8363865 to 6.8366755
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8394390  -- OK for SL --
   MIU time from 2021-07-21T09:39:20.895.917.000 to 2021-07-21T09:39:20.896.206.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.839489

 - 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 21.6761145 to 21.6764035
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.4993910  -- OK for SL --
   MIU time from 2021-07-21T09:39:35.735.695.000 to 2021-07-21T09:39:35.735.984.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.499474

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.1757945 to 46.1760835
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-21T09:40:00.235.458.000 to 2021-07-21T09:40:00.235.747.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 = 4, 32bit 10MHz counter = 6.836386500 corrected by 40bit 10MHz counter of 5.940468500 obtained at 1Hz counter of 4. Result: 4.895921046
--
   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-21T09:39:20.895.776.725
   Max 1st sample MIU time among all SL packets: 2021-07-21T09:40:00.235.606.725
   Min 1st sample XO time among all SL packets: 4.895780771
   Max 1st sample XO time among all SL packets: 44.235608203
   TM values from -236 to 206 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-21T09:39:20.895.776.725 (XO: 4.895780771 - 4.896086772, t=37.2 degC)  Rank: 00077
   TM values: Max =   182  Min =  -220  Ave =    -4.40  Std =    18.80
   Min TM value:-220 at an offset of 108.738 usec -> 2021-07-21T09:39:20.895.885.462 (XO: 4.895889509)
   Max TM value:182 at an offset of 111.388 usec -> 2021-07-21T09:39:20.895.888.112 (XO: 4.895892159)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 111.213 usec -> 2021-07-21T09:39:20.895.887.937 (XO: 4.895891984)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 108.550 usec -> 2021-07-21T09:39:20.895.885.275 (XO: 4.895889321)

 - Block number: 2 starting at 2021-07-21T09:39:35.735.554.725 (XO: 19.735557952 - 19.735863953, t=37.2 degC)  Rank: 00079
   TM values: Max =   206  Min =  -236  Ave =    -4.53  Std =    18.29
   Min TM value:-236 at an offset of 121.913 usec -> 2021-07-21T09:39:35.735.676.637 (XO: 19.735679865)
   Max TM value:206 at an offset of 121.613 usec -> 2021-07-21T09:39:35.735.676.337 (XO: 19.735679565)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 124.288 usec -> 2021-07-21T09:39:35.735.679.012 (XO: 19.735682240)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 121.725 usec -> 2021-07-21T09:39:35.735.676.450 (XO: 19.735679678)

 - Block number: 3 starting at 2021-07-21T09:40:00.235.317.725 (XO: 44.235319202 - 44.235625203, t=37.2 degC)  Rank: 00077
   TM values: Max =   181  Min =  -235  Ave =    -4.49  Std =    21.96
   Min TM value:-235 at an offset of 121.050 usec -> 2021-07-21T09:40:00.235.438.775 (XO: 44.235440252)
   Max TM value:181 at an offset of 89.338 usec -> 2021-07-21T09:40:00.235.407.062 (XO: 44.235408539)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 123.450 usec -> 2021-07-21T09:40:00.235.441.175 (XO: 44.235442652)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 120.825 usec -> 2021-07-21T09:40:00.235.438.550 (XO: 44.235440027)
