-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Aug  2 00:36:04 2021 UTC
-- File 20210701_074254_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 14.386946 to 59.476387
-each separately from 14s to 59s and from 386946us to 877141us.
   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, ...
      14.489617 in 1 packets: 18
      5.729540 in 1 packets: 36
      24.869128 in 1 packets: 54
MIU packet time from 2021-07-01T07:43:07.386.946.000 to 2021-07-01T07:43:52.476.387.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, ...
      14.489617 in 1 packets: 18
      5.729540 in 1 packets: 36
      24.869128 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 15.8647150 to 60.8645547
   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, ...
      13.9999501 in 1 packets: 18
      5.9999787 in 1 packets: 36
      24.9999109 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210701_074254_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.2516612 to 16.2519502
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4895670  -- OK for SL --
   MIU time from 2021-07-01T07:43:07.386.946.000 to 2021-07-01T07:43:07.387.235.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.489617

 - 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 30.7415172 to 30.7418062
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.7295190  -- OK for SL --
   MIU time from 2021-07-01T07:43:21.876.852.000 to 2021-07-01T07:43:21.877.141.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.729540

 - 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 36.4713252 to 36.4716142
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8690390  -- OK for SL --
   MIU time from 2021-07-01T07:43:27.606.681.000 to 2021-07-01T07:43:27.606.970.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.869128

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.3406532 to 61.3409422
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T07:43:52.476.098.000 to 2021-07-01T07:43:52.476.387.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 = 14, 32bit 10MHz counter = 16.251661200 corrected by 40bit 10MHz counter of 15.864715000 obtained at 1Hz counter of 14. Result: 14.386947593
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-01T07:43:07.386.805.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T07:43:52.476.246.725
   Min 1st sample XO time among all SL packets: 14.386807318
   Max 1st sample XO time among all SL packets: 59.476248892
   TM values from -262 to 250 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T07:43:07.386.805.725 (XO: 14.386807318 - 14.387113319, t=35.6 degC)  Rank: 00084
   TM values: Max =   250  Min =  -254  Ave =    -4.38  Std =    20.58
   Min TM value:-254 at an offset of 119.813 usec -> 2021-07-01T07:43:07.386.925.537 (XO: 14.386927130)
   Max TM value:250 at an offset of 122.538 usec -> 2021-07-01T07:43:07.386.928.262 (XO: 14.386929855)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 122.413 usec -> 2021-07-01T07:43:07.386.928.137 (XO: 14.386929730)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 119.663 usec -> 2021-07-01T07:43:07.386.925.387 (XO: 14.386926980)

 - Block number: 2 starting at 2021-07-01T07:43:21.876.711.725 (XO: 28.876714894 - 28.877020895, t=35.6 degC)  Rank: 00078
   TM values: Max =   202  Min =  -243  Ave =    -4.24  Std =    24.47
   Min TM value:-243 at an offset of 118.438 usec -> 2021-07-01T07:43:21.876.830.162 (XO: 28.876833331)
   Max TM value:202 at an offset of 121.125 usec -> 2021-07-01T07:43:21.876.832.850 (XO: 28.876836019)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 121.000 usec -> 2021-07-01T07:43:21.876.832.725 (XO: 28.876835894)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 161.976 usec -> 2021-07-01T07:43:21.876.873.700 (XO: 28.876876869)

 - Block number: 3 starting at 2021-07-01T07:43:27.606.540.725 (XO: 34.606543309 - 34.606849310, t=35.6 degC)  Rank: 00077
   TM values: Max =   200  Min =  -259  Ave =    -4.42  Std =    21.56
   Min TM value:-259 at an offset of 108.675 usec -> 2021-07-01T07:43:27.606.649.400 (XO: 34.606651984)
   Max TM value:200 at an offset of 108.388 usec -> 2021-07-01T07:43:27.606.649.112 (XO: 34.606651696)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 111.213 usec -> 2021-07-01T07:43:27.606.651.937 (XO: 34.606654521)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 108.550 usec -> 2021-07-01T07:43:27.606.649.275 (XO: 34.606651859)

 - Block number: 4 starting at 2021-07-01T07:43:52.475.957.725 (XO: 59.475959891 - 59.476265892, t=35.6 degC)  Rank: 00080
   TM values: Max =   223  Min =  -262  Ave =    -4.35  Std =    25.03
   Min TM value:-262 at an offset of 121.038 usec -> 2021-07-01T07:43:52.476.078.762 (XO: 59.476080929)
   Max TM value:223 at an offset of 123.638 usec -> 2021-07-01T07:43:52.476.081.362 (XO: 59.476083529)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 123.513 usec -> 2021-07-01T07:43:52.476.081.237 (XO: 59.476083404)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 120.850 usec -> 2021-07-01T07:43:52.476.078.575 (XO: 59.476080741)
