-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 16 19:05:18 2021 UTC
-- File 20210717_210744_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 0.166607 to 58.727572
-each separately from 0s to 58s and from 166607us to 727572us.
   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, ...
      29.100241 in 1 packets: 18
      13.179835 in 1 packets: 36
      16.279733 in 1 packets: 54
MIU packet time from 2021-07-17T21:07:47.166.607.000 to 2021-07-17T21:08:45.727.572.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, ...
      29.100241 in 1 packets: 18
      13.179835 in 1 packets: 36
      16.279733 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 1.8283052 to 59.8281104
   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, ...
      28.9999026 in 1 packets: 18
      12.9999563 in 1 packets: 36
      15.9999463 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210717_210744_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.9949136 to 1.9952026
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 29.1001430  -- OK for SL --
   MIU time from 2021-07-17T21:07:47.166.607.000 to 2021-07-17T21:07:47.166.896.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 29.100241

 - 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 31.0953456 to 31.0956346
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1797910  -- OK for SL --
   MIU time from 2021-07-17T21:08:16.267.137.000 to 2021-07-17T21:08:16.267.426.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.179835

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.2754256 to 44.2757146
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2796790  -- OK for SL --
   MIU time from 2021-07-17T21:08:29.447.261.000 to 2021-07-17T21:08:29.447.550.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.279733

 - 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 60.5553936 to 60.5556826
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-17T21:08:45.727.283.000 to 2021-07-17T21:08:45.727.572.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 = 0, 32bit 10MHz counter = 1.994913600 corrected by 40bit 10MHz counter of 1.828305200 obtained at 1Hz counter of 0. Result: 0.166608950
--
   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-17T21:07:47.166.466.725
   Max 1st sample MIU time among all SL packets: 2021-07-17T21:08:45.727.431.725
   Min 1st sample XO time among all SL packets: 0.166468674
   Max 1st sample XO time among all SL packets: 58.727434398
   TM values from -295 to 270 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-17T21:07:47.166.466.725 (XO: 0.166468674 - 0.166774675, t=37.2 degC)  Rank: 00082
   TM values: Max =   229  Min =  -271  Ave =    -4.61  Std =    21.55
   Min TM value:-271 at an offset of 122.750 usec -> 2021-07-17T21:07:47.166.589.475 (XO: 0.166591425)
   Max TM value:229 at an offset of 125.388 usec -> 2021-07-17T21:07:47.166.592.112 (XO: 0.166594062)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 125.225 usec -> 2021-07-17T21:07:47.166.591.950 (XO: 0.166593900)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 122.675 usec -> 2021-07-17T21:07:47.166.589.400 (XO: 0.166591350)

 - Block number: 2 starting at 2021-07-17T21:08:16.266.996.725 (XO: 29.266998406 - 29.267304407, t=37.2 degC)  Rank: 00079
   TM values: Max =   270  Min =  -283  Ave =    -4.54  Std =    26.95
   Min TM value:-283 at an offset of 122.650 usec -> 2021-07-17T21:08:16.267.119.375 (XO: 29.267121056)
   Max TM value:270 at an offset of 125.363 usec -> 2021-07-17T21:08:16.267.122.087 (XO: 29.267123769)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 125.188 usec -> 2021-07-17T21:08:16.267.121.912 (XO: 29.267123594)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 122.500 usec -> 2021-07-17T21:08:16.267.119.225 (XO: 29.267120906)

 - Block number: 3 starting at 2021-07-17T21:08:29.447.120.725 (XO: 42.447122701 - 42.447428702, t=37.2 degC)  Rank: 00081
   TM values: Max =   223  Min =  -258  Ave =    -4.59  Std =    20.51
   Min TM value:-258 at an offset of 112.075 usec -> 2021-07-17T21:08:29.447.232.800 (XO: 42.447234776)
   Max TM value:223 at an offset of 111.813 usec -> 2021-07-17T21:08:29.447.232.537 (XO: 42.447234513)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 109.700 usec -> 2021-07-17T21:08:29.447.230.425 (XO: 42.447232401)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 111.963 usec -> 2021-07-17T21:08:29.447.232.687 (XO: 42.447234663)

 - Block number: 4 starting at 2021-07-17T21:08:45.727.142.725 (XO: 58.727145397 - 58.727451398, t=37.2 degC)  Rank: 00080
   TM values: Max =   261  Min =  -295  Ave =    -4.57  Std =    32.67
   Min TM value:-295 at an offset of 122.050 usec -> 2021-07-17T21:08:45.727.264.775 (XO: 58.727267448)
   Max TM value:261 at an offset of 124.725 usec -> 2021-07-17T21:08:45.727.267.450 (XO: 58.727270123)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 119.750 usec -> 2021-07-17T21:08:45.727.262.475 (XO: 58.727265148)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 121.875 usec -> 2021-07-17T21:08:45.727.264.600 (XO: 58.727267273)
