-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 28 00:31:14 2021 UTC
-- File 20210828_173737_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 1.511566 to 46.440966
-each separately from 1s to 46s and from 230704us to 511855us.
   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, ...
      27.909069 in 1 packets: 18
      10.809491 in 1 packets: 36
      6.209684 in 1 packets: 54
MIU packet time from 2021-08-28T17:37:41.511.566.000 to 2021-08-28T17:38:26.440.966.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, ...
      27.909069 in 1 packets: 18
      10.809491 in 1 packets: 36
      6.209684 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 2.9407064 to 47.9405559
   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, ...
      27.9999063 in 1 packets: 18
      10.9999632 in 1 packets: 36
      5.9999800 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      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 20210828_173737_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.4522733 to 3.4525623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.9089750  -- OK for SL --
   MIU time from 2021-08-28T17:37:41.511.566.000 to 2021-08-28T17:37:41.511.855.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.909069

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.3615373 to 31.3618263
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8094550  -- OK for SL --
   MIU time from 2021-08-28T17:38:09.420.924.000 to 2021-08-28T17:38:09.421.213.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.809491

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.1712813 to 42.1715703
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.2096630  -- OK for SL --
   MIU time from 2021-08-28T17:38:20.230.704.000 to 2021-08-28T17:38:20.230.993.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.209684

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.3812333 to 48.3815223
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-28T17:38:26.440.677.000 to 2021-08-28T17:38:26.440.966.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 = 1, 32bit 10MHz counter = 3.452273300 corrected by 40bit 10MHz counter of 2.940706400 obtained at 1Hz counter of 1. Result: 1.511568588
--
   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-28T17:37:41.511.425.725
   Max 1st sample MIU time among all SL packets: 2021-08-28T17:38:26.440.825.725
   Min 1st sample XO time among all SL packets: 1.511428313
   Max 1st sample XO time among all SL packets: 46.440827580
   TM values from -273 to 264 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-28T17:37:41.511.425.725 (XO: 1.511428313 - 1.511734314, t=37.2 degC)  Rank: 00075
   TM values: Max =   232  Min =  -269  Ave =    -4.57  Std =    27.86
   Min TM value:-269 at an offset of 185.138 usec -> 2021-08-28T17:37:41.511.610.863 (XO: 1.511613451)
   Max TM value:232 at an offset of 130.700 usec -> 2021-08-28T17:37:41.511.556.425 (XO: 1.511559013)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 182.676 usec -> 2021-08-28T17:37:41.511.608.400 (XO: 1.511610988)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 184.976 usec -> 2021-08-28T17:37:41.511.610.700 (XO: 1.511613288)

 - Block number: 2 starting at 2021-08-28T17:38:09.420.783.725 (XO: 29.420785756 - 29.421091757, t=37.2 degC)  Rank: 00075
   TM values: Max =   218  Min =  -230  Ave =    -4.44  Std =    22.49
   Min TM value:-230 at an offset of 126.425 usec -> 2021-08-28T17:38:09.420.910.150 (XO: 29.420912181)
   Max TM value:218 at an offset of 129.088 usec -> 2021-08-28T17:38:09.420.912.812 (XO: 29.420914844)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 128.975 usec -> 2021-08-28T17:38:09.420.912.700 (XO: 29.420914731)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 113.675 usec -> 2021-08-28T17:38:09.420.897.400 (XO: 29.420899431)

 - Block number: 3 starting at 2021-08-28T17:38:20.230.563.725 (XO: 40.230565886 - 40.230871887, t=37.2 degC)  Rank: 00086
   TM values: Max =   264  Min =  -273  Ave =    -4.51  Std =    22.98
   Min TM value:-273 at an offset of 126.463 usec -> 2021-08-28T17:38:20.230.690.187 (XO: 40.230692349)
   Max TM value:264 at an offset of 124.425 usec -> 2021-08-28T17:38:20.230.688.150 (XO: 40.230690311)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 124.263 usec -> 2021-08-28T17:38:20.230.687.987 (XO: 40.230690149)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 126.350 usec -> 2021-08-28T17:38:20.230.690.075 (XO: 40.230692236)

 - Block number: 4 starting at 2021-08-28T17:38:26.440.536.725 (XO: 46.440538579 - 46.440844580, t=37.2 degC)  Rank: 00087
   TM values: Max =   234  Min =  -259  Ave =    -4.53  Std =    25.96
   Min TM value:-259 at an offset of 114.325 usec -> 2021-08-28T17:38:26.440.651.050 (XO: 46.440652904)
   Max TM value:234 at an offset of 114.050 usec -> 2021-08-28T17:38:26.440.650.775 (XO: 46.440652629)
   Max dTM/dt [1/us]:2.43e+03 at an offset of 116.700 usec -> 2021-08-28T17:38:26.440.653.425 (XO: 46.440655279)
   Min dTM/dt [1/us]:-2.55e+03 at an offset of 114.163 usec -> 2021-08-28T17:38:26.440.650.887 (XO: 46.440652742)
