-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec  7 07:57:31 2021 UTC
-- File 20210804_193005_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.082531 to 56.853160
-each separately from 2s to 56s and from 82531us to 853160us.
   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, ...
      19.159886 in 1 packets: 18
      18.609756 in 1 packets: 36
      16.999831 in 1 packets: 54
MIU packet time from 2021-08-04T19:30:10.082.531.000 to 2021-08-04T19:31:04.853.160.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, ...
      19.159886 in 1 packets: 18
      18.609756 in 1 packets: 36
      16.999831 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.7419577 to 57.7417779
   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, ...
      18.9999367 in 1 packets: 18
      17.9999400 in 1 packets: 36
      16.9999435 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 36 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 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210804_193005_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.8244898 to 3.8247788
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1598230  -- OK for SL --
   MIU time from 2021-08-04T19:30:10.082.531.000 to 2021-08-04T19:30:10.082.820.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.159886

 - 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 22.9846018 to 22.9848908
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6096950  -- OK for SL --
   MIU time from 2021-08-04T19:30:29.242.706.000 to 2021-08-04T19:30:29.242.995.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.609756

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.5945858 to 41.5948748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9997750  -- OK for SL --
   MIU time from 2021-08-04T19:30:47.852.751.000 to 2021-08-04T19:30:47.853.040.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.999831

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.5946498 to 58.5949388
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-04T19:31:04.852.871.000 to 2021-08-04T19:31:04.853.160.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 = 3.824489800 corrected by 40bit 10MHz counter of 3.741957700 obtained at 1Hz counter of 2. Result: 2.082532381
--
   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-08-04T19:30:10.082.390.725
   Max 1st sample MIU time among all SL packets: 2021-08-04T19:31:04.853.019.725
   Min 1st sample XO time among all SL packets: 2.082392105
   Max 1st sample XO time among all SL packets: 56.853023440
   TM values from -279 to 262 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-04T19:30:10.082.390.725 (XO: 2.082392105 - 2.082698106, t=37.2 degC)  Rank: 00085
   TM values: Max =   191  Min =  -279  Ave =    -4.43  Std =    27.41
   Min TM value:-279 at an offset of 101.125 usec -> 2021-08-04T19:30:10.082.491.850 (XO: 2.082493230)
   Max TM value:191 at an offset of 116.300 usec -> 2021-08-04T19:30:10.082.507.025 (XO: 2.082508406)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 116.100 usec -> 2021-08-04T19:30:10.082.506.825 (XO: 2.082508206)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 113.463 usec -> 2021-08-04T19:30:10.082.504.187 (XO: 2.082505568)

 - Block number: 2 starting at 2021-08-04T19:30:29.242.565.725 (XO: 21.242567925 - 21.242873926, t=37.2 degC)  Rank: 00079
   TM values: Max =   262  Min =  -272  Ave =    -4.53  Std =    25.96
   Min TM value:-272 at an offset of 113.175 usec -> 2021-08-04T19:30:29.242.678.900 (XO: 21.242681101)
   Max TM value:262 at an offset of 115.650 usec -> 2021-08-04T19:30:29.242.681.375 (XO: 21.242683576)
   Max dTM/dt [1/us]:2.29e+03 at an offset of 115.488 usec -> 2021-08-04T19:30:29.242.681.212 (XO: 21.242683413)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 112.975 usec -> 2021-08-04T19:30:29.242.678.700 (XO: 21.242680901)

 - Block number: 3 starting at 2021-08-04T19:30:47.852.610.725 (XO: 39.852613939 - 39.852919940, t=37.2 degC)  Rank: 00078
   TM values: Max =   211  Min =  -246  Ave =    -4.44  Std =    24.70
   Min TM value:-246 at an offset of 113.763 usec -> 2021-08-04T19:30:47.852.724.487 (XO: 39.852727702)
   Max TM value:211 at an offset of 116.375 usec -> 2021-08-04T19:30:47.852.727.100 (XO: 39.852730314)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 116.238 usec -> 2021-08-04T19:30:47.852.726.962 (XO: 39.852730177)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 113.638 usec -> 2021-08-04T19:30:47.852.724.362 (XO: 39.852727577)

 - Block number: 4 starting at 2021-08-04T19:31:04.852.730.725 (XO: 56.852734439 - 56.853040440, t=37.2 degC)  Rank: 00086
   TM values: Max =   227  Min =  -250  Ave =    -4.53  Std =    27.40
   Min TM value:-250 at an offset of 100.450 usec -> 2021-08-04T19:31:04.852.831.175 (XO: 56.852834889)
   Max TM value:227 at an offset of 111.263 usec -> 2021-08-04T19:31:04.852.841.987 (XO: 56.852845702)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 111.075 usec -> 2021-08-04T19:31:04.852.841.800 (XO: 56.852845514)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 100.313 usec -> 2021-08-04T19:31:04.852.831.037 (XO: 56.852834752)
