-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 10 04:23:21 2022 UTC
-- File 20210913_103457_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 7.606678 to 52.426925
-each separately from 7s to 52s and from 306641us to 746791us.
   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.139535 in 1 packets: 18
      17.559850 in 1 packets: 36
      8.119706 in 1 packets: 54
MIU packet time from 2021-09-13T10:35:07.606.678.000 to 2021-09-13T10:35:52.426.925.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.139535 in 1 packets: 18
      17.559850 in 1 packets: 36
      8.119706 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 8.9021911 to 53.9020416
   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.9999368 in 1 packets: 18
      17.9999402 in 1 packets: 36
      7.9999735 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 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 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210913_103457_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5088704 to 9.5091594
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1394710  -- OK for SL --
   MIU time from 2021-09-13T10:35:07.606.678.000 to 2021-09-13T10:35:07.606.967.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.139535

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.6486304 to 28.6489194
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5597910  -- OK for SL --
   MIU time from 2021-09-13T10:35:26.746.502.000 to 2021-09-13T10:35:26.746.791.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.559850

 - 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 46.2087104 to 46.2089994
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.1196790  -- OK for SL --
   MIU time from 2021-09-13T10:35:44.306.641.000 to 2021-09-13T10:35:44.306.930.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.119706

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.3286784 to 54.3289674
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-13T10:35:52.426.636.000 to 2021-09-13T10:35:52.426.925.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 = 7, 32bit 10MHz counter = 9.508870400 corrected by 40bit 10MHz counter of 8.902191100 obtained at 1Hz counter of 7. Result: 7.606681302
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-13T10:35:07.606.537.725
   Max 1st sample MIU time among all SL packets: 2021-09-13T10:35:52.426.784.725
   Min 1st sample XO time among all SL packets: 7.606541027
   Max 1st sample XO time among all SL packets: 52.426786933
   TM values from -243 to 187 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-13T10:35:07.606.537.725 (XO: 7.606541027 - 7.606847028, t=37.2 degC)  Rank: 00083
   TM values: Max =   178  Min =  -243  Ave =    -4.53  Std =    20.42
   Min TM value:-243 at an offset of 120.838 usec -> 2021-09-13T10:35:07.606.658.562 (XO: 7.606661864)
   Max TM value:178 at an offset of 120.538 usec -> 2021-09-13T10:35:07.606.658.262 (XO: 7.606661564)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 123.263 usec -> 2021-09-13T10:35:07.606.660.987 (XO: 7.606664289)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 120.650 usec -> 2021-09-13T10:35:07.606.658.375 (XO: 7.606661677)

 - Block number: 2 starting at 2021-09-13T10:35:26.746.361.725 (XO: 26.746364688 - 26.746670689, t=37.2 degC)  Rank: 00085
   TM values: Max =   187  Min =  -225  Ave =    -4.54  Std =    28.85
   Min TM value:-225 at an offset of 196.026 usec -> 2021-09-13T10:35:26.746.557.750 (XO: 26.746560714)
   Max TM value:187 at an offset of 154.726 usec -> 2021-09-13T10:35:26.746.516.450 (XO: 26.746519414)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 198.488 usec -> 2021-09-13T10:35:26.746.560.213 (XO: 26.746563176)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 195.901 usec -> 2021-09-13T10:35:26.746.557.625 (XO: 26.746560589)

 - Block number: 3 starting at 2021-09-13T10:35:44.306.500.725 (XO: 44.306503036 - 44.306809037, t=37.2 degC)  Rank: 00078
   TM values: Max =   182  Min =  -238  Ave =    -4.65  Std =    24.74
   Min TM value:-238 at an offset of 120.263 usec -> 2021-09-13T10:35:44.306.620.987 (XO: 44.306623299)
   Max TM value:182 at an offset of 122.913 usec -> 2021-09-13T10:35:44.306.623.637 (XO: 44.306625949)
   Max dTM/dt [1/us]:1.51e+03 at an offset of 122.713 usec -> 2021-09-13T10:35:44.306.623.437 (XO: 44.306625749)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 120.125 usec -> 2021-09-13T10:35:44.306.620.850 (XO: 44.306623162)

 - Block number: 4 starting at 2021-09-13T10:35:52.426.495.725 (XO: 52.426497932 - 52.426803933, t=37.2 degC)  Rank: 00077
   TM values: Max =   179  Min =  -218  Ave =    -4.53  Std =    18.12
   Min TM value:-218 at an offset of 120.625 usec -> 2021-09-13T10:35:52.426.616.350 (XO: 52.426618558)
   Max TM value:179 at an offset of 123.250 usec -> 2021-09-13T10:35:52.426.618.975 (XO: 52.426621183)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 123.050 usec -> 2021-09-13T10:35:52.426.618.775 (XO: 52.426620983)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 120.400 usec -> 2021-09-13T10:35:52.426.616.125 (XO: 52.426618333)
